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: [],
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)
})
}
}
}

Loading…
Cancel
Save