From 1818e4c439221ff459a87844f53199bb0f07e8cb Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期一, 05 六月 2023 09:22:08 +0800 Subject: [PATCH] 出站单列表增加多选审核功能,增加判断条件,反审核人和审核人必须是同一个 --- WebAPI/Controllers/CJGL/Cj_StationInBillController.cs | 19 ++++++++++++++++++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs index 0daf31a..71507cb 100644 --- a/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs +++ b/WebAPI/Controllers/CJGL/Cj_StationInBillController.cs @@ -136,6 +136,23 @@ objJsonResult.data = null; return objJsonResult; } + string sReturn = ""; + if (oSystemParameter.ShowBill(ref sReturn) == true) + { + if (oSystemParameter.omodel.WMS_CampanyName == "涔斾竴") //绯荤粺鍙傛暟 鍒ゆ柇瀹㈡埛 + { + //鍒ゆ柇鐢熶骇璧勬簮 + if (HSourceID <= 0) + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鐢熶骇璧勬簮娌℃湁閫夋嫨锛�"; + objJsonResult.data = null; + return objJsonResult; + } + } + } + if (HCenterID <= 0) { objJsonResult.code = "0"; @@ -305,7 +322,7 @@ } oCN.Commit(); - string sReturn = ""; + if (oSystemParameter.ShowBill(ref sReturn) == true) { if (oSystemParameter.omodel.MES_StationInBill_SaveAutoAddnew == "Y") //绯荤粺鍙傛暟 鑷姩瀹℃牳 -- Gitblit v1.9.1