正在显示
1 个修改的文件
包含
7 行增加
和
7 行删除
@@ -758,9 +758,9 @@ Page({ | @@ -758,9 +758,9 @@ Page({ | ||
758 | olderbirthDate.datelong = data.birth_date | 758 | olderbirthDate.datelong = data.birth_date |
759 | setData.olderbirthDate = olderbirthDate | 759 | setData.olderbirthDate = olderbirthDate |
760 | } | 760 | } |
761 | - if (data.relationship && data.relationship.length) { | 761 | + if (data.family_ties && data.family_ties.length) { |
762 | var older_relativeData = this.data.older_relativeData | 762 | var older_relativeData = this.data.older_relativeData |
763 | - older_relativeData.selected = data.relationship | 763 | + older_relativeData.selected = data.family_ties |
764 | setData.older_relativeData = older_relativeData | 764 | setData.older_relativeData = older_relativeData |
765 | } | 765 | } |
766 | this.setData(setData) | 766 | this.setData(setData) |
@@ -1161,20 +1161,20 @@ Page({ | @@ -1161,20 +1161,20 @@ Page({ | ||
1161 | // newdata.share_method = this.data.shareMethodData.selected | 1161 | // newdata.share_method = this.data.shareMethodData.selected |
1162 | // } | 1162 | // } |
1163 | if (!formdata.supported_name || formdata.supported_name.length < 1) { | 1163 | if (!formdata.supported_name || formdata.supported_name.length < 1) { |
1164 | - this.showToast('请填写赡养人姓名') | 1164 | + this.showToast('请填写被赡养人姓名') |
1165 | return | 1165 | return |
1166 | } else if (this.data.oldercardtypeData.selected.length < 1) { | 1166 | } else if (this.data.oldercardtypeData.selected.length < 1) { |
1167 | - this.showToast('请选择赡养人证照类型') | 1167 | + this.showToast('请选择被赡养人证照类型') |
1168 | return | 1168 | return |
1169 | } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { | 1169 | } else if (!formdata.id_card_no || formdata.id_card_no.length < 1) { |
1170 | - this.showToast('请填写赡养人证照号') | 1170 | + this.showToast('请填写被赡养人证照号') |
1171 | return | 1171 | return |
1172 | } else if (!format.isIDCardNum(formdata.id_card_no)) { | 1172 | } else if (!format.isIDCardNum(formdata.id_card_no)) { |
1173 | - this.showToast('赡养人身份证格式有误') | 1173 | + this.showToast('被赡养人身份证格式有误') |
1174 | return | 1174 | return |
1175 | } | 1175 | } |
1176 | if (this.data.olderbirthDate.selected.length < 1) { | 1176 | if (this.data.olderbirthDate.selected.length < 1) { |
1177 | - this.showToast('请选择赡养人出生日期') | 1177 | + this.showToast('请选择被赡养人出生日期') |
1178 | return | 1178 | return |
1179 | } | 1179 | } |
1180 | if (this.data.older_relativeData.selected.length < 1) { | 1180 | if (this.data.older_relativeData.selected.length < 1) { |
请
注册
或
登录
后发表评论