提交 ca2b5d3abddc09929d01dbf0d2d24257c39b9b6b

作者 pangy
1 个父辈 f47a5523

身份证姓名冲突不报错

... ... @@ -110,7 +110,7 @@ page{
110 110 line-height: 80rpx;
111 111 }
112 112 input[disabled]{
113   - color: #777;
  113 + color: #000;
114 114 }
115 115 .red_star_right_10{
116 116 color:red;
... ...
... ... @@ -514,16 +514,16 @@ Page({
514 514 that.data.birthDate.selected = birth_day
515 515 console.log('name***card_number', that.data.name + '***' + that.data.card_number)
516 516
517   - if (that.data.name.length > 0 && id_info.name != that.data.name) {
518   - that.showtoast("姓名冲突")
519   - id_error = true
520   - return
521   - }
522   - if (that.data.card_number.length > 0 && id_info.id_card_number != that.data.card_number) {
523   - that.showtoast("证照号码冲突")
524   - id_error = true
525   - return
526   - }
  517 + // if (that.data.name.length > 0 && id_info.name != that.data.name) {
  518 + // that.showtoast("姓名冲突")
  519 + // id_error = true
  520 + // return
  521 + // }
  522 + // if (that.data.card_number.length > 0 && id_info.id_card_number != that.data.card_number) {
  523 + // that.showtoast("证照号码冲突")
  524 + // id_error = true
  525 + // return
  526 + // }
527 527 that.setData({
528 528 has_certify:true,
529 529 idInfoData: id_info,
... ...
... ... @@ -56,7 +56,7 @@
56 56 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text>
57 57 <view>
58 58 <image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active'}}"></image>
59   - <input class='input_wrap float_right' disabled="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
  59 + <input class='input_wrap float_right' disabled="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
60 60 <!-- <input class='input_wrap float_right' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
61 61 <input class='input_wrap float_right' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> -->
62 62 </view>
... ...
注册登录 后发表评论