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/work/MyRequestDetail.aspx.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
index 94d0f6d..a74bd8e 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/work/MyRequestDetail.aspx.cs
@@ -23,10 +23,13 @@
         OA_WorkPlanBll oA_WorkReminderBll = null;
         public string planDataType = "";
         OA_WorkPlan_attachmentBLL oA_WorkPlan_AttachmentBLL = null;
+        OA_FukuanshenqingBLL _oA_FukuanshenqingBLL = null;
+        public string DindanId = "";
         public MyRequestDetail()
         {
             oA_WorkReminderBll = new OA_WorkPlanBll();
             oA_WorkPlan_AttachmentBLL = new OA_WorkPlan_attachmentBLL();
+            _oA_FukuanshenqingBLL = new OA_FukuanshenqingBLL();
         }
 
         //椤甸潰鍔犺浇
@@ -58,6 +61,12 @@
                 {
                     this.RepClientList.DataSource = oA_WorkPlan_AttachmentBLL.GetModelByKaipiaoIdandType(Request["keyid"].ToInt32().Value, 14);
                     this.RepClientList.DataBind();
+
+                    var fukuanshenqing = _oA_FukuanshenqingBLL.GetModelByKeyid(m_OA_WorkPlan.PlanComplany.ToInt32().Value);
+                    if (fukuanshenqing != null)
+                    {
+                        DindanId = fukuanshenqing.DindanId;
+                    }
                 }
                 else if (m_OA_WorkPlan.PlanDataType == 15)
                 {

--
Gitblit v1.9.1