| | |
| | | tableData1: [], |
| | | tableLoading1: false, |
| | | column1: [ |
| | | {label: '委托编号', prop: 'entrustCode'}, |
| | | {label: '委托编号', prop: 'entrustCode', width: '160px'}, |
| | | { |
| | | dataType: 'tag', |
| | | label: '检验状态', |
| | |
| | | // 待报检、待下单查询 |
| | | getWarehouseSubmitApi () { |
| | | this.tableLoading = true |
| | | const params = {...this.componentData, isInspect: this.tabIndex, state: this.tabIndex === 0 ? null : 0} |
| | | const params = {...this.componentData, isInspect: this.tabIndex, state: this.tabIndex === 0 ? null : 0, ...this.page} |
| | | getWarehouseSubmit(params).then(res => { |
| | | this.tableLoading = false |
| | | if (res.code === 200) { |
| | |
| | | // 已完成部查询 |
| | | getIfsByFinishList () { |
| | | this.tableLoading1 = true |
| | | getIfsByFinish({...this.componentData}).then(res => { |
| | | getIfsByFinish({...this.componentData, ...this.page1}).then(res => { |
| | | this.tableLoading1 = false |
| | | if (res.code === 200) { |
| | | this.tableData1 = res.data.records |
| | |
| | | // 全部查询 |
| | | getIfsByAllList () { |
| | | this.tableLoading1 = true |
| | | getIfsByAll({...this.componentData}).then(res => { |
| | | getIfsByAll({...this.componentData, ...this.page1}).then(res => { |
| | | this.tableLoading1 = false |
| | | if (res.code === 200) { |
| | | this.tableData1 = res.data.records |