提交 21168da32a1fe07ecd51eb16dd4e3130d4bf3e88

作者 pangy
1 个父辈 264504c6

非居民字段逻辑处理

... ... @@ -411,8 +411,11 @@ Page({
411 411 this.data.overseas = tax_info.is_overseas_personnel
412 412 this.data.countryData.selected = tax_info.native
413 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 419 this.data.mobile = tax_info.mobile
417 420 this.data.investInfo.selected = tax_info.is_investor
418 421 this.data.specificIndustryInfo.selected = tax_info.is_specific_profession
... ...
注册登录 后发表评论