From 51aebb52e3f964ad5d0e96c6b92ae8e455b24ceb Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 10 四月 2026 13:08:17 +0800
Subject: [PATCH] 需要修改的,   不选板材,直接按照板材规格扣减库存。  发版套数不填的话就是1.  扣减库存的量就是  数量*发版套数 20260410  试卷 6年级添加 答题卡 选项  完成

---
 CY_ECommercePlatform/CY.WebForm/Pages/front/NewsPaper.aspx.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/front/NewsPaper.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/front/NewsPaper.aspx.cs
index 629d311..49edfea 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/front/NewsPaper.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/front/NewsPaper.aspx.cs
@@ -19,9 +19,10 @@
                 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 == 10000);
                 this.ysUnit.DataBind();
-                this.ysUnit.Value = "1";
+                this.ysUnit.Items.Insert(0, new ListItem("鏃�", "0"));
+                //this.ysUnit.Value = "2";
             }
         }
     }

--
Gitblit v1.9.1