src/views/quality/rawMaterial/index.vue
@@ -218,6 +218,7 @@ show: { val: [ '1', '0' ], key: 'judgeState' } @@ -261,6 +262,7 @@ //查看报告按钮 previewFun(row){ getObj(row.id).then(res=>{ console.log(res); this.printFormData = res.data.data this.printDialogVisible = true }).catch(error=>{ @@ -273,7 +275,7 @@ PrintJS({ printable: "printRaw", type: "html", maxWidth: 900, maxWidth: 880, // header: "原材料检测报告", style: '@page {margin: 0 5mm}', targetStyles: ["*"], @@ -330,6 +332,7 @@ }, // 新增 / 修改 addOrUpdateHandle(row) { console.log(row); this.$router.push({ name: 'rawMaterialForm', query: {