Browse Source

面损表打印时隐藏编码字段

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

+ 2 - 2
src/views/reportForms/fabric-loss-table.vue

@@ -572,7 +572,7 @@ export default {
           scopedSlots: { customRender: 'purchaseInQuantity' }
         },
         { title: '染厂色号', dataIndex: 'ccolorNumber', width: 120, className: 'replacecolor' },
-        { title: '物料编码', dataIndex: 'cinvCode', width: 120, className: 'replacecolor' },
+        { title: '物料编码', dataIndex: 'cinvCode', width: 120, className: 'replacecolor noprint' },
         { title: '货物名称', dataIndex: 'cinvName', width: 200, className: 'replacecolor', align:'left' },
         { title: '颜色', dataIndex: 'ccolor', width: 110, className: 'replacecolor' },
         { title: '损耗', dataIndex: 'cquantityLoss',  width: 100,className: 'replacecolor' },
@@ -798,7 +798,7 @@ export default {
          win.document.write(style+html);
          win.focus();
          win.print();
-         win.close();
+        //  win.close();
 		     this.showSelect = 0
         })