From 7879070993d8d5c808d19ab1505d013c77f16603 Mon Sep 17 00:00:00 2001 From: yanran200730 Date: Tue, 15 Mar 2022 09:45:28 +0800 Subject: [PATCH] 28211 --- .../2.0.5/AppCodeGeneration/components/Add.vue | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/packages/2.0.5/AppCodeGeneration/components/Add.vue b/packages/2.0.5/AppCodeGeneration/components/Add.vue index 555744e8..44f54322 100644 --- a/packages/2.0.5/AppCodeGeneration/components/Add.vue +++ b/packages/2.0.5/AppCodeGeneration/components/Add.vue @@ -37,7 +37,7 @@ @@ -120,9 +120,9 @@ title="选择网格" :visible.sync="showGrid" :destroyOnClose="true" - @close="showGrid = false" - @onConfirm="getCheckedTree" - width="720px"> + @close="showGrid = false" + @onConfirm="getCheckedTree" + width="720px">
{ for (var p in e){ if (item === p) { @@ -226,7 +228,6 @@ export default { }) const idNumberInfo = this.idCardNoUtil.getIdCardInfo(e.idNumber) - this.formData.resident_id = e.id this.$set(this.formData, 'birthDate', idNumberInfo.birthday) this.formData.photo = e.photo ? [{ url: e.photo @@ -237,10 +238,10 @@ export default { if (gird.length) { this.girdName = gird[0].girdName - this.formData.gird_id = gird[0].id + this.formData[this.gridFieldName] = gird[0].id } else { this.girdName = '' - this.formData.gird_id = '' + this.formData[this.gridFieldName] = '' } this.showGrid = false