正在显示
2 个修改的文件
包含
27 行增加
和
27 行删除
@@ -90,14 +90,14 @@ Page({ | @@ -90,14 +90,14 @@ Page({ | ||
90 | placeholder: '请选择出生国家(地区)', | 90 | placeholder: '请选择出生国家(地区)', |
91 | onChange: 'onPickerSelect', | 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 | taxpayerTypeData: { | 101 | taxpayerTypeData: { |
102 | isrequre: true, | 102 | isrequre: true, |
103 | label: '纳税人类型', | 103 | label: '纳税人类型', |
@@ -452,7 +452,7 @@ Page({ | @@ -452,7 +452,7 @@ Page({ | ||
452 | this.data.predictLeaveDate.selected = (predictLeaveDate.indexOf("01-01-01") == -1) ? predictLeaveDate : '' | 452 | this.data.predictLeaveDate.selected = (predictLeaveDate.indexOf("01-01-01") == -1) ? predictLeaveDate : '' |
453 | this.data.predictLeaveDate.datelong = tax_info.predict_leave_date | 453 | this.data.predictLeaveDate.datelong = tax_info.predict_leave_date |
454 | // this.data.professionData.selected = tax_info.profession.three_level_name | 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 | this.data.birthDate.end = curdate | 456 | this.data.birthDate.end = curdate |
457 | this.data.startDate.end = curdate | 457 | this.data.startDate.end = curdate |
458 | this.data.endDate.end = curdate | 458 | this.data.endDate.end = curdate |
@@ -499,7 +499,7 @@ Page({ | @@ -499,7 +499,7 @@ Page({ | ||
499 | long_end_date: tax_info.separate_date ? tax_info.separate_date : 0, | 499 | long_end_date: tax_info.separate_date ? tax_info.separate_date : 0, |
500 | endDate: this.data.endDate, | 500 | endDate: this.data.endDate, |
501 | firstEntryDate: this.data.firstEntryDate, | 501 | firstEntryDate: this.data.firstEntryDate, |
502 | - taxReasonData: this.data.taxReasonData, | 502 | + // taxReasonData: this.data.taxReasonData, |
503 | predictLeaveDate: this.data.predictLeaveDate, | 503 | predictLeaveDate: this.data.predictLeaveDate, |
504 | isIdCard: '居民身份证' == tax_info.id_card_type ? true : false, | 504 | isIdCard: '居民身份证' == tax_info.id_card_type ? true : false, |
505 | card_number: this.data.card_number, | 505 | card_number: this.data.card_number, |
@@ -873,16 +873,16 @@ Page({ | @@ -873,16 +873,16 @@ Page({ | ||
873 | }) | 873 | }) |
874 | } | 874 | } |
875 | break; | 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 | case 'taxpayerType': | 886 | case 'taxpayerType': |
887 | var taxpayerTypeData = this.data.taxpayerTypeData | 887 | var taxpayerTypeData = this.data.taxpayerTypeData |
888 | taxpayerTypeData.selected = taxpayerTypeData.values[e.detail.value] | 888 | taxpayerTypeData.selected = taxpayerTypeData.values[e.detail.value] |
@@ -1241,10 +1241,10 @@ Page({ | @@ -1241,10 +1241,10 @@ Page({ | ||
1241 | this.showtoast('请选择预计离境时间'); | 1241 | this.showtoast('请选择预计离境时间'); |
1242 | return | 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 | if (this.data.hasOtherCard && !this.data.otherCardtypeData.selected && this.data.otherCardtypeData.isrequre) { | 1248 | if (this.data.hasOtherCard && !this.data.otherCardtypeData.selected && this.data.otherCardtypeData.isrequre) { |
1249 | this.showtoast('请选择其他证照类型'); | 1249 | this.showtoast('请选择其他证照类型'); |
1250 | return | 1250 | return |
@@ -1410,7 +1410,7 @@ Page({ | @@ -1410,7 +1410,7 @@ Page({ | ||
1410 | "birth_date": that.data.long_birth_date, | 1410 | "birth_date": that.data.long_birth_date, |
1411 | "first_entry_date": that.data.hasOtherCard ? that.data.firstEntryDate.datelong : null, | 1411 | "first_entry_date": that.data.hasOtherCard ? that.data.firstEntryDate.datelong : null, |
1412 | "predict_leave_date": that.data.hasOtherCard ? that.data.predictLeaveDate.datelong : null, | 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 | "mobile": that.data.mobile, | 1414 | "mobile": that.data.mobile, |
1415 | "current_address": request_current_address, | 1415 | "current_address": request_current_address, |
1416 | "current_address_detail": formdata.current_address_detail, | 1416 | "current_address_detail": formdata.current_address_detail, |
@@ -74,8 +74,8 @@ | @@ -74,8 +74,8 @@ | ||
74 | <template is="picker_cell_normal" data="{{...predictLeaveDate}}" /> | 74 | <template is="picker_cell_normal" data="{{...predictLeaveDate}}" /> |
75 | <view class="divide_line_30"></view> | 75 | <view class="divide_line_30"></view> |
76 | <template is="picker_cell_normal" data="{{...birthCountryData}}" /> | 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 | </view> | 79 | </view> |
80 | <view wx:if='{{hasOtherCard}}'> | 80 | <view wx:if='{{hasOtherCard}}'> |
81 | <view wx:if='{{isshow01 || otherCardtypeData.isrequre}}'> | 81 | <view wx:if='{{isshow01 || otherCardtypeData.isrequre}}'> |
请
注册
或
登录
后发表评论