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