From c064b9124554626cd3c386a2648a8008d3efc44c Mon Sep 17 00:00:00 2001 From: wtt <1985833171@qq.com> Date: 星期二, 15 十月 2024 15:20:06 +0800 Subject: [PATCH] 考勤汇报单列表、 异常工时申请单列表、 定额申请单列表 客户列表, 供应商列表 分页 --- WebAPI/Controllers/条码管理/WEBSController.cs | 23 ++++++++++++++++++++--- 1 files changed, 20 insertions(+), 3 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..6ee3a96 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" @@ -16,7 +16,6 @@ using WebAPI; using WebAPI.Models; using WebAPI.Service; - namespace WebAPI.Controllers { public class WEBSController : ApiController @@ -1208,11 +1207,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"; @@ -1897,6 +1896,15 @@ if (oWebs.set_SaveICMOReportBill_New(websLsmain, sSourceType, ref DBUtility.ClsPub.sErrInfo)) { + string sReturn = ""; + if (oSystemParameter.ShowBill(ref sReturn) == true) + { + if (oSystemParameter.omodel.MES_StationOutBill_AutoCheck == "Y") //绯荤粺鍙傛暟 鑷姩瀹℃牳 + { + Cj_StationOutBillController cj_StationOutBillController = new Cj_StationOutBillController(); + object objResult = cj_StationOutBillController.set_CheckBill(lsmain[0].HInterID.ToString(), lsmain[0].HMaker, "3791"); + } + } objJsonResult.code = "0"; objJsonResult.count = 1; objJsonResult.Message = DBUtility.ClsPub.sErrInfo; //鎴愬姛锛� @@ -2323,6 +2331,10 @@ { websLsmain.HMainSourceBillType = "鐢熶骇澶囨枡鍗�"; } + else if (lsmain[0].HMainSourceBillType == "3710") + { + websLsmain.HMainSourceBillType = "鐢熶骇璁㈠崟"; + } else { websLsmain.HMainSourceBillType = "鎵嬪伐褰曞叆"; @@ -2332,6 +2344,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