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(); }, }