jbb 2 years ago
parent
commit
3973208de2
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/views/reportForms/fabric-loss-table.vue

+ 6 - 3
src/views/reportForms/fabric-loss-table.vue

@@ -148,6 +148,7 @@
           :data-source="fabricLoss.fabricOMOrderList1" 
           bordered 
           :pagination="false" 
+           :scroll="{ x: 1500 }"
           :loading="loading">
           <!-- 材料出库数量 -->
           <span slot="materialsOutQuantity" slot-scope="text">
@@ -173,6 +174,7 @@
           :loading="loading"
           :columns="outsourceOrderColumns"
           :data-source="fabricLoss.fabricOMOrderList2"
+           :scroll="{ x: 1500 }"
           bordered
           :pagination="false"
         >
@@ -479,7 +481,7 @@ export default {
         {
           title: '材料出库数量',
           dataIndex: 'iquantityOut',
-          width: 120,
+          width: 170,
           className: 'replacecolor',
           customCell: this.materialsOutQuantityCustomCell,
           scopedSlots: { customRender: 'materialsOutQuantity' }
@@ -515,9 +517,9 @@ export default {
         { title: '物料编码', dataIndex: 'cinvCode', width: 120, className: 'replacecolor' },
         { title: '货物名称', dataIndex: 'cinvName', width: 340, className: 'replacecolor', align:'left' },
         { title: '颜色', dataIndex: 'ccolor', width: 120, className: 'replacecolor' },
-        { title: '损耗', dataIndex: 'cquantityLoss', wiclassName: 'replacecolor' },
+        { title: '损耗', dataIndex: 'cquantityLoss',  width: 120,className: 'replacecolor' },
         { title: '多发少发', dataIndex: 'iquantityMoreLess', width: 120, className: 'replacecolor' },
-        { title: '附件', dataIndex: 'enclosure', width: 120, className: 'replacecolor', scopedSlots: { customRender: 'enclosure' }, }
+        { title: '附件', dataIndex: 'enclosure', width: 170, className: 'replacecolor', scopedSlots: { customRender: 'enclosure' }, fixed: 'right'}
       ],
 
       // 成本发票 表头
@@ -932,6 +934,7 @@ export default {
           attach.src=e.fileurl;
           attachList.push(attach);
         });
+      this.$refs.attachmentDisplay.AttachmentModVis = true
       this.$refs.attachmentDisplay.attachmentData =  attachList;
     },