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: '作废', @@ -267,9 +274,9 @@ PrintJS({ printable: "printRaw", type: "html", maxWidth: 1200, maxWidth: 880, // header: "原材料检测报告", style: '@page {margin: 0 5mm}', style: '@page {margin: 0 5mm;}', targetStyles: ["*"], ignoreElements: ["no-ignore"], orientation: 'portrait' @@ -324,6 +331,7 @@ }, // 新增 / 修改 addOrUpdateHandle(row) { console.log(row); this.$router.push({ name: 'rawMaterialForm', query: {