From dfd0831df7b8245b7af6b6be28efd18b29fab17d Mon Sep 17 00:00:00 2001 From: zzr99 <1940172413@qq.com> Date: 星期三, 19 一月 2022 18:02:51 +0800 Subject: [PATCH] 条码拆码+工时单+器具权限 --- WebAPI/Controllers/CJGL/Cj_StationInBillController.cs | 18 +++++++++++++++--- 1 files changed, 15 insertions(+), 3 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs index be72d2a..a3e5a06 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs @@ -276,6 +276,18 @@ } oCN.Commit(); + string sReturn = ""; + if (oSystemParameter.ShowBill(ref sReturn) == true) + { + if (oSystemParameter.omodel.MES_StationInBill_SaveAutoAddnew == "Y") //绯荤粺鍙傛暟 鑷姩瀹℃牳 + { + objJsonResult.Verify = "Y"; + } + else + { + objJsonResult.Verify = "N"; + } + } objJsonResult.code = "1"; objJsonResult.count = 1; objJsonResult.Message = "鏂板鍗曟嵁鎴愬姛锛�"; @@ -348,7 +360,7 @@ } #endregion - #region 杩斿洖濮斿宸ュ簭鎺ユ敹鍗曞垪琛� + #region 杩斿洖宸ュ簭杩涚珯鎺ユ敹鍗曞垪琛� [Route("Cj_StationInBill/get_Display")] [HttpGet] public object get_Display(string sWhere) @@ -482,7 +494,7 @@ { string ModRightNameCheck = "MES_StationInBill_Check"; //瀹℃牳鏉冮檺 - if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, true,CurUserName)) + if (!DBUtility.ClsPub.Security_Log(ModRightNameCheck, 1, false,CurUserName)) { objJsonResult.code = "0"; objJsonResult.count = 0; @@ -779,7 +791,7 @@ { //缂栬緫鏉冮檺 - if (!DBUtility.ClsPub.Security_Log("MES_StationInBill_Delete", 1, true, HDeleteMan)) + if (!DBUtility.ClsPub.Security_Log("MES_StationInBill_Delete", 1, false, HDeleteMan)) { objJsonResult.code = "0"; objJsonResult.count = 0; -- Gitblit v1.9.1