From 7f5fd4b07afcf2f41371829d3f9774b2618d5916 Mon Sep 17 00:00:00 2001 From: yxj <1qaz@123> Date: 星期五, 26 十一月 2021 16:16:22 +0800 Subject: [PATCH] 1 --- WebAPI/WebServer.cs | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/WebAPI/WebServer.cs b/WebAPI/WebServer.cs index 29f5db2..6509869 100644 --- a/WebAPI/WebServer.cs +++ b/WebAPI/WebServer.cs @@ -3991,6 +3991,25 @@ //sErrMsg = "淇濆瓨璋冩嫧鍗曞け璐ワ紒" + sErrMsg; //return false; } + + public bool set_MoveStockStepOutBill(WebAPI.WebS.ClsKf_MoveStockStepOutBillMain oMain, string sHSourceType, ref string sErrMsg) + { + WebS.WebService1 oWebs = new WebS.WebService1(); + if (oWebs.set_SaveMoveStockStepOutBill_New(oMain, sHSourceType, ref sErrMsg)) + { + sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo; + return true; + } + else + { + sErrMsg = "鍗曟嵁鍙凤細" + oMain.HBillNo + ", 鍗曟嵁ID锛�" + oMain.HInterID + ";" + sErrMsg; + return false; + } + + + } + + //鍒犻櫎璁板綍 public bool set_DelPonderationBillMain_Temp_InterIDAndSource(long HInterID, long HMaterID, long HAuxPropID, string HMTONo, long HSourceInterID, long HSourceEntryID, string sHBillType, ref string sErrMsg) { @@ -4487,6 +4506,33 @@ } } + public bool set_SaveICMOReportBill_Json(WebAPI.WebS.ClsSc_ICMOReportBillMain oMain, string sHSourceType, ref string sErrMsg) + { + //BLL.ClsKf_POStockInBill bll = new BLL.ClsKf_POStockInBill(); + //return bll.set_SavePOStockInBill_New(oMain, sHSourceType, ref DBUtility.ClsPub.sExeReturnInfo); + WebS.WebService1 oWebs = new WebS.WebService1(); + if (oWebs.set_SaveICMOReportBill_New(oMain, sHSourceType, ref sErrMsg)) + { + //鍒ゆ柇鏄惁鍙嶅啓鎴愬姛 + //if (set_UpdateHStatus(oMain.HInterID, oMain.HExplanation.ToString())) + //{ + sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo; + return true; + //} + //else + //{ + // sErrMsg = "淇濆瓨鎴愬姛锛�" + oMain.HBillNo + "鐘舵�佸弽鍐欏け璐ワ紒"; + // return true; + //} + } + else + { + sErrMsg = "鍗曟嵁鍙凤細" + oMain.HBillNo + ", 鍗曟嵁ID锛�" + oMain.HInterID + ";" + sErrMsg; + return false; + } + } + + /// <summary> /// 鐢熸垚澶栬喘鍏ュ簱鍗昁3 /// </summary> -- Gitblit v1.9.1