提交 ca2b5d3abddc09929d01dbf0d2d24257c39b9b6b

作者 pangy
1 个父辈 f47a5523

身份证姓名冲突不报错

@@ -110,7 +110,7 @@ page{ @@ -110,7 +110,7 @@ page{
110 line-height: 80rpx; 110 line-height: 80rpx;
111 } 111 }
112 input[disabled]{ 112 input[disabled]{
113 - color: #777; 113 + color: #000;
114 } 114 }
115 .red_star_right_10{ 115 .red_star_right_10{
116 color:red; 116 color:red;
@@ -514,16 +514,16 @@ Page({ @@ -514,16 +514,16 @@ Page({
514 that.data.birthDate.selected = birth_day 514 that.data.birthDate.selected = birth_day
515 console.log('name***card_number', that.data.name + '***' + that.data.card_number) 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 that.setData({ 527 that.setData({
528 has_certify:true, 528 has_certify:true,
529 idInfoData: id_info, 529 idInfoData: id_info,
@@ -56,7 +56,7 @@ @@ -56,7 +56,7 @@
56 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text> 56 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text>
57 <view> 57 <view>
58 <image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active'}}"></image> 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 <!-- <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> 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 <input class='input_wrap float_right' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> --> 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 </view> 62 </view>
注册登录 后发表评论