From 25ba0980e71c958a661acbd149763079059b3922 Mon Sep 17 00:00:00 2001 From: zrg <z18737863051@163.com> Date: 星期一, 11 十一月 2024 13:38:54 +0800 Subject: [PATCH] 出站单增加字段 HMachineWorkTimes 设备工时 --- WebAPI/Controllers/条码管理/WEBSController.cs | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" index c4b3d3b..70c86d5 100644 --- "a/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" +++ "b/WebAPI/Controllers/\346\235\241\347\240\201\347\256\241\347\220\206/WEBSController.cs" @@ -1208,11 +1208,11 @@ /// <returns></returns> [Route("WEBSController/GetSourceBillList_Json")] [HttpGet] - public object GetSourceBillList_Json(string HBillType, string HSourceBillType, Int64 HStockOrgID, string HSourceBillNo, string HMater) + public object GetSourceBillList_Json(string HBillType, string HSourceBillType, Int64 HStockOrgID, string HSourceBillNo, string HMater, string HCustom) { try { - ds = oCn.RunProcReturn("exec h_p_WMS_GetSourceBillList '" + HBillType + "','" + HSourceBillType + "'," + HStockOrgID.ToString() + ",'" + HSourceBillNo + "', '" + HMater + "'", "h_p_WMS_GetSourceBillList"); + ds = oCn.RunProcReturn("exec h_p_WMS_GetSourceBillList '" + HBillType + "','" + HSourceBillType + "'," + HStockOrgID.ToString() + ",'" + HSourceBillNo + "','" + HMater + "','" + HCustom + "'", "h_p_WMS_GetSourceBillList"); if (ds == null || ds.Tables[0].Rows.Count == 0) { objJsonResult.code = "0"; @@ -2323,6 +2323,10 @@ { websLsmain.HMainSourceBillType = "鐢熶骇澶囨枡鍗�"; } + else if (lsmain[0].HMainSourceBillType == "3710") + { + websLsmain.HMainSourceBillType = "鐢熶骇璁㈠崟"; + } else { websLsmain.HMainSourceBillType = "鎵嬪伐褰曞叆"; @@ -2332,6 +2336,11 @@ websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID; websLsmain.HOWNERID = lsmain[0].HSTOCKORGID; + if(sSourceType== "3710") + { + sSourceType = "3720"; + } + if (oWebs.set_SaveMateOutBill_New(websLsmain, sSourceType, ref DBUtility.ClsPub.sErrInfo)) { objJsonResult.code = "0"; -- Gitblit v1.9.1