From 1758480b354b3f51d83971bb1b62412d03bbf062 Mon Sep 17 00:00:00 2001 From: zhengmingliang Date: Fri, 28 Oct 2022 10:42:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8C=E6=AD=A5=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=89=AB=E7=A0=81=E5=8D=95=E6=8D=AEbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/basic/invWarehouse.vue | 2 ++ src/views/thrsys/SysUdimsConfig.vue | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/basic/invWarehouse.vue b/src/views/basic/invWarehouse.vue index 0244fc4..beca0b3 100644 --- a/src/views/basic/invWarehouse.vue +++ b/src/views/basic/invWarehouse.vue @@ -1023,7 +1023,9 @@ export default { } this.$message.success("操作成功"); this.formVisible = false; + if (this.formName !== "edit") { + if (response.data && response.data.id) { data.id = response.data.id; if (this.pidData) { diff --git a/src/views/thrsys/SysUdimsConfig.vue b/src/views/thrsys/SysUdimsConfig.vue index 168e411..429a881 100644 --- a/src/views/thrsys/SysUdimsConfig.vue +++ b/src/views/thrsys/SysUdimsConfig.vue @@ -188,7 +188,7 @@ + addBusTypeDialog 待校验单据 未验收单据 @@ -338,6 +338,7 @@ export default { getConfig() { findConfig() .then((response) => { + this.configQuery = response.data; this.checkedBusTypes = this.configQuery.busTypes; if (this.configQuery.busTypes != null) { @@ -418,7 +419,7 @@ export default { .then((response) => { this.busTypes = response.data.list || []; this.total = response.data.total || 0; - this.getConfig(); + // this.getConfig(); }) .catch(() => { }); @@ -455,6 +456,7 @@ export default { handleCurrentChange(val) { this.busQuery.page = val; this.getBusType(); + }, }, created() { @@ -464,6 +466,7 @@ export default { }; this.getBusType(); + this.getConfig(); }, }