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

File diff suppressed because it is too large Load Diff

View File

@@ -374,7 +374,7 @@ export default {
/** 审核按钮操作 */
handleAudit() {
const checkGuids = this.ids
this.$modal.confirm(this.$t('checkDifference.confirmPass') + checkGuids.length).then(function() {
this.$modal.confirm(this.$t('checkDifference.confirmPass') + checkGuids).then(function() {
return auditDifference(checkGuids)
}).then(() => {
this.getList()

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
}