From d39e6a7dcb32ab0d8dd4e087106cfd8f6307823b Mon Sep 17 00:00:00 2001
From: yangle <admin@YINMOU>
Date: 星期三, 06 三月 2024 15:35:31 +0800
Subject: [PATCH] 设备档案列表 增加 左边树形 器具分类,点击分类,根据分类来过滤,方便选择 设备档案分类 的基础资料 完善禁用 反禁用按钮

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

diff --git a/WebAPI/Controllers/ProductInController.cs b/WebAPI/Controllers/ProductInController.cs
index d7b2890..d134bff 100644
--- a/WebAPI/Controllers/ProductInController.cs
+++ b/WebAPI/Controllers/ProductInController.cs
@@ -1249,12 +1249,30 @@
                 clsKf_ProductInBillMain.HDeptID = list[0].HDeptID;
                 clsKf_ProductInBillMain.HEmpID = list[0].HEmpID;
                 clsKf_ProductInBillMain.HKeeperID = list[0].HKeeperID;
+                clsKf_ProductInBillMain.HSecManagerID = list[0].HSecManagerID;
                 clsKf_ProductInBillMain.HRemark = list[0].HRemark;
                 clsKf_ProductInBillMain.HMaker = list[0].HMaker;
+                clsKf_ProductInBillMain.HBillerID = list[0].HBillerID;
                 clsKf_ProductInBillMain.HWHID = list[0].HWHID;
                 clsKf_ProductInBillMain.HSupID = list[0].HSupID;
                 clsKf_ProductInBillMain.HExplanation = list[0].HExplanation;
                 clsKf_ProductInBillMain.HBillType = "1202";
+                if (list[0].HBillType == "3714")
+                {
+                    clsKf_ProductInBillMain.HMainSourceBillType = "宸ュ簭姹囨姤鍗�";
+                }
+                else if (list[0].HBillType == "3711")
+                {
+                    clsKf_ProductInBillMain.HMainSourceBillType = "鐢熶骇姹囨姤鍗�";
+                }
+                else if (list[0].HBillType == "3710")
+                {
+                    clsKf_ProductInBillMain.HMainSourceBillType = "鐢熶骇璁㈠崟";
+                }
+                else
+                {
+                    clsKf_ProductInBillMain.HMainSourceBillType = "鎵嬪伐褰曞叆";
+                }
                 bool flag = this.webserver.set_SaveProductInBill_New(clsKf_ProductInBillMain, hbillType, ref ClsPub.sErrInfo);
                 if (flag)
                 {

--
Gitblit v1.9.1