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 |   23 +++++++++++++----------
 1 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs
index a1dbd80..54b8789 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderListBatchKaipiao.aspx.cs
@@ -463,18 +463,20 @@
                 Sys_DictionaryBLL _sys_DictionaryBLL = new Sys_DictionaryBLL();//瀛楀吀涓氬姟閫昏緫鎿嶄綔绫诲璞�
                 SysInquiry_PrintingTypeBLL _sysInquiry_PrintingTypeBLL = new SysInquiry_PrintingTypeBLL();//鍗板埛涓氬姟绫诲瀷涓氬姟閫昏緫鎿嶄綔绫诲璞�
 
-                this.selPrintTypes.DataSource = _sysInquiry_PrintingTypeBLL.SelectUsedModles();
-                this.selPrintTypes.DataBind();
-                this.selPrintTypes.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
-                this.selPrintTypes.Items.Add(new ListItem("鍏朵粬", "-1"));
+                //this.selPrintTypes.DataSource = _sysInquiry_PrintingTypeBLL.SelectUsedModles();
+                //this.selPrintTypes.DataBind();
+                //this.selPrintTypes.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+                //this.selPrintTypes.Items.Add(new ListItem("鍏朵粬", "-1"));
 
                 //this.selOrderTypes.DataSource = _sys_DictionaryBLL.GetDataByType("EC_璁㈠崟绫诲瀷");
                 //this.selOrderTypes.DataBind();
                 //this.selOrderTypes.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
 
-                //this.selPayStates.DataSource = _sys_DictionaryBLL.GetDataByType("EC_璁㈠崟鏀粯鐘舵��");
-                //this.selPayStates.DataBind();
-                //this.selPayStates.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+                this.selPayStates.DataSource = _sys_DictionaryBLL.GetDataByType("EC_璁㈠崟鏀粯鐘舵��");
+                this.selPayStates.DataBind();
+                this.selPayStates.Items.Insert(0, new ListItem("鍏ㄩ儴", ""));
+                //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();
@@ -535,10 +537,10 @@
             SetParamValue(searchParam, 3, this.txtCustormerName.Value.Trim());
             SetParamValue(searchParam, 4, this.txtBeginData.Value.Trim());
             SetParamValue(searchParam, 5, this.txtEndDate.Value.Trim());
-            SetParamValue(searchParam, 6, this.selPrintTypes.Value);
+            SetParamValue(searchParam, 6, ""); //this.selPrintTypes.Value
             SetParamValue(searchParam, 7, "");//this.selOrderTypes.Value
             SetParamValue(searchParam, 8, "");//this.selOrderStates.Value
-            SetParamValue(searchParam, 9, "");//this.selPayStates.Value
+            SetParamValue(searchParam, 9, this.selPayStates.Value);
             SetParamValue(searchParam, 10, this.txtCreaterName.Value.Trim());
             SetParamValue(searchParam, 11, "");//this.selCustormerLevels.Value
             SetParamValue(searchParam, 12, this.selCustormerManager.Value);
@@ -550,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;
 
 
@@ -561,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