From 69a1b7107ca42ef46a42e98f7aadd3ea70fb35ed Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期四, 20 十一月 2025 09:19:32 +0800
Subject: [PATCH] 不用再增加一个专门的序号,就按照这个编号,不是列表都有个编号嘛,好,那个送货单就显示就显示那个编号,比如说雷波中学,你在左送货单的左上角2是1或者。或者有三果十一都可以。

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetailshuju.aspx.cs |   22 ++++++++++++++--------
 1 files changed, 14 insertions(+), 8 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetailshuju.aspx.cs b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetailshuju.aspx.cs
index 4229024..5072c7b 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetailshuju.aspx.cs
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetailshuju.aspx.cs
@@ -45,6 +45,9 @@
         public int orderkeyid = 0;
         public string orderName = "";
         public int countss = 0;
+        public string selSonghuoren = "";
+        public string txtBeginDate = "";
+        public string selChicun = "";
 
         //鍒濆鍖�
         public DeliverWorkBookPrintDetailshuju()
@@ -96,7 +99,10 @@
         {
             //濡傛灉鏄壒閲忔墦鍗�
             string orderIdStr = Request["orderId"];
-           
+            selSonghuoren = Request["selSonghuoren"];
+            txtBeginDate = Request["txtBeginDate"];
+            selChicun = Request["selChicun"];
+            
 
             //濡傛灉鏄彧鎵撳嵃涓�寮�
             string PlanOrderidStr = Request["PlanOrderid"];
@@ -152,18 +158,18 @@
             {
                 biaotou = "<table border=\"1\" cellpadding=\"0\" cellspacing=\"0\" style=\"border-collapse: collapse;width: 98%; \"><tr>";
                 biaowei = "";
-                var  cmsPlanOrderItems =    bll_CoreCmsPlanOrderItemBLL.GetModelsByOrderid(coreCmsPlanOrder.id).OrderBy(x => x.specification).ThenBy(x => x.name).ToList();
+                var  cmsPlanOrderItems =    bll_CoreCmsPlanOrderItemBLL.GetModelsByOrderid(coreCmsPlanOrder.id).Where(x => x.nums > 0).OrderBy(x => x.specification).ThenBy(x => x.name).ToList();
                 int i = 1;
 
 
                 foreach (var cmsPlanOrderItem in cmsPlanOrderItems)
                 {
-                    biaotou += " <td style=\"text-align:center;border: 1px solid #999999;\"> " + cmsPlanOrderItem.specification + cmsPlanOrderItem.name + " </td> ";
+                    biaotou += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> " + cmsPlanOrderItem.specification + cmsPlanOrderItem.name + " </td> ";
 
-                    biaowei += " <td style=\"text-align:center;border: 1px solid #999999;\"> " + cmsPlanOrderItem.nums + " </td> ";
+                    biaowei += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> " + cmsPlanOrderItem.nums + " </td> ";
                     if (i % 8 == 0)
                     {
-                        biaotou += " </tr> <tr>"+ biaowei + "  </tr>";//<td style=\"text-align:center;border: 1px solid #999999;\"></td>
+                        biaotou += " </tr> <tr>"+ biaowei + "  </tr>";//<td style=\"text-align:center;border: 1px solid #999999;height: 40px;\"></td>
                         biaowei = "";
                     }
 
@@ -176,8 +182,8 @@
                     {
                         for (int j = 0; j < 8; j++)
                         {
-                            biaotou += " <td style=\"text-align:center;border: 1px solid #999999;\"></td> ";
-                            biaowei += " <td style=\"text-align:center;border: 1px solid #999999;\"></td> ";
+                            biaotou += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td> ";
+                            biaowei += " <td style=\"text-align:center;border: 1px solid #999999;height: 40px;\">&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</td> ";
                             i = i + 1;
                             if (i % 8 == 0)
                             {
@@ -191,7 +197,7 @@
                 }
 
                
-                biaotou += " <tr> <td  style=\"text-align:center;border: 1px solid #999999;\"> 楠屾敹鎰忚</td >  <td  style=\"text-align:left;border: 1px solid #999999;\"  colspan=\"7\">  浜у搧璐ㄩ噺锛�<input type=\"checkbox\" />闈炲父婊℃剰 <input type=\"checkbox\" />婊℃剰<input type=\"checkbox\" />涓�鑸�<input type=\"checkbox\" />涓嶆弧鎰�<br/> 閰嶉�佹湇鍔★細<input type=\"checkbox\" />闈炲父婊℃剰 <input type=\"checkbox\" />婊℃剰<input type=\"checkbox\" />涓�鑸�<input type=\"checkbox\" />涓嶆弧鎰�<br/>鍏朵粬鎰忚锛�<br/></td></tr>";
+                biaotou += " <tr> <td  style=\"text-align:center;border: 1px solid #999999;height: 40px;\"> 楠屾敹鎰忚</td >  <td  style=\"text-align:left;border: 1px solid #999999;height: 40px;\"  colspan=\"7\">  浜у搧璐ㄩ噺锛�<input type=\"checkbox\" />闈炲父婊℃剰 <input type=\"checkbox\" />婊℃剰<input type=\"checkbox\" />涓�鑸�<input type=\"checkbox\" />涓嶆弧鎰�<br/> 閰嶉�佹湇鍔★細<input type=\"checkbox\" />闈炲父婊℃剰 <input type=\"checkbox\" />婊℃剰<input type=\"checkbox\" />涓�鑸�<input type=\"checkbox\" />涓嶆弧鎰�<br/>鍏朵粬鎰忚锛�<br/></td></tr>";
 
                 biaotou += "</table>";
 

--
Gitblit v1.9.1