提交 b7050fc494faf546a1087c4b6b30539fe09ec59d

作者 pangy
1 个父辈 f91af5f1

非居民字段逻辑处理

@@ -243,7 +243,7 @@ @@ -243,7 +243,7 @@
243 <view style='height:90rpx'> 243 <view style='height:90rpx'>
244 <text class='red_star_right_10'>*</text> 244 <text class='red_star_right_10'>*</text>
245 <text class='text_777_30 float_left'>公积金贷款银行</text> 245 <text class='text_777_30 float_left'>公积金贷款银行</text>
246 - <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入贷款合同编号' name='loan_bank' value='{{loan_bank}}'></input> 246 + <input class='input_wrap' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right;color:#000;' placeholder='请输入公积金贷款银行' name='loan_bank' value='{{loan_bank}}'></input>
247 </view> 247 </view>
248 <view class='divide_line_30'></view> 248 <view class='divide_line_30'></view>
249 <template is="picker_cell_normal" data="{{...firstpaybackDate}}" /> 249 <template is="picker_cell_normal" data="{{...firstpaybackDate}}" />
@@ -411,8 +411,11 @@ Page({ @@ -411,8 +411,11 @@ Page({
411 this.data.overseas = tax_info.is_overseas_personnel 411 this.data.overseas = tax_info.is_overseas_personnel
412 this.data.countryData.selected = tax_info.native 412 this.data.countryData.selected = tax_info.native
413 this.data.birthCountryData.selected = tax_info.birth_native 413 this.data.birthCountryData.selected = tax_info.birth_native
414 - this.data.taxpayerTypeData.selected = tax_info.taxpayer_type =='resident'?'居民':'非居民'  
415 - 414 + if (tax_info.taxpayer_type == 'non-resident'){
  415 + this.data.taxpayerTypeData.selected = '非居民'
  416 + } else if (tax_info.taxpayer_type == 'resident'){
  417 + this.data.taxpayerTypeData.selected = '居民'
  418 + }
416 this.data.mobile = tax_info.mobile 419 this.data.mobile = tax_info.mobile
417 this.data.investInfo.selected = tax_info.is_investor 420 this.data.investInfo.selected = tax_info.is_investor
418 this.data.specificIndustryInfo.selected = tax_info.is_specific_profession 421 this.data.specificIndustryInfo.selected = tax_info.is_specific_profession
注册登录 后发表评论