提交 3d8c5d2483d75e040795f8cb7010b39ee499f625

作者 wangyu
1 个父辈 04f4652c

优化

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