提交 c7ce8765b005fd7ebddcd5ad390ae150f1a9ecd4

作者 pangy
1 个父辈 4cd93c21

租房房主 加身份证识别

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