单据提交是否完全赋码问题!

20240912_adapter_z
yewj 7 months ago
parent 53a3d38bae
commit 0697e895f4

@ -773,22 +773,21 @@ export default {
if (res.code == 20000) { if (res.code == 20000) {
this.resetWork() this.resetWork()
} else if (res.code == 502) { } else if (res.code == 502) {
// this.$confirm(res.message, '', { this.$confirm(res.message, '提示', {
// confirmButtonText: '', confirmButtonText: '确定',
// cancelButtonText: '', cancelButtonText: '取消',
// type: 'warning' type: 'warning'
// }).then(() => { }).then(() => {
// this.formData.confirmFinish = true; this.formData.confirmFinish = true;
// // this.finishOrder(); this.finishOrder();
// }).catch(() => { }).catch(() => {
// }); });
} else if (res.code == 503) {
this.$alert('该单据未全部赋码无法完成,请检查后重试', '提示', { this.$alert('该单据未全部赋码无法完成,请检查后重试', '提示', {
confirmButtonText: '确定', confirmButtonText: '确定',
callback: action => { callback: action => {
} }
}); });
} else { } else {
this.$message.error(res.message) this.$message.error(res.message)
} }

Loading…
Cancel
Save