501流程测试修改,作废流程添加

This commit is contained in:
liuhanqing
2025-08-04 17:51:44 +08:00
parent a75f289184
commit 00a6c777d4
15 changed files with 1143 additions and 1015 deletions

View File

@@ -377,7 +377,7 @@ export default {
}
// 如果是审核操作(status=2),显示弹窗选择出口
if (status === 2) {
if (status === 2 || status === 3) {
this.currentAuditStatus = status
// 根据选中单据的仓库ID设置出口选项
this.setExitOptionsByWarehouse()
@@ -412,7 +412,9 @@ export default {
}
const stockoutIds = this.selectedRows.map(row => row.stockoutId)
let outstock = this.selectedRows[0]
if (outstock.status !== "2") {
console.log(outstock.status !== "2")
console.log(outstock.status !== "3")
if (outstock.status !== "2" && outstock.status !== "3") {
this.$modal.msgError(this.$t('outStockoutManage.auditStockOut'))
return
}