提交 7867fda33cab6c6c7ce7c3502001803b538336c4

作者 pangy
1 个父辈 c8188c7f

优化

@@ -717,7 +717,7 @@ Page({ @@ -717,7 +717,7 @@ Page({
717 // const new_type = cardTypeDicts[parseInt(new_type_code)-1]['name'] 717 // const new_type = cardTypeDicts[parseInt(new_type_code)-1]['name']
718 // this.data.cardtypeData.selected_code = new_type_code 718 // this.data.cardtypeData.selected_code = new_type_code
719 this.data.cardtypeData.selected = new_type 719 this.data.cardtypeData.selected = new_type
720 - 720 + this.data.nameText = ''
721 if ('居民身份证' == new_type) { 721 if ('居民身份证' == new_type) {
722 is_idcard = true 722 is_idcard = true
723 this.data.genderData.disabled = true 723 this.data.genderData.disabled = true
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text> 29 <text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text>
30 <view> 30 <view>
31 <image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}"></image> 31 <image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}"></image>
32 - <input class='input_wrap' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='30' bindblur='idcardblur' bindinput = 'bindinputcardnum' type="{{isIdCard?'idcard':''}}"></input> 32 + <input class='input_wrap' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='30' bindblur='idcardblur' bindinput = 'bindinputcardnum' type="{{isIdCard.length?'idcard':''}}"></input>
33 <!-- <input class='input_wrap' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input> 33 <!-- <input class='input_wrap' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
34 <input class='input_wrap' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> --> 34 <input class='input_wrap' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> -->
35 <view class="divide_line_30"></view> 35 <view class="divide_line_30"></view>
注册登录 后发表评论