From 9a22968dfc75024a852bb0b64dd6a6cb461be80a Mon Sep 17 00:00:00 2001
From: 仲国强 <519541279@qq.com>
Date: 星期五, 17 九月 2021 16:30:09 +0800
Subject: [PATCH] 工序单保存后判断是否自动新增。

---
 WebAPI/Controllers/POStockInBillController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/POStockInBillController.cs b/WebAPI/Controllers/POStockInBillController.cs
index 401da54..c428c7d 100644
--- a/WebAPI/Controllers/POStockInBillController.cs
+++ b/WebAPI/Controllers/POStockInBillController.cs
@@ -213,7 +213,7 @@
                 }
                 else if (HSourceBillType == "1103")
                 {
-                    ds = webserver.GetCg_PoInStockBillList(sWhere + "  and isnull(HBillSubType,0)=12510 ");
+                    ds = webserver.GetCg_PoInStockBillList(sWhere + "");
                 }
                 else
                 {
@@ -572,10 +572,10 @@
                 websLsmain.HManagerID = 0;
                 websLsmain.HBillerID = lsmain[0].HBillerID;
                 websLsmain.HRemark = "";
-                websLsmain.HExplanation = "";
                 websLsmain.HInnerBillNo = "";
                 websLsmain.HRedBlueFlag = false;//false钃濆瓧 true绾㈠瓧
                 websLsmain.HMainSourceBillType = lsmain[0].HBillType;
+                websLsmain.HExplanation = lsmain[0].HExplanation;
 
 
                 if (webserver.set_SavePOStockInBill_New(websLsmain, sSourceBillType, ref DBUtility.ClsPub.sErrInfo))

--
Gitblit v1.9.1