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',