From 50d433602441964d905abe6e516ad258ba66627d Mon Sep 17 00:00:00 2001
From: username@email.com <yzy2002yzy@163.com>
Date: 星期五, 21 十一月 2025 12:06:16 +0800
Subject: [PATCH] 送货单修改这几个地方,第一个,那个表格最上面那根线条和左边那根线条看粗细不一致,太细了, 感觉像打出来像断笔画。这是一个。第二个, 中间空的太多。我刚才打印打了两张送货单,他都打印的是两页, 相当于说跳了一行一行空白的第二页,第二页是白字的嘛,中间空的太多,中间不空那么多。 好,第三,那个左右的页边距,你们可能只有。

---
 CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetail.aspx |   59 ++++++++++++++++++++++++++++-------------------------------
 1 files changed, 28 insertions(+), 31 deletions(-)

diff --git a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetail.aspx b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetail.aspx
index 1159f0c..4b57f83 100644
--- a/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetail.aspx
+++ b/CY_ECommercePlatform/CY.WebForm/Pages/business/DeliverWorkBookPrintDetail.aspx
@@ -30,19 +30,31 @@
                 <ItemTemplate>
        <div class='dbody'>              
                      <style type="text/css">
-        .dbody { margin: 0; margin-left: auto; margin-right: auto; }
+       .dbody { margin: 0; margin-left: 0px; margin-right: 0px; width:90%; margin-left: auto; margin-right: auto;}
         .dtitle { text-align: center; font-size: 19px; font-weight: bold; margin-top: 10px; margin-bottom: 10px; }
-        .dbody table { width: 100%; font-size: 12px; margin-top: 5px;  }  /* border: 1px solid #dddddd;border-top: 1px #999999 solid;*/
+          .dtitlea { text-align: left; font-size: 19px;  margin-top: 10px; margin-bottom: 10px; }
+        .dbody table { width: 100%; font-size: 12px; margin-top: 5px;margin-left: auto; margin-right: auto;  }  /* border: 1px solid #dddddd;border-top: 1px #999999 solid;*/
         .dbody table th, .dbody table td { font-weight: normal; height: 20px; line-height: 20px; vertical-align: middle;/* border: 1px solid #999999;*/ border-top: 0; }
         .dbody table th { background-color: #E0EDF6; font-weight: bold; }
-        .dbody table td { border-left: 0; padding-left:2px; }
+         .dbody table td { border-left: 0; padding-left:0px; }
         .left {text-align: left; }
         #div_tool { text-align: center; }
+        #myTable {
+  border-collapse: collapse; /* 纭繚杈规铻嶅悎 */
+}
+
+#myTable td, #myTable th {
+  border: 1px solid black; /* 璁剧疆杈规涓�1px绾粦 */
+}
+
     </style>
+           
                     <table border="0" cellpadding="0" cellspacing="0" style="border: 0;">
                          <tr>
                               <td class='left'colspan="8">
-                             &nbsp;
+                                   <div class='dtitlea'>
+                                <%#Eval("Bianhao")%> </div>
+                           
                         </td>
                     </tr>
                          <tr>
@@ -69,7 +81,7 @@
                     </tr>
                     <tr>
                         <td class='left' colspan="4">
-                            瀛︽牎锛�  <%#Eval("shipAddress")%> (<%#Eval("Bianhao")%>)
+                            瀛︽牎锛�<%#Eval("shipAddress")%>  
                         </td>
                          
                         <td class='left'  colspan="4">
@@ -89,14 +101,11 @@
                        
                         
                     </tr>
-  <tr>
-                        <td   colspan="8">
+  </table>
                            <%=biaotou %>
-                        </td>
-                      
-                    </tr>
+                       
 
-                          
+                 <table border="0" cellpadding="0" cellspacing="0" style="border: 0;">          
 
                     <tr>
                         <td colspan='8'>
@@ -108,7 +117,7 @@
                             鏀惰揣浜猴細  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp;鑱旂郴鐢佃瘽锛�
                         </td>
                         <td class='left' colspan="4">
-                            &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
+                            &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
                         </td>
                         <td class='left'colspan="1">
                              閫佽揣浜猴細<%=selSonghuoren %>
@@ -119,10 +128,10 @@
                           <td class='left'colspan="3">
                            鏀惰揣鍗曚綅锛氾紙鐩栫珷锛� 
                         </td>
-                         <td class='left'colspan="2">
+                         <td class='left'colspan="4">
                           
                         </td>
-                        <td class='left' colspan="3">
+                        <td class='left' colspan="1">
                         閫佽揣鏃堕棿锛� <%=txtBeginDate %>
                         </td>
                     </tr>
@@ -151,30 +160,18 @@
                              &nbsp;
                         </td>
                     </tr>
-                        <tr>
-                              <td class='left'colspan="8">
-                             &nbsp;
-                        </td>
-                    </tr>
-                        <tr>
-                              <td class='left'colspan="8">
-                             &nbsp;
-                        </td>
-                    </tr>
-                        <tr>
-                              <td class='left'colspan="8">
-                             &nbsp;
-                        </td>
-                    </tr>
+                        
+                        
                        
                    </table>
+              </div>
       <%#(Container.ItemIndex !=  (countss-1)&& ((Container.ItemIndex+1)%2==0 || selChicun == "1" ))?"<div class=\"page-break\"></div>":"" %> 
- 
+
                 </ItemTemplate>
             </asp:Repeater>
             
        
-    </div>
+  
     </form>
 </body>
 </html>

--
Gitblit v1.9.1