From f1e01b3972fe8dbe3e823c519bf1317d1c524a02 Mon Sep 17 00:00:00 2001
From: duhe <226547893@qq.com>
Date: 星期三, 28 二月 2024 16:31:25 +0800
Subject: [PATCH] (已完成-普通)删除客户时,若客户存在关联的销售订单、销售出库单、生产订单,报错修改。

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

diff --git a/WebAPI/Controllers/OtherInStockController.cs b/WebAPI/Controllers/OtherInStockController.cs
index 697bc26..5b9d435 100644
--- a/WebAPI/Controllers/OtherInStockController.cs
+++ b/WebAPI/Controllers/OtherInStockController.cs
@@ -354,6 +354,8 @@
                 websLsmain.HSTOCKORGID = lsmain[0].HSTOCKORGID;
                 websLsmain.HOWNERID = lsmain[0].HSTOCKORGID;
                 websLsmain.HKeeperID = lsmain[0].HKeeperID;
+                websLsmain.HSecManagerID = lsmain[0].HSecManagerID;
+                websLsmain.HBillerID = lsmain[0].HBillerID;
                 websLsmain.HBillType = "1203";//鍥哄畾鍊�
                 websLsmain.HBillSubType = lsmain[0].HBillSubType;
 

--
Gitblit v1.9.1