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

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/front/DeskCalendar.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/front/DeskCalendar.aspx.cs
index 36a1661..4e63ba9 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/front/DeskCalendar.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/front/DeskCalendar.aspx.cs
@@ -19,7 +19,7 @@
                 PrintTypeId = int.Parse(Request["PrintTypeId"].ToString());
 
                 Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//瀛楀吀涓氬姟閫昏緫鎿嶄綔绫诲璞�
-                this.ysUnit.DataSource = _sys_DictionaryBLL.GetDataByType("鍗板埛鍗曚綅");
+                this.ysUnit.DataSource = _sys_DictionaryBLL.GetDataByType("鍗板埛鍗曚綅").Where(x => x.MeanValue == 1);
                 this.ysUnit.DataBind();
                 this.ysUnit.Value = "1";
             }

--
Gitblit v1.9.1