Przeglądaj źródła

BA报单导出PDF样式修改

kevin_zhangl 3 lat temu
rodzic
commit
1101320a27

+ 3 - 3
frontendApi/modules/v1/controllers/ShopController.php

@@ -1591,7 +1591,7 @@ ORDER;
                     }
                     table td, table th {
                         border: 1px solid #ccc;
-                        padding: 5px 5px;
+                        /*padding: 5px 5px;*/
                         border-collapse: collapse;
                     }
                     /*td {*/
@@ -1614,8 +1614,8 @@ ORDER;
                                     <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Code</th>
                                     <th width="25%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Name</th>
                                     <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center;">Product Price</th>
-                                    <th width="8%" style="font-size: 14px; font-weight: bold; text-align: center;">Qty</th>
-                                    <th width="10%" style="font-size: 14px; font-weight: bold; text-align: center;">Tax Rate</th>
+                                    <th width="8%"  style="font-size: 14px; font-weight: bold; text-align: center; min-width: 90px">Qty</th>
+                                    <th width="10%" style="font-size: 14px; font-weight: bold; text-align: center; min-width: 120px">Tax Rate</th>
                                     <th width="12%" style="font-size: 14px; font-weight: bold; text-align: center;">Tax</th>
                                     <th width="15%" style="font-size: 14px; font-weight: bold; text-align: center;">Total Amount</th>
                                 </tr>