From d75cef892d748b500a650c66de82776ce90f0caf Mon Sep 17 00:00:00 2001 From: zhangyuan Date: Tue, 5 Jul 2022 09:55:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E7=BA=A7=E6=B8=85?= =?UTF-8?q?=E7=A9=BA=E4=B8=8B=E7=BA=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../epidemic/epidemicreportuserinfo-add-or-update.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue b/src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue index ceb880d..766d72e 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo-add-or-update.vue @@ -500,6 +500,10 @@ export default { .catch(() => { }) }, changeDept(event) { + this.dataForm.plotId = '' + this.dataForm.buildingId = '' + this.dataForm.unit = '' + this.dataForm.unitId = '' this.dataForm.deptId = this.dataForm.deptIdList[this.dataForm.deptIdList.length - 1] this.queryPlot() }, @@ -515,6 +519,8 @@ export default { }, selectBuilding (event) { this.dataForm.buildingId = '' + this.dataForm.unit = '' + this.dataForm.unitId = '' this.plotArr.find((item) => { if (item.dictValue === event) { this.dataForm.plotId = item.dictValue @@ -535,6 +541,7 @@ export default { .catch(() => {}) }, selectUnit (event) { + this.dataForm.unit = '' this.dataForm.unitId = '' this.buildingArr.find((item) => { if (item.dictValue === event) { @@ -806,6 +813,7 @@ export default { ...this.dataForm, ...res.data } + if (this.dataForm.returnState === '1') { // 在平阴 this.showFlagIn = true @@ -823,6 +831,7 @@ export default { this.dataForm.plotId = '' this.dataForm.buildingId = '' this.dataForm.unitId = '' + this.dataForm.unit = '' } }).catch(() => { })