| | |
| | | column: [ |
| | | { |
| | | minWidth: '120', |
| | | prop: 'code', |
| | | label: '原材料编码', |
| | | prop: 'rawInsNo', |
| | | label: '原材料检验编号', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | render: { fun: this.addOrUpdateHandle } |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'code', |
| | | label: '原材料编码', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | |
| | | type: "html", |
| | | maxWidth: 880, |
| | | // header: "原材料检测报告", |
| | | style: '@page {margin: 0 5mm;}', |
| | | style: '@page {margin: 10mm 5mm;}', |
| | | targetStyles: ["*"], |
| | | ignoreElements: ["no-ignore"], |
| | | orientation: 'portrait' |
| | |
| | | }, |
| | | // 新增 / 修改 |
| | | addOrUpdateHandle(row) { |
| | | console.log(row); |
| | | this.$router.push({ |
| | | name: 'rawMaterialForm', |
| | | query: { |