提交 3d8c5d2483d75e040795f8cb7010b39ee499f625

作者 wangyu
1 个父辈 04f4652c

优化

... ... @@ -54,6 +54,7 @@ Page({
54 54 bindtype: 'forigner',
55 55 placeholder: '是否境外人员',
56 56 disabled: true,
  57 + selected:"否",
57 58 values: ["否", "是"],
58 59 onChange: 'onPickerSelect'
59 60 },
... ...
... ... @@ -104,6 +104,7 @@ Page({
104 104 label: '纳税人类型',
105 105 bindtype: 'taxpayerType',
106 106 placeholder: '请选择纳税人类型',
  107 + selected:"居民",
107 108 values: ["居民", "非居民"],
108 109 onChange: 'onPickerSelect'
109 110 },
... ... @@ -113,6 +114,7 @@ Page({
113 114 bindtype: 'forigner',
114 115 placeholder: '请选择',
115 116 disabled: true,
  117 + selected:"否",
116 118 values: ["否", "是"],
117 119 onChange: 'onPickerSelect'
118 120 },
... ... @@ -752,7 +754,7 @@ Page({
752 754 this.data.hasOtherCard = true
753 755 this.data.overseas = '是'
754 756 this.data.taxpayerTypeData.disabled = false
755   - this.data.taxpayerTypeData.selected = ''
  757 + this.data.taxpayerTypeData.selected = '非居民'
756 758 if ('居民身份证' == new_type || '中国护照' == new_type) {
757 759 this.data.overseas = '否'
758 760 this.data.countryData.selected = '中国'
... ... @@ -1420,7 +1422,7 @@ Page({
1420 1422 "other_name": that.data.hasOtherCard ? that.data.other_name : '',
1421 1423 "family_ties": '本人',//that.data.relativeData.selected,
1422 1424 "native": that.data.countryData.selected,
1423   - "taxpayer_type": that.data.taxpayerTypeData.selected == '居民' ? 'resident' :'non-resident',
  1425 + "taxpayer_type": that.data.taxpayerTypeData.selected == '非居民' ? 'non-resident' :'resident',
1424 1426 "is_overseas_personnel": that.data.overseas,
1425 1427 'birth_native': that.data.hasOtherCard ? that.data.birthCountryData.selected : '',
1426 1428 "id_card_type": that.data.cardtypeData.selected, //selected_code,
... ...
注册登录 后发表评论