|
|
|
|
@ -75,6 +75,7 @@ export default { |
|
|
|
|
handleSelect: [], |
|
|
|
|
tableConfig: {}, |
|
|
|
|
tableProps: {}, |
|
|
|
|
goodIds: [], |
|
|
|
|
paging: { |
|
|
|
|
page: 1, // 当前页 |
|
|
|
|
size: 10, // 页面大小 |
|
|
|
|
@ -91,6 +92,7 @@ export default { |
|
|
|
|
// 表格复选框选中 |
|
|
|
|
handleselection(val) { |
|
|
|
|
this.handleSelect = val.map((ele) => ele.id) |
|
|
|
|
this.goodIds = val.map((ele) => ele.goodId) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
//查看详情 |
|
|
|
|
@ -146,11 +148,17 @@ export default { |
|
|
|
|
}, |
|
|
|
|
// 反审 |
|
|
|
|
calce() { |
|
|
|
|
let obj = { |
|
|
|
|
invStatus: 'approved', //unapproved |
|
|
|
|
ids: this.handleSelect |
|
|
|
|
} |
|
|
|
|
this.tijiao(obj) |
|
|
|
|
this.$confirm('确认上报吗?', '确认', { |
|
|
|
|
confirmButtonText: '确定', |
|
|
|
|
cancelButtonText: '取消', |
|
|
|
|
type: 'warning' |
|
|
|
|
}).then(() => { |
|
|
|
|
let obj = { |
|
|
|
|
invStatus: 'approved', //unapproved |
|
|
|
|
goodIds: this.goodIds |
|
|
|
|
} |
|
|
|
|
this.tijiao(obj) |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|