Explorar el Código

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

jbb hace 2 años
padre
commit
cb976ca376
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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
         })