From fa8310bfd01c7f3123077d6d2f6a96a92645a034 Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 09 四月 2026 08:43:30 +0800
Subject: [PATCH] 板材填了就减少库存   根据  板材规格    数量(张)和  发版套数  算出库存需要减少的量,减少库存  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs
index 36c9eca..b690a64 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/personnel/StaffQuanxianshezhi.aspx.cs
@@ -107,9 +107,13 @@
                 else if (type.ToInt32() == 7)
                 {
                     this.types.InnerText = "鍏枃鏉冮檺锛�";
-                    this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_Isbaoxiaojingli ? "True" : "False";
+                    this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_IsGongwen.HasValue&&m_OA_Staff.BF_IsGongwen.Value ? "True" : "False";
                 }
-
+                else if (type.ToInt32() == 8)
+                {
+                    this.types.InnerText = "甯哥敤璧勬枡鏉冮檺锛�";
+                    this.IsBusinessManager.SelectedValue = m_OA_Staff.BF_IsChangyongziliao.HasValue&& m_OA_Staff.BF_IsChangyongziliao.Value ? "True" : "False";
+                }
 
             }
                  
@@ -153,6 +157,10 @@
                 {
                     m_OA_Staff.BF_IsGongwen = this.IsBusinessManager.SelectedValue.ToBoolean2();
                 }
+                else if (type.ToInt32() == 8)
+                {
+                    m_OA_Staff.BF_IsChangyongziliao = this.IsBusinessManager.SelectedValue.ToBoolean2();
+                }
 
 
 

--
Gitblit v1.9.1