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(() => { })