diff --git a/src/views/components/editResi.vue b/src/views/components/editResi.vue index 212302f2c..1cec211b6 100644 --- a/src/views/components/editResi.vue +++ b/src/views/components/editResi.vue @@ -1043,10 +1043,6 @@ export default { economyDto: { monthIncome: null, //月收入 }, - subsistenceAllowanceDto: { - reasons: null, - category: [], - }, }, orgOption:[], footerInputList: [ @@ -1469,7 +1465,7 @@ export default { { label: "子女死亡日期", itemType: "datepicker1", - formName: "certificateDate", + formName: "childDeathDate", pformName: "specialSupportDto", opction: [], }, @@ -1630,7 +1626,6 @@ export default { this.getOrgTreeList(this.form.resideInfoDtos[i].agencyId,i); } this.form = { ...res.data.data }; - this.form.baseInfoDto.idNum = this.$route.params.idNum; this.form.baseInfoDto.mobile = this.$route.params.mobile; if (!res.data.data.familyInfoDto) { @@ -1664,6 +1659,12 @@ export default { specialCategoryCodes: [], }; } + if (!res.data.data.subsistenceAllowanceDto) { + this.form.subsistenceAllowanceDto = { + reasons: [], + category:null , + }; + } if (!res.data.data.unemployedDto) { this.form.unemployedDto = { originWorkUnit: null, //原工作单位 @@ -1703,7 +1704,7 @@ export default { formData.partyOrgIdPath || null; } this.footerInputList[i].children[index].value = - formData[formName] || null; + formData[formName] != null?formData[formName]:null this.footerInputList[i].children[index].id = formData.id; } diff --git a/src/views/components/resiExpand/editExpand.vue b/src/views/components/resiExpand/editExpand.vue index 5db8656ec..bf1c2686e 100644 --- a/src/views/components/resiExpand/editExpand.vue +++ b/src/views/components/resiExpand/editExpand.vue @@ -119,6 +119,7 @@ export default { disabilityDesc: null, guardianFlag: null, guardianName: null, + guardianMobile:null, specialSkillFlag: null, workCapacityFlag: null }, @@ -142,8 +143,8 @@ export default { }, // 低保人员 subsistenceAllowanceDto: { - reasons: null, - category: [] + reasons: [], + category:null , }, // 退役军人 veteranDto: { @@ -179,7 +180,6 @@ export default { volunteerDto: { volunteerCategory: [] }, - }, casProps: { value: 'id', @@ -234,7 +234,6 @@ export default { }, showForm() { this.$nextTick(() => { - // console.log(this.formList,'拓展组件formList'); // console.log(this.form,'拓展组件form'); const promises = this.formList.forEach((item) => { item.form.map(async (group) => { @@ -248,8 +247,8 @@ export default { this.partyOrgIdPath = item.orgPath.split(':')[0] await this.getOrgTree() this.form[item.pformName][item.formName] = item.value || null - } else { - this.form[item.pformName][item.formName] = item.value || null + } else{ + this.form[item.pformName][item.formName] = item.value != null?item.value:null; } if (item.opctionUrl) { try { diff --git a/src/views/modules/portrayal/jumin/index.vue b/src/views/modules/portrayal/jumin/index.vue index d62488fa8..e8e04b888 100644 --- a/src/views/modules/portrayal/jumin/index.vue +++ b/src/views/modules/portrayal/jumin/index.vue @@ -1077,7 +1077,7 @@ export default { { label: "子女死亡日期", itemType: "datepicker1", - formName: "certificateDate", + formName: "childDeathDate", opction: [], }, {