From c553ea3eaa813bdf80297e1223ff192ae49dde17 Mon Sep 17 00:00:00 2001 From: duhe <226547893@qq.com> Date: 星期四, 05 九月 2024 14:59:00 +0800 Subject: [PATCH] 销售订单、销售出库单:根据用户权限觉得是否显示指定列 --- WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs | 34 ++++++++++++++++++++++++++++++++++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs b/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs index 5c5ebd7..38bf0cb 100644 --- a/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs +++ b/WebAPI/Controllers/XSGL/Xs_SeOrderBillController.cs @@ -3290,5 +3290,39 @@ } } #endregion + + #region 閿�鍞鍗� 鍒ゆ柇鏄惁鍏峰鏌ョ湅閲戦鏉冮檺 + [Route("Xs_SeOrderBill/CheckRight_Money")] + [HttpGet] + public object CheckRight_Money(string user) + { + try + { + //鍒ゆ柇鏌ヨ鏉冮檺 + if (!DBUtility.ClsPub.Security_Log("Xs_SeOrderBill_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 } } \ No newline at end of file -- Gitblit v1.9.1