出库确认

This commit is contained in:
liuhanqing
2025-06-16 17:34:04 +08:00
parent d66bd51cfb
commit ecb691ed36
6 changed files with 11 additions and 6 deletions

View File

@@ -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()
})
},