提交 3b39c573cac8ab05dc7a967c85df2d3adb699d04

作者 wangyu
2 个父辈 09b77ca0 5ec82eba

Merge branch 'dev2.0' of http://192.144.137.25:8888/wangyu/naturalPersonTax into dev2.0

@@ -4,8 +4,8 @@ var OSSInit; @@ -4,8 +4,8 @@ var OSSInit;
4 var app = getApp(); 4 var app = getApp();
5 var baseUrl = app.globalData.baseUrl; 5 var baseUrl = app.globalData.baseUrl;
6 const AddTypeNames = { 'children_education': '子女教育', 'continuing_education': '继续教育', 'support_duty': '赡养老人', 'medical_fund': '大病医疗', 'house_fund': '住房' } 6 const AddTypeNames = { 'children_education': '子女教育', 'continuing_education': '继续教育', 'support_duty': '赡养老人', 'medical_fund': '大病医疗', 'house_fund': '住房' }
7 -const Deduce_amounts_month = { 'children_education': 1000, 'continuing_education': '', 'support_duty': '', 'medical_fund': '','house_fund':''}  
8 -const Deduce_amounts_year = { 'children_education': 12000, 'continuing_education': '', 'support_duty': '', 'medical_fund': '', 'house_fund': '' } 7 +const Deduce_amounts_month = { 'children_education': 1000, 'continuing_education': 400, 'support_duty': '', 'medical_fund': '','house_fund':''}
  8 +const Deduce_amounts_year = { 'children_education': 12000, 'continuing_education': 4800, 'support_duty': '', 'medical_fund': '', 'house_fund': '' }
9 9
10 Page({ 10 Page({
11 idcard_belong:null,//照片信息获取返回时判断所属 11 idcard_belong:null,//照片信息获取返回时判断所属
@@ -181,6 +181,7 @@ Page({ @@ -181,6 +181,7 @@ Page({
181 }, 181 },
182 reducetypeData: { 182 reducetypeData: {
183 label: '扣除方式', 183 label: '扣除方式',
  184 + isrequre: true,
184 bindtype: 'reduce_type', 185 bindtype: 'reduce_type',
185 selected: '', 186 selected: '',
186 isblack: 'true', 187 isblack: 'true',
@@ -599,8 +600,6 @@ Page({ @@ -599,8 +600,6 @@ Page({
599 return 600 return
600 } else if (this.data.edu_lable == 'school') { 601 } else if (this.data.edu_lable == 'school') {
601 // newdata.edu_type_lable = '0' 602 // newdata.edu_type_lable = '0'
602 - newdata.study_startdate = this.data.studystartdate.selected  
603 - newdata.study_enddate = this.data.studyenddate.selected  
604 if (this.data.edulevelData.selected.length < 1) { 603 if (this.data.edulevelData.selected.length < 1) {
605 this.showToast('请选择学历教育阶段') 604 this.showToast('请选择学历教育阶段')
606 return 605 return
@@ -613,6 +612,8 @@ Page({ @@ -613,6 +612,8 @@ Page({
613 this.showToast('请选择受教育日期') 612 this.showToast('请选择受教育日期')
614 return 613 return
615 } 614 }
  615 + newdata.education_start = this.data.studystartdate.datelong
  616 + newdata.education_end = this.data.studyenddate.datelong
616 newdata.education_type = 'title'//学历 617 newdata.education_type = 'title'//学历
617 newdata.education_period = this.data.edulevelData.selected 618 newdata.education_period = this.data.edulevelData.selected
618 } else if (this.data.edu_lable == 'tech') { 619 } else if (this.data.edu_lable == 'tech') {
@@ -636,8 +637,6 @@ Page({ @@ -636,8 +637,6 @@ Page({
636 // newdata.edu_type_lable = '1' 637 // newdata.edu_type_lable = '1'
637 newdata.education_type = this.data.edustyleData.selected == '职业能力' ? 'profession' : 'major' 638 newdata.education_type = this.data.edustyleData.selected == '职业能力' ? 'profession' : 'major'
638 } 639 }
639 - newdata.education_end = this.data.studystartdate.datelong  
640 - newdata.education_start = this.data.studyenddate.datelong  
641 break; 640 break;
642 case 'support_duty': 641 case 'support_duty':
643 if (this.data.supporttypeData.selected.length < 1) { 642 if (this.data.supporttypeData.selected.length < 1) {
@@ -83,16 +83,19 @@ @@ -83,16 +83,19 @@
83 <template is="picker_cell_normal" data="{{...edustyleData}}" /> 83 <template is="picker_cell_normal" data="{{...edustyleData}}" />
84 <view class='divide_line_f5f5f5'></view> 84 <view class='divide_line_f5f5f5'></view>
85 <view style='height:90rpx'> 85 <view style='height:90rpx'>
  86 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
86 <text class='text_black_30 float_left'>证书名称</text> 87 <text class='text_black_30 float_left'>证书名称</text>
87 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书名称' name='occupational_qualifiy_name'></input> 88 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书名称' name='occupational_qualifiy_name'></input>
88 </view> 89 </view>
89 <view class='divide_line_f5f5f5'></view> 90 <view class='divide_line_f5f5f5'></view>
90 <view style='height:90rpx'> 91 <view style='height:90rpx'>
  92 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
91 <text class='text_black_30 float_left'>证书编号</text> 93 <text class='text_black_30 float_left'>证书编号</text>
92 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书编号' name='certification_no'></input> 94 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入证书编号' name='certification_no'></input>
93 </view> 95 </view>
94 <view class='divide_line_f5f5f5'></view> 96 <view class='divide_line_f5f5f5'></view>
95 <view style='height:90rpx'> 97 <view style='height:90rpx'>
  98 + <text style='color:red;font-size: 30rpx;line-height: 90rpx;float:left'>*</text>
96 <text class='text_black_30 float_left'>发证机关</text> 99 <text class='text_black_30 float_left'>发证机关</text>
97 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入发证机关' name='certification_autority'></input> 100 <input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入发证机关' name='certification_autority'></input>
98 </view> 101 </view>
注册登录 后发表评论