| | |
| | | } |
| | | } |
| | | }, |
| | | { label: '报检类型', prop: 'inspectionType' }, |
| | | { |
| | | label: '报检类型', prop: 'inspectionType', dataType: 'tag', |
| | | formatType: (params) => { |
| | | if (params == '原辅料') { |
| | | return 'success' |
| | | } else { |
| | | return 'warning' |
| | | } |
| | | } |
| | | }, |
| | | { label: '订单号', prop: 'orderNo' }, |
| | | { label: '抵达的采购数量', prop: 'qtyArrived', width: '140px', }, |
| | | { label: '批号', prop: 'updateBatchNo' }, |
| | |
| | | return this.tabIndex === 0 |
| | | }, |
| | | }, |
| | | { |
| | | name: '撤销报检', |
| | | type: 'text', |
| | | clickFun: (row) => { |
| | | this.cancelDeclare(row); |
| | | }, |
| | | showHide: (row) => { |
| | | return this.tabIndex === 1 |
| | | }, |
| | | }, |
| | | // { |
| | | // name: '撤销报检', |
| | | // type: 'text', |
| | | // clickFun: (row) => { |
| | | // this.cancelDeclare(row); |
| | | // }, |
| | | // showHide: (row) => { |
| | | // return this.tabIndex === 1 |
| | | // }, |
| | | // }, |
| | | ] |
| | | } |
| | | ], |
| | |
| | | buyUnitMeas: [ |
| | | { required: false, message: '请填写单位', trigger: 'blur' } |
| | | ], |
| | | inspectionType: [ |
| | | { required: true, message: '请填写报检类型', trigger: 'change' } |
| | | ], |
| | | }, |
| | | tabList: [ |
| | | { |