501流程测试修改,作废流程添加
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user