提交 3aad39df39bebc7e2b17afad14ba3fc6f6b27c4c

作者 pangy
1 个父辈 ce305d9f

文案修改

@@ -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) {
注册登录 后发表评论