| | |
| | | } |
| | | #endregion |
| | | |
| | | #region 销售出库单 判断是否具备查看金额权限 |
| | | [Route("Kf_SellOutBill/CheckRight_Money")] |
| | | [HttpGet] |
| | | public object CheckRight_Money(string user) |
| | | { |
| | | try |
| | | { |
| | | //判断查询权限 |
| | | if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBill_Money", 1, false, user)) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "无权限查询!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | |
| | | objJsonResult.code = "1"; |
| | | objJsonResult.count = 1; |
| | | objJsonResult.Message = "Sucess!"; |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | objJsonResult.code = "0"; |
| | | objJsonResult.count = 0; |
| | | objJsonResult.Message = "Exception!" + e.ToString(); |
| | | objJsonResult.data = null; |
| | | return objJsonResult; |
| | | } |
| | | } |
| | | #endregion |
| | | } |
| | | } |