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

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs
index c96ed87..54b8789 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs
@@ -475,7 +475,8 @@
                 this.selPayStates.DataSource = _sys_DictionaryBLL.GetDataByType("EC_璁㈠崟鏀粯鐘舵��");
                 this.selPayStates.DataBind();
                 this.selPayStates.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
-                this.selPayStates.Value = "0";
+                //this.selPayStates.Value = "0";
+                this.selKaipiaoshenqing.Value = "2"; 
 
                 //this.selOrderStates.DataSource = _sys_DictionaryBLL.GetDataByType("EC_璁㈠崟鐘舵��").Where(p => p.MeanValue.Value != -5 && p.MeanValue.Value != -4);
                 //this.selOrderStates.DataBind();
@@ -551,6 +552,7 @@
             SetParamValue(searchParam, 19, CurrentUser.TrueMemberId);
             SetParamValue(searchParam, 20, CurrentUser.StaffId);
             SetParamValue(searchParam, 21, CurrentUser.TrueName);
+            SetParamValue(searchParam, 24, this.selKaipiaoshenqing.Value);
             SearchParam = searchParam;
 
 
@@ -562,7 +564,7 @@
                 PageSize = 500,// UCPager1.AspNetPager.PageSize,
                 PageIndex = 1// UCPager1.AspNetPager.CurrentPageIndex
             };
-            IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Seller(pagination, SearchParam);//.Where(x => x.OrderState != 0) .Where(x=>x.Quchudingdan == 2);
+            IEnumerable<EC_OrderBasic> result = _eC_OrderBasicBLL.SelectModelPage_Seller(pagination, SearchParam).Where(x=>x.OrderState != 0);//.Where(x => x.OrderState != 0) .Where(x=>x.Quchudingdan == 2);
             rptData.DataSource = result;
             rptData.DataBind();
 

--
Gitblit v1.9.1