| | |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'materialCode', |
| | | label: '产品编号', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text' |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'material', |
| | | label: '产品名称', |
| | | isTrue: true, |
| | |
| | | type: 'primary', |
| | | fun: this.addOrUpdateHandle |
| | | }, |
| | | { |
| | | text: '导出', |
| | | fun: this.exportExcel |
| | | } |
| | | // { |
| | | // text: '导出', |
| | | // fun: this.exportExcel |
| | | // } |
| | | ], |
| | | operator: [{ |
| | | text: '作废', |
| | |
| | | addOrUpdateHandle(row) { |
| | | this.$router.push({ |
| | | name: 'processInspectForm', |
| | | query: { id: row == null ? null : row.id,resultVal : row == null ? null : row.result }, |
| | | }) |
| | | query: { id: row == null ? null : row.id }, |
| | | params: { resultVal : row == null ? null : row.result } |
| | | }) |
| | | }, |
| | | formatResult(row, column, cellValue){ |
| | | if(cellValue != undefined || cellValue != null){ |