src/views/quality/rawMaterial/index.vue
@@ -214,7 +214,14 @@ text: '打印', type: 'text', size: 'small', fun: this.previewFun fun: this.previewFun, show: { val: [ '1', '0' ], key: 'judgeState' } }, { text: '作废', @@ -268,7 +275,7 @@ PrintJS({ printable: "printRaw", type: "html", maxWidth: 900, maxWidth: 880, // header: "原材料检测报告", style: '@page {margin: 0 5mm}', targetStyles: ["*"], @@ -325,6 +332,7 @@ }, // 新增 / 修改 addOrUpdateHandle(row) { console.log(row); this.$router.push({ name: 'rawMaterialForm', query: {