From 103db3122b1f37647e279a7004a5fbbe654e5cae Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Mon, 25 Sep 2023 14:29:06 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=B8=80=E9=94=AE=E7=AD=BE?= =?UTF-8?q?=E6=94=B6=E5=90=8E,=20=E8=A1=A8=E5=8D=95=E4=B8=8D=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../distributionDeliveryListedt.vue | 28 +++++++++---------- vite.config.js | 2 +- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue index e36ba886..1c021051 100644 --- a/src/views/distribution/deliverylist/distributionDeliveryListedt.vue +++ b/src/views/distribution/deliverylist/distributionDeliveryListedt.vue @@ -410,7 +410,7 @@
- 确定 + 确定 取消
@@ -2505,18 +2505,16 @@ export default { console.log('更新参数>>>>>>>>', row); if (!!row.id) { updatesign(row).then( - () => { - this.$message({ - type: 'success', - message: '操作成功!', - }); - this.signBox = false; - this.onLoad(); - }, - error => { - console.log(error); - this.signBox = false; - } + () => { + this.$message({ + type: 'success', + message: '操作成功!', + }); + this.onLoad(); + }, + error => { + console.log(error); + } ); } } else { @@ -2530,10 +2528,12 @@ export default { console.log('一键签收data>>>>>>>>>>', data); getOneclickq(data).then(res => { this.$message.success(res.data.msg); - this.signBox = false; this.onLoad(); }); } + // 清空签收表单的数据, 并关闭弹出框 + this.signform = {} + this.signBox = false; } }); }, diff --git a/vite.config.js b/vite.config.js index 40bdd3fa..09ffe9b9 100644 --- a/vite.config.js +++ b/vite.config.js @@ -14,7 +14,7 @@ export default ({ mode, command }) => { '/api': { // target: 'http://192.168.10.126:8889', // target: 'http://192.168.10.48:8888', - target: 'http://192.168.10.123:8889', + // target: 'http://192.168.10.123:8889', // target: 'http://192.168.10.75:8777', // target: 'http://192.168.10.101:8888', target: 'http://192.168.10.29:13000',