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/front/BlackAndWhite.aspx.cs |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/front/BlackAndWhite.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/front/BlackAndWhite.aspx.cs
index d1f5a37..2d2abda 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/front/BlackAndWhite.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/front/BlackAndWhite.aspx.cs
@@ -1,4 +1,5 @@
-锘縰sing System;
+锘縰sing CY.BLL.Sys;
+using System;
 using System.Collections.Generic;
 using System.Linq;
 using System.Web;
@@ -15,7 +16,12 @@
             if (!IsPostBack)
             {
                 if (Request["PrintTypeId"] != null)
-                PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
+                    PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
+
+                Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//瀛楀吀涓氬姟閫昏緫鎿嶄綔绫诲璞�
+                this.ysUnit.DataSource = _sys_DictionaryBLL.GetDataByType("鍗板埛鍗曚綅");
+                this.ysUnit.DataBind();
+                this.ysUnit.Value = "1";
             }
         }
     }

--
Gitblit v1.9.1