From 259584df9c06ade70f1f351affb35d4922e1263d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 07 十一月 2025 16:23:13 +0800
Subject: [PATCH] 这个打印送货单,你们给我做两种,做一张打印没得数量的,做一张打印有数量的。送货单格式就是32开,就哎就是A4排一半。你们打了测试,注意,美观。 把那个把它做出来,下一批就用这个自动打。 不是不是打印的要数量都是有数量,要没得数量都没得数量。就是点打印的时候就两个按钮嘛,一个是有数量打印,或者或者或者空白送货单打印。 现在这个现在的送货单都是没有数量噻。现在那个要的,比如你那里再打你那个打印关闭的按钮,要把搞成两个打印嘛,就是打印空白送货单和打印送货单。 好点打印空白送货单的,就是现在这样子。点打印送货单,打印的就是那个跟有有就是有数据的送货单。作业本送货统计查询,状态查询需要修改逻辑

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
index cbf326d..96cfe90 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/OrderList.aspx.cs
@@ -561,6 +561,8 @@
             SetParamValue(searchParam, 20, CurrentUser.StaffId);
             SetParamValue(searchParam, 21, CurrentUser.TrueName);
             SetParamValue(searchParam, 28, this.txtSearchyjname.Value);
+            SetParamValue(searchParam, 30, this.selWorkStates.Value);
+            SetParamValue(searchParam, 31, this.selDeleverStates.Value);
             if (!IsPostBack && !IsCallback)
             {
                 if (Session["OrderList"] != null)
@@ -609,6 +611,10 @@
                             this.selAppraise.SelectedValue = searchParam[index].ToString();
                         if (index == 28)
                             this.txtSearchyjname.Value = searchParam[index].ToString();
+                        if (index == 30)
+                            this.selWorkStates.Value = searchParam[index].ToString();
+                        if (index == 31)
+                            this.selDeleverStates.Value = searchParam[index].ToString();
 
                     }
 
@@ -620,7 +626,6 @@
                     SetParamValue(searchParam, 19, CurrentUser.TrueMemberId);
                     SetParamValue(searchParam, 20, CurrentUser.StaffId);
                     SetParamValue(searchParam, 21, CurrentUser.TrueName);
-                    SetParamValue(searchParam, 28, this.txtSearchyjname.Value);
                 }
             }
             else
@@ -778,7 +783,7 @@
                         {
                             if (opType == "鎾ゅ崟")
                             {
-                                if (orderState == 4 || orderState == 5)
+                                if (orderState == 3 || orderState == 4 || orderState == 5)
                                 {
                                     isCan = false;
                                 }
@@ -877,6 +882,7 @@
                 headerRow.CreateCell(12).SetCellValue("閲戦");
                 headerRow.CreateCell(13).SetCellValue("宸叉敹娆�");
                 headerRow.CreateCell(14).SetCellValue("鏈粯娆�");
+                headerRow.CreateCell(15).SetCellValue("閫佽揣閲戦");
 
                 // 娣诲姞鏁版嵁
                 int rowIndex = 1;
@@ -898,6 +904,7 @@
                     row.CreateCell(12).SetCellValue(order.SumPrice.HasValue? order.SumPrice.Value.ToDouble2().Value:0);
                     row.CreateCell(13).SetCellValue(order.TradingSingle.PayedMoney.HasValue ? order.TradingSingle.PayedMoney.Value.ToDouble2().Value : 0);
                     row.CreateCell(14).SetCellValue(order.UnPayedMoney.ToDouble2().Value);
+                    row.CreateCell(15).SetCellValue(order.SonghuoJine.HasValue ? order.SonghuoJine.Value.ToDouble2().Value : 0);
 
 
                 }

--
Gitblit v1.9.1