测试修改

This commit is contained in:
liuhanqing
2025-07-17 14:21:11 +08:00
parent f7a79cdc7e
commit 1cbb1a12a8
21 changed files with 348 additions and 167 deletions

View File

@@ -416,6 +416,11 @@ export default {
}
const stockoutIds = this.selectedRows.map(row => row.stockoutId)
console.log("自动分配:", stockoutIds)
let outstock = this.selectedRows[0]
if (outstock.status !== "2") {
this.$modal.msgError("请选择审核状态为审核通过单据")
return
}
let data = {
stockoutId: stockoutIds[0]
}
@@ -435,6 +440,11 @@ export default {
return
}
const stockoutIds = this.selectedRows.map(row => row.stockoutId)
let outstock = this.selectedRows[0]
if (outstock.status !== "1") {
this.$modal.msgError("单据已审核")
return
}
// TODO: 调用手动分配接口
console.log("手动分配:", stockoutIds)
},