正在显示
3 个修改的文件
包含
25 行增加
和
5 行删除
... | ... | @@ -1295,6 +1295,12 @@ Page({ |
1295 | 1295 | id_card_no: id_info.id_card_number, |
1296 | 1296 | commonbirthDate: that.data.commonbirthDate |
1297 | 1297 | } |
1298 | + } else if (that.idcard_belong == 'owner_id_card_no') { | |
1299 | + console.log('id_info.id_card_number', id_info.id_card_number) | |
1300 | + data = { | |
1301 | + owner_id_card_no: id_info.id_card_number, | |
1302 | + owner_name: id_info.name | |
1303 | + } | |
1298 | 1304 | } |
1299 | 1305 | that.setData(data) |
1300 | 1306 | console.log('-cardtypeData--', that.data.cardtypeData) |
... | ... | @@ -1709,10 +1715,11 @@ Page({ |
1709 | 1715 | // if (this.data.rentLocateInfo.address_value[0].length < 1) { |
1710 | 1716 | // this.showToast('请选择房屋地址') |
1711 | 1717 | // return |
1712 | - // } else if (!formdata.house_detail_address || formdata.house_detail_address.length < 1) { | |
1713 | - // this.showToast('请填写房屋详细地址') | |
1714 | - // return | |
1715 | - // } | |
1718 | + // } else | |
1719 | + if (!formdata.house_detail_address || formdata.house_detail_address.length < 1) { | |
1720 | + this.showToast('请填写房屋详细地址') | |
1721 | + return | |
1722 | + } | |
1716 | 1723 | // else if (!formdata.rent_contract_no || formdata.rent_contract_no.length < 1) { |
1717 | 1724 | // this.showToast('请填写租赁合同编号') |
1718 | 1725 | // return | ... | ... |
... | ... | @@ -348,7 +348,7 @@ |
348 | 348 | <view style='height:90rpx'> |
349 | 349 | <text class='text_777_30 float_left head_in'>配偶证照号码</text> |
350 | 350 | <view wx:if="{{isIdCard}}"> |
351 | - <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' id="spouse_id_card_no"></image> | |
351 | + <image class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden='{{hasLover}}' id="spouse_id_card_no"></image> | |
352 | 352 | <input class='input_wrap' style='color:#000;' placeholder='请输入或拍摄身份证' placeholder-class='text_999_30' name='spouse_id_card_no' maxlength='18' type='idcard' value='{{spouse_id_card_no}}' bindinput="idChange" id='spouse_id_card_no_input' disabled='{{hasLover}}'></input> |
353 | 353 | </view> |
354 | 354 | </view> | ... | ... |
... | ... | @@ -887,6 +887,19 @@ Page({ |
887 | 887 | this.showtoast('手机号码有误'); |
888 | 888 | return |
889 | 889 | } |
890 | + if (this.data.curAddress_haschanged || this.data.taxInfo.current_address.province_code) {//选择了地址 | |
891 | + if (formdata.current_address_detail.length < 1) { | |
892 | + this.showtoast('请填写详细居住地址'); | |
893 | + return | |
894 | + } | |
895 | + } | |
896 | + if (this.data.birthAddress_haschanged || this.data.taxInfo.huji_address.province_code) {//选择了地址 | |
897 | + if (formdata.huji_address_detail.length < 1) { | |
898 | + this.showtoast('请填写详细户籍地址'); | |
899 | + return | |
900 | + } | |
901 | + } | |
902 | + | |
890 | 903 | // if (formdata.email && formdata.email.length > 0 && !regEmail.test(formdata.email)) { |
891 | 904 | // this.showtoast('邮箱格式有误'); |
892 | 905 | // return | ... | ... |
请
注册
或
登录
后发表评论