提交 9db504ede7ddafb7059253f17d72c43763fbd918

作者 pangy
1 个父辈 2b7a0c1a

居民改字段

@@ -399,7 +399,7 @@ Page({ @@ -399,7 +399,7 @@ Page({
399 this.data.overseas = tax_info.is_overseas_personnel 399 this.data.overseas = tax_info.is_overseas_personnel
400 this.data.countryData.selected = tax_info.native 400 this.data.countryData.selected = tax_info.native
401 this.data.birthCountryData.selected = tax_info.brith_native 401 this.data.birthCountryData.selected = tax_info.brith_native
402 - this.data.taxpayerTypeData.selected = tax_info.taxpayer_type 402 + this.data.taxpayerTypeData.selected = tax_info.taxpayer_type =='resident'?'居民':'非居民'
403 403
404 this.data.mobile = tax_info.mobile 404 this.data.mobile = tax_info.mobile
405 this.data.investInfo.selected = tax_info.is_investor 405 this.data.investInfo.selected = tax_info.is_investor
@@ -1173,7 +1173,7 @@ Page({ @@ -1173,7 +1173,7 @@ Page({
1173 this.showtoast('请选择其他证照类型'); 1173 this.showtoast('请选择其他证照类型');
1174 return 1174 return
1175 } 1175 }
1176 - if (this.data.hasOtherCard && !this.data.other_card_number.length) { 1176 + if (this.data.hasOtherCard && !formdata.other_card_number.length) {
1177 this.showtoast('请输入其他证照号码'); 1177 this.showtoast('请输入其他证照号码');
1178 return 1178 return
1179 } 1179 }
@@ -1298,12 +1298,12 @@ Page({ @@ -1298,12 +1298,12 @@ Page({
1298 "other_name": that.data.other_name, 1298 "other_name": that.data.other_name,
1299 "family_ties": '本人',//that.data.relativeData.selected, 1299 "family_ties": '本人',//that.data.relativeData.selected,
1300 "native": that.data.countryData.selected, 1300 "native": that.data.countryData.selected,
1301 - "taxpayer_type": that.data.taxpayerTypeData.selected, 1301 + "taxpayer_type": that.data.taxpayerTypeData.selected == '是' ? 'resident' :'non-resident',
1302 "is_overseas_personnel": that.data.overseas, 1302 "is_overseas_personnel": that.data.overseas,
1303 "id_card_type": ''+that.data.cardtypeData.selected_code, 1303 "id_card_type": ''+that.data.cardtypeData.selected_code,
1304 "id_card_no": that.data.card_number, 1304 "id_card_no": that.data.card_number,
1305 "other_id_card_type": that.data.otherCardtypeData.selected_code, 1305 "other_id_card_type": that.data.otherCardtypeData.selected_code,
1306 - "other_id_card_no": that.data.other_card_number, 1306 + "other_id_card_no": formdata.other_card_number,
1307 "gender": that.data.genderData.selected, 1307 "gender": that.data.genderData.selected,
1308 "birth_date": that.data.long_birth_date, 1308 "birth_date": that.data.long_birth_date,
1309 "first_entry_date": that.data.firstEntryDate.datelong, 1309 "first_entry_date": that.data.firstEntryDate.datelong,
@@ -79,7 +79,7 @@ @@ -79,7 +79,7 @@
79 <text class='red_star_right_10'>*</text> 79 <text class='red_star_right_10'>*</text>
80 <text class='text_777_30 float_left' style='line-height: 90rpx'>其他证照号码</text> 80 <text class='text_777_30 float_left' style='line-height: 90rpx'>其他证照号码</text>
81 <view> 81 <view>
82 - <input class='input_wrap' placeholder="请输入证照号码" value="{{other_card_number}}" name='other_id_card_no' maxlength='30'></input> 82 + <input class='input_wrap' placeholder="请输入证照号码" value="{{other_card_number}}" name='other_card_number' maxlength='30'></input>
83 </view> 83 </view>
84 </view> 84 </view>
85 <view class="divide_line_30"></view> 85 <view class="divide_line_30"></view>
注册登录 后发表评论