From e2b95ab3d7003a18280e144e5ecf1e7ca0f4dc64 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 19 Apr 2023 10:49:26 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=AB=E7=A0=81=E7=9B=B8=E5=85=B3bug?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/DialogSelectRl.vue | 1 + src/views/inout/PanelCreateOrderCodes.vue | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/views/inout/DialogSelectRl.vue b/src/views/inout/DialogSelectRl.vue index c9c7d5a..41d6c03 100644 --- a/src/views/inout/DialogSelectRl.vue +++ b/src/views/inout/DialogSelectRl.vue @@ -725,6 +725,7 @@ export default { mySupId: this.curRow.unitFk, }; updateBind(query).then((response) => { + debugger if (response.code == 20000) { this.$message.success("绑定成功"); this.closeBindDialog(this.curRow.id); diff --git a/src/views/inout/PanelCreateOrderCodes.vue b/src/views/inout/PanelCreateOrderCodes.vue index 3492962..e304c34 100644 --- a/src/views/inout/PanelCreateOrderCodes.vue +++ b/src/views/inout/PanelCreateOrderCodes.vue @@ -246,6 +246,8 @@ export default { .then((response) => { if (response.code === 20000) { this.refreshPanel(); + } else if (response.code == 506) { + this.codeArray.slice(index, 1); } else { this.$message.error(response.message); } @@ -287,9 +289,10 @@ export default { mySupId: row.unitFk, }; updateCodeBindSup(query).then((response) => { + debugger if (response.code == 20000) { this.$message.success("绑定成功"); - this.orderFormData.id = this.curRow.orderId; + // this.orderFormData.id = this.curRow.orderId; this.closeBindDialog(); this.getCodeList(); } else {