正在显示
2 个修改的文件
包含
7 行增加
和
1 行删除
@@ -1295,6 +1295,12 @@ Page({ | @@ -1295,6 +1295,12 @@ Page({ | ||
1295 | id_card_no: id_info.id_card_number, | 1295 | id_card_no: id_info.id_card_number, |
1296 | commonbirthDate: that.data.commonbirthDate | 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 | that.setData(data) | 1305 | that.setData(data) |
1300 | console.log('-cardtypeData--', that.data.cardtypeData) | 1306 | console.log('-cardtypeData--', that.data.cardtypeData) |
@@ -348,7 +348,7 @@ | @@ -348,7 +348,7 @@ | ||
348 | <view style='height:90rpx'> | 348 | <view style='height:90rpx'> |
349 | <text class='text_777_30 float_left head_in'>配偶证照号码</text> | 349 | <text class='text_777_30 float_left head_in'>配偶证照号码</text> |
350 | <view wx:if="{{isIdCard}}"> | 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 | <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> | 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 | </view> | 353 | </view> |
354 | </view> | 354 | </view> |
请
注册
或
登录
后发表评论