提交 590ad293d97edce9ba0a5370b1662d87df3599c3

作者 pangy
1 个父辈 bc9a2a83

隐藏涉税事由

... ... @@ -90,14 +90,14 @@ Page({
90 90 placeholder: '请选择出生国家(地区)',
91 91 onChange: 'onPickerSelect',
92 92 },
93   - taxReasonData: {
94   - isrequre: true,
95   - label: '涉税事由',
96   - bindtype: 'tax_reason',
97   - placeholder: '请选择涉税事由',
98   - values: ["任职受雇","提供临时劳务","转让财产","从事投资和经营活动","其他"],
99   - onChange: 'onPickerSelect',
100   - },
  93 + // taxReasonData: {
  94 + // isrequre: true,
  95 + // label: '涉税事由',
  96 + // bindtype: 'tax_reason',
  97 + // placeholder: '请选择涉税事由',
  98 + // values: ["任职受雇","提供临时劳务","转让财产","从事投资和经营活动","其他"],
  99 + // onChange: 'onPickerSelect',
  100 + // },
101 101 taxpayerTypeData: {
102 102 isrequre: true,
103 103 label: '纳税人类型',
... ... @@ -452,7 +452,7 @@ Page({
452 452 this.data.predictLeaveDate.selected = (predictLeaveDate.indexOf("01-01-01") == -1) ? predictLeaveDate : ''
453 453 this.data.predictLeaveDate.datelong = tax_info.predict_leave_date
454 454 // this.data.professionData.selected = tax_info.profession.three_level_name
455   - this.data.taxReasonData.selected = tax_info.tax_reason
  455 + // this.data.taxReasonData.selected = tax_info.tax_reason
456 456 this.data.birthDate.end = curdate
457 457 this.data.startDate.end = curdate
458 458 this.data.endDate.end = curdate
... ... @@ -499,7 +499,7 @@ Page({
499 499 long_end_date: tax_info.separate_date ? tax_info.separate_date : 0,
500 500 endDate: this.data.endDate,
501 501 firstEntryDate: this.data.firstEntryDate,
502   - taxReasonData: this.data.taxReasonData,
  502 + // taxReasonData: this.data.taxReasonData,
503 503 predictLeaveDate: this.data.predictLeaveDate,
504 504 isIdCard: '居民身份证' == tax_info.id_card_type ? true : false,
505 505 card_number: this.data.card_number,
... ... @@ -873,16 +873,16 @@ Page({
873 873 })
874 874 }
875 875 break;
876   - case 'tax_reason':
877   - var taxReasonData = this.data.taxReasonData
878   - var reason = taxReasonData.values[e.detail.value]
879   - if (reason != taxReasonData.selected) {
880   - taxReasonData.selected = reason
881   - this.setData({
882   - taxReasonData: taxReasonData
883   - })
884   - }
885   - break;
  876 + // case 'tax_reason':
  877 + // var taxReasonData = this.data.taxReasonData
  878 + // var reason = taxReasonData.values[e.detail.value]
  879 + // if (reason != taxReasonData.selected) {
  880 + // taxReasonData.selected = reason
  881 + // this.setData({
  882 + // taxReasonData: taxReasonData
  883 + // })
  884 + // }
  885 + // break;
886 886 case 'taxpayerType':
887 887 var taxpayerTypeData = this.data.taxpayerTypeData
888 888 taxpayerTypeData.selected = taxpayerTypeData.values[e.detail.value]
... ... @@ -1241,10 +1241,10 @@ Page({
1241 1241 this.showtoast('请选择预计离境时间');
1242 1242 return
1243 1243 }
1244   - if (this.data.hasOtherCard && !this.data.taxReasonData.selected) {
1245   - this.showtoast('请选择涉税事由');
1246   - return
1247   - }
  1244 + // if (this.data.hasOtherCard && !this.data.taxReasonData.selected) {
  1245 + // this.showtoast('请选择涉税事由');
  1246 + // return
  1247 + // }
1248 1248 if (this.data.hasOtherCard && !this.data.otherCardtypeData.selected && this.data.otherCardtypeData.isrequre) {
1249 1249 this.showtoast('请选择其他证照类型');
1250 1250 return
... ... @@ -1410,7 +1410,7 @@ Page({
1410 1410 "birth_date": that.data.long_birth_date,
1411 1411 "first_entry_date": that.data.hasOtherCard ? that.data.firstEntryDate.datelong : null,
1412 1412 "predict_leave_date": that.data.hasOtherCard ? that.data.predictLeaveDate.datelong : null,
1413   - "tax_reason": that.data.hasOtherCard ? that.data.taxReasonData.selected : null,
  1413 + // "tax_reason": that.data.hasOtherCard ? that.data.taxReasonData.selected : null,
1414 1414 "mobile": that.data.mobile,
1415 1415 "current_address": request_current_address,
1416 1416 "current_address_detail": formdata.current_address_detail,
... ...
... ... @@ -74,8 +74,8 @@
74 74 <template is="picker_cell_normal" data="{{...predictLeaveDate}}" />
75 75 <view class="divide_line_30"></view>
76 76 <template is="picker_cell_normal" data="{{...birthCountryData}}" />
77   - <view class="divide_line_30"></view>
78   - <template is="picker_cell_normal" data="{{...taxReasonData}}" />
  77 + <!-- <view class="divide_line_30"></view>
  78 + <template is="picker_cell_normal" data="{{...taxReasonData}}" /> -->
79 79 </view>
80 80 <view wx:if='{{hasOtherCard}}'>
81 81 <view wx:if='{{isshow01 || otherCardtypeData.isrequre}}'>
... ...
注册登录 后发表评论