Răsfoiți Sursa

refactor(库存调拨): 移除打印模板中重复的品类信息并调整零件名宽度

liujt 7 luni în urmă
părinte
comite
948e1baa14

+ 5 - 5
src/views/warehouseManagement/inventoryAllocation/components/print-template-bs-car.vue

@@ -204,11 +204,11 @@
         this.detailList = res.map((item) => {
           return {
             ...item,
-            categoryCode: this.infoData.categoryCode,
-            categoryName: this.infoData.categoryName,
-            brandNum: this.infoData.brandNum,
-            categoryModel: this.infoData.model,
-            specification: this.infoData.specification
+            // categoryCode: this.infoData.categoryCode,
+            // categoryName: this.infoData.categoryName,
+            // brandNum: this.infoData.brandNum,
+            // categoryModel: this.infoData.model,
+            // specification: this.infoData.specification
           };
         });
         console.log('infoData', this.infoData)

+ 6 - 6
src/views/warehouseManagement/inventoryAllocation/components/print-template-bs.vue

@@ -33,7 +33,7 @@
           <tr>
             <th style="border: 1px solid #000; padding: 8px; text-align: center;" width="50px;">序号</th>
             <th style="border: 1px solid #000; padding: 8px; text-align: center;">型号</th>
-            <th style="border: 1px solid #000; padding: 8px; text-align: center; width: 160px;">零件名</th>
+            <th style="border: 1px solid #000; padding: 8px; text-align: center;">零件名</th>
             <th style="border: 1px solid #000; padding: 8px; text-align: center;">单位</th>
             <th style="border: 1px solid #000; padding: 8px; text-align: center;">送货数量</th>
             <th style="border: 1px solid #000; padding: 8px; text-align: center;">验收数量</th>
@@ -146,11 +146,11 @@ export default {
         this.detailList = res.map((item) => {
           return {
             ...item,
-            categoryCode: this.infoData.categoryCode,
-            categoryName: this.infoData.categoryName,
-            brandNum: this.infoData.brandNum,
-            categoryModel: this.infoData.model,
-            specification: this.infoData.specification
+            // categoryCode: this.infoData.categoryCode,
+            // categoryName: this.infoData.categoryName,
+            // brandNum: this.infoData.brandNum,
+            // categoryModel: this.infoData.model,
+            // specification: this.infoData.specification
           };
         });
         console.log('infoData', this.infoData)