提交 d6e6bcd687d576d53e3ea8939091c7f53dfd6684

作者 pangy
1 个父辈 5cd920f9

优化自然人

... ... @@ -85,7 +85,7 @@ Page({
85 85 isrequre: true,
86 86 label: '出生国家(地区)',
87 87 bindtype: 'brith_country',
88   - placeholder: '请选择国籍',
  88 + placeholder: '请选择出生国家(地区)',
89 89 onChange: 'onPickerSelect',
90 90 },
91 91 taxpayerTypeData: {
... ... @@ -1336,20 +1336,20 @@ Page({
1336 1336 data: {
1337 1337 'certification_status': that.getCertifyStatus(formdata),
1338 1338 "name": that.data.name,
1339   - "other_name": that.data.other_name,
  1339 + "other_name": that.data.hasOtherCard ? that.data.other_name : '',
1340 1340 "family_ties": '本人',//that.data.relativeData.selected,
1341 1341 "native": that.data.countryData.selected,
1342 1342 "taxpayer_type": that.data.taxpayerTypeData.selected == '居民' ? 'resident' :'non-resident',
1343 1343 "is_overseas_personnel": that.data.overseas,
1344   - 'birth_native': that.data.birthCountryData.selected,
  1344 + 'birth_native': that.data.hasOtherCard ? that.data.birthCountryData.selected : '',
1345 1345 "id_card_type": that.data.cardtypeData.selected, //selected_code,
1346 1346 "id_card_no": that.data.card_number,
1347   - "other_id_card_type": that.data.otherCardtypeData.selected, //selected_code,
1348   - "other_id_card_no": formdata.other_card_number,
  1347 + "other_id_card_type": that.data.hasOtherCard ? that.data.otherCardtypeData.selected : '', //selected_code,
  1348 + "other_id_card_no": that.data.hasOtherCard ? formdata.other_card_number : '',
1349 1349 "gender": that.data.genderData.selected,
1350 1350 "birth_date": that.data.long_birth_date,
1351   - "first_entry_date": that.data.firstEntryDate.datelong,
1352   - "predict_leave_date": that.data.predictLeaveDate.datelong,
  1351 + "first_entry_date": that.data.hasOtherCard ? that.data.firstEntryDate.datelong : null,
  1352 + "predict_leave_date": that.data.hasOtherCard ? that.data.predictLeaveDate.datelong : null,
1353 1353 "mobile": that.data.mobile,
1354 1354 "current_address": request_current_address,
1355 1355 "current_address_detail": formdata.current_address_detail,
... ...
注册登录 后发表评论