| | |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'createTime', |
| | | prop: 'startTime', |
| | | label: '报检日期', |
| | | isTrue: true, |
| | | sort: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | searchInfoType: 'datetimerange', |
| | | formatter: this.formatDateTime, |
| | | }, |
| | | { |
| | |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | searchInfoType: 'datetimerange', |
| | | formatter: this.formatDateTime, |
| | | }, |
| | | { |
| | |
| | | optList: () => { |
| | | return this.StateList |
| | | } |
| | | }, |
| | | { |
| | | minWidth: '120', |
| | | prop: 'remark', |
| | | label: '备注', |
| | | isTrue: true, |
| | | isSearch: true, |
| | | searchInfoType: 'text', |
| | | }, |
| | | ], |
| | | toolbar: [], |
| | |
| | | |
| | | }) |
| | | } |
| | | this.table.operator = [{ |
| | | text: '审核', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.examineHandle, |
| | | showFun: (row)=>{return row.type==='首检'}, |
| | | show: { |
| | | key: 'checkState', |
| | | val: ['0'] |
| | | } |
| | | }] |
| | | if(this.permissions.quality_rawMaterial_check){ |
| | | this.table.operator = [{ |
| | | text: '审核', |
| | | type: 'text', |
| | | size: 'small', |
| | | fun: this.examineHandle, |
| | | showFun: (row)=>{return row.type==='首检'&& row.insState==='1'}, |
| | | show: { |
| | | key: 'checkState', |
| | | val: ['0','2'] |
| | | } |
| | | }] |
| | | } |
| | | if(this.permissions.quality_rawMaterial_del){ |
| | | this.table.operator.push({ |
| | | text: '作废', |
| | |
| | | type: "html", |
| | | // header: "原材料检测报告", |
| | | targetStyles: ["*"], |
| | | style: `@page {margin: 0mm 5mm;size: A4;} |
| | | style: `@page {margin: 0mm 5mm;size: A4 landscape;} |
| | | html {zoom:100%;} |
| | | @media print { |
| | | html,body{ |