From bc6ac881fd5cb8cd71f27b28394977d1e200da3e Mon Sep 17 00:00:00 2001 From: YL <YL@LAPTOP-SE03PLUR> Date: 星期二, 21 十二月 2021 15:15:52 +0800 Subject: [PATCH] Merge branch 'master' of http://101.37.171.70:10101/r/MES-WEB-API --- WebAPI/Controllers/ProductInController.cs | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/ProductInController.cs b/WebAPI/Controllers/ProductInController.cs index af06fd8..83525b9 100644 --- a/WebAPI/Controllers/ProductInController.cs +++ b/WebAPI/Controllers/ProductInController.cs @@ -219,6 +219,10 @@ { ds = webserver.GetSc_ICMOBillList(sWhere + " "); } + if (HSourceBillType == "3711") + { + ds = webserver.GetSc_ICMOReportBillList(sWhere + " "); + } else { objJsonResult.code = "0"; @@ -465,6 +469,7 @@ //string sSourceBillType = lsmain[0].HBillType; //BLL.ClsKf_ProductInBill bll = new BLL.ClsKf_ProductInBill(); //return bll.set_SaveProductInBill_New(lsmain[0], sSourceBillType, ref DBUtility.ClsPub.sErrInfo); + try { List<Model.ClsKf_ProductInBillMain> lsmain = new List<Model.ClsKf_ProductInBillMain>(); @@ -485,6 +490,8 @@ websLsmain.HMaker = lsmain[0].HMaker; websLsmain.HWHID = lsmain[0].HWHID; websLsmain.HSupID = lsmain[0].HSupID; + websLsmain.HExplanation = lsmain[0].HExplanation; + if (webserver.set_SaveProductInBill_New(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo)) { -- Gitblit v1.9.1