diff --git a/src/views/modules/base/community/communityForm.vue b/src/views/modules/base/community/communityForm.vue index dfb7c1686..64c145c30 100644 --- a/src/views/modules/base/community/communityForm.vue +++ b/src/views/modules/base/community/communityForm.vue @@ -93,7 +93,7 @@ prop="propertyId" style="display: block"> @@ -225,6 +225,7 @@ export default { neighborHoodId: '', //小区ID quartersType: '0', + propertyId:'', dataForm: { neighborHoodName: '', // 小区名称【不超过50字】 agencyId: '', // 所属组织ID @@ -270,9 +271,9 @@ export default { console.log(row); this.dataForm = JSON.parse(JSON.stringify(row)) this.dataForm.neighborHoodId = this.dataForm.id - this.dataForm.propertyId = this.dataForm.propertyList[0].id this.neighborHoodId = this.dataForm.neighborHoodId this.quartersType = this.dataForm.quartersType + this.propertyId = this.dataForm.propertyList[0].id } else { this.dataForm.latitude = latitude @@ -442,6 +443,7 @@ export default { this.btnDisable = false }, 10000) this.dataForm.quartersType = this.quartersType + this.dataForm.propertyId = this.propertyId this.$refs['ref_form'].validate((valid, messageObj) => { if (!valid) { app.util.validateRule(messageObj)