master
Mr.sun 2 years ago
parent fc53f026fe
commit b5497f29b5
  1. 18
      src/views/libraryManage/inventory/inventoryAudit.vue

@ -75,6 +75,7 @@ export default {
handleSelect: [], handleSelect: [],
tableConfig: {}, tableConfig: {},
tableProps: {}, tableProps: {},
goodIds: [],
paging: { paging: {
page: 1, // page: 1, //
size: 10, // size: 10, //
@ -91,6 +92,7 @@ export default {
// //
handleselection(val) { handleselection(val) {
this.handleSelect = val.map((ele) => ele.id) this.handleSelect = val.map((ele) => ele.id)
this.goodIds = val.map((ele) => ele.goodId)
}, },
// //
@ -146,11 +148,17 @@ export default {
}, },
// //
calce() { calce() {
let obj = { this.$confirm('确认上报吗?', '确认', {
invStatus: 'approved', //unapproved confirmButtonText: '确定',
ids: this.handleSelect cancelButtonText: '取消',
} type: 'warning'
this.tijiao(obj) }).then(() => {
let obj = {
invStatus: 'approved', //unapproved
goodIds: this.goodIds
}
this.tijiao(obj)
})
} }
} }
} }

Loading…
Cancel
Save