From 73b0bd21324fac6244493c42e8ee8a145d2c3bf3 Mon Sep 17 00:00:00 2001
From: 王 垚 <1402714037@qq.com>
Date: 星期二, 09 十一月 2021 13:31:33 +0800
Subject: [PATCH] 采购订单 发布成功后的撤销功能

---
 WebAPI/Controllers/ProductInController.cs |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/ProductInController.cs b/WebAPI/Controllers/ProductInController.cs
index 92b7145..c648fca 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";
@@ -483,6 +487,10 @@
                 websLsmain.HEmpID = lsmain[0].HEmpID;
                 websLsmain.HRemark = lsmain[0].HRemark;
                 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