出库确认
This commit is contained in:
@@ -325,10 +325,14 @@ export default {
|
||||
const stockoutIds = this.selectedRows.map(row => row.stockoutId)
|
||||
console.log("自动分配:", stockoutIds)
|
||||
let data = {
|
||||
stockoutId: stockoutIds
|
||||
stockoutId: stockoutIds[0]
|
||||
}
|
||||
autoAllot(data).then(response => {
|
||||
this.$modal.msgSuccess(response)
|
||||
if (response.code !== 200){
|
||||
this.$modal.msgError(response.msg)
|
||||
}else {
|
||||
this.$modal.msgSuccess(response.msg)
|
||||
}
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user