正在显示
6 个修改的文件
包含
41 行增加
和
51 行删除
images/close02.png
0 → 100644
2.1 KB
@@ -111,6 +111,6 @@ | @@ -111,6 +111,6 @@ | ||
111 | 111 | ||
112 | </view> | 112 | </view> |
113 | <view wx:if="{{hascompleted&&additionlist.length<1}}" style='background:#fff;'> | 113 | <view wx:if="{{hascompleted&&additionlist.length<1}}" style='background:#fff;'> |
114 | - <image style='width:55%;height:254rpx;margin:400rpx 166rpx 0 166rpx;' src='/images/nodeclare_img.png'></image> | 114 | + <image style='width:55%;height:254rpx;margin:400rpx 166rpx 0 166rpx;' src='/images/noreduce_img.png'></image> |
115 | </view> | 115 | </view> |
116 | </view> | 116 | </view> |
@@ -34,11 +34,11 @@ Page({ | @@ -34,11 +34,11 @@ Page({ | ||
34 | this.setData({ | 34 | this.setData({ |
35 | onresume:true | 35 | onresume:true |
36 | }) | 36 | }) |
37 | - this.checkUserInfo() | 37 | + this.checkUserInfo("") |
38 | }, | 38 | }, |
39 | 39 | ||
40 | //判断该雇员是否有姓名和身份证号 | 40 | //判断该雇员是否有姓名和身份证号 |
41 | - checkUserInfo: function() { | 41 | + checkUserInfo: function (skip_type) { |
42 | var that = this; | 42 | var that = this; |
43 | Authorization = getApp().globalData.Authorization; | 43 | Authorization = getApp().globalData.Authorization; |
44 | var real_auth_status = getApp().globalData.real_auth_status | 44 | var real_auth_status = getApp().globalData.real_auth_status |
@@ -53,47 +53,16 @@ Page({ | @@ -53,47 +53,16 @@ Page({ | ||
53 | has_verify: true, | 53 | has_verify: true, |
54 | onresume: false, | 54 | onresume: false, |
55 | }) | 55 | }) |
56 | - that.taxconfirm(); | 56 | + that.taxconfirm(skip_type); |
57 | } else { | 57 | } else { |
58 | that.setData({ | 58 | that.setData({ |
59 | has_verify: false | 59 | has_verify: false |
60 | }) | 60 | }) |
61 | } | 61 | } |
62 | - // wx.request({ | ||
63 | - // url: baseUrl + 'socialwork/v1/employees/verify', | ||
64 | - // data: {}, | ||
65 | - // header: { | ||
66 | - // 'content-type': 'application/json', | ||
67 | - // "Authorization": Authorization | ||
68 | - // }, | ||
69 | - // success: function(res) { | ||
70 | - // if (res.statusCode && res.statusCode >= 300) { | ||
71 | - // wx.showToast({ | ||
72 | - // title: res.data.message, | ||
73 | - // icon: 'none', | ||
74 | - // duration: 1000 | ||
75 | - // }) | ||
76 | - // } else { | ||
77 | - // // that.setData({ | ||
78 | - // // has_verify: false | ||
79 | - // // }) | ||
80 | - // if (!res.data.need_verify) { //不需要再实名认证 | ||
81 | - // that.setData({ | ||
82 | - // has_verify: true | ||
83 | - // }) | ||
84 | - // that.taxconfirm(); | ||
85 | - // } else { | ||
86 | - // that.setData({ | ||
87 | - // has_verify: false | ||
88 | - // }) | ||
89 | - // } | ||
90 | - // } | ||
91 | - // } | ||
92 | - // }) | ||
93 | } | 62 | } |
94 | }, | 63 | }, |
95 | 64 | ||
96 | - taxconfirm: function() { | 65 | + taxconfirm: function(skip_type) { |
97 | var that = this; | 66 | var that = this; |
98 | Authorization = getApp().globalData.Authorization; | 67 | Authorization = getApp().globalData.Authorization; |
99 | 68 | ||
@@ -111,6 +80,23 @@ Page({ | @@ -111,6 +80,23 @@ Page({ | ||
111 | that.setData({ | 80 | that.setData({ |
112 | isshow: false | 81 | isshow: false |
113 | }) | 82 | }) |
83 | + if(skip_type=="1"){ | ||
84 | + wx.navigateTo({ | ||
85 | + url: '../taxperson/home', | ||
86 | + }) | ||
87 | + } else if (skip_type == "2") { | ||
88 | + wx.navigateTo({ | ||
89 | + url: '../addtionalreduce/home', | ||
90 | + }) | ||
91 | + } else if (skip_type == "3") { | ||
92 | + wx.navigateTo({ | ||
93 | + url: '../advancepayment/adPayHome', | ||
94 | + }) | ||
95 | + } else if (skip_type == "4") { | ||
96 | + wx.navigateTo({ | ||
97 | + url: '../finalpayment/home', | ||
98 | + }) | ||
99 | + } | ||
114 | } | 100 | } |
115 | } | 101 | } |
116 | }) | 102 | }) |
@@ -133,7 +119,9 @@ Page({ | @@ -133,7 +119,9 @@ Page({ | ||
133 | that.setData({ | 119 | that.setData({ |
134 | isshow: false | 120 | isshow: false |
135 | }) | 121 | }) |
136 | - that.gotaxPerson() | 122 | + wx.navigateTo({ |
123 | + url: '../taxperson/home', | ||
124 | + }) | ||
137 | } | 125 | } |
138 | } | 126 | } |
139 | }) | 127 | }) |
@@ -143,36 +131,28 @@ Page({ | @@ -143,36 +131,28 @@ Page({ | ||
143 | * 自然人信息采集 | 131 | * 自然人信息采集 |
144 | */ | 132 | */ |
145 | gotaxPerson: function() { | 133 | gotaxPerson: function() { |
146 | - wx.navigateTo({ | ||
147 | - url: '../taxperson/home', | ||
148 | - }) | 134 | + this.checkUserInfo("1") |
149 | }, | 135 | }, |
150 | 136 | ||
151 | /** | 137 | /** |
152 | * 专项附加扣除 | 138 | * 专项附加扣除 |
153 | */ | 139 | */ |
154 | goAdditionalDiduction: function() { | 140 | goAdditionalDiduction: function() { |
155 | - wx.navigateTo({ | ||
156 | - url: '../addtionalreduce/home', | ||
157 | - }) | 141 | + this.checkUserInfo("2") |
158 | }, | 142 | }, |
159 | 143 | ||
160 | /** | 144 | /** |
161 | * 预扣预缴 | 145 | * 预扣预缴 |
162 | */ | 146 | */ |
163 | goAdvancePayment: function() { | 147 | goAdvancePayment: function() { |
164 | - wx.navigateTo({ | ||
165 | - url: '../advancepayment/adPayHome', | ||
166 | - }) | 148 | + this.checkUserInfo("3") |
167 | }, | 149 | }, |
168 | 150 | ||
169 | /** | 151 | /** |
170 | * 汇算清缴 | 152 | * 汇算清缴 |
171 | */ | 153 | */ |
172 | goFinalPayment: function() { | 154 | goFinalPayment: function() { |
173 | - wx.navigateTo({ | ||
174 | - url: '../finalpayment/home', | ||
175 | - }) | 155 | + this.checkUserInfo("4") |
176 | }, | 156 | }, |
177 | 157 | ||
178 | gochat: function() { | 158 | gochat: function() { |
@@ -224,6 +204,12 @@ Page({ | @@ -224,6 +204,12 @@ Page({ | ||
224 | }) | 204 | }) |
225 | }, | 205 | }, |
226 | 206 | ||
207 | + close02:function(){ | ||
208 | + this.setData({ | ||
209 | + has_verify: true | ||
210 | + }) | ||
211 | + }, | ||
212 | + | ||
227 | /** | 213 | /** |
228 | * 生命周期函数--监听页面卸载 | 214 | * 生命周期函数--监听页面卸载 |
229 | */ | 215 | */ |
@@ -54,6 +54,7 @@ Page({ | @@ -54,6 +54,7 @@ Page({ | ||
54 | bindtype: 'forigner', | 54 | bindtype: 'forigner', |
55 | placeholder: '是否境外人员', | 55 | placeholder: '是否境外人员', |
56 | disabled: true, | 56 | disabled: true, |
57 | + selected:"否", | ||
57 | values: ["否", "是"], | 58 | values: ["否", "是"], |
58 | onChange: 'onPickerSelect' | 59 | onChange: 'onPickerSelect' |
59 | }, | 60 | }, |
@@ -104,6 +104,7 @@ Page({ | @@ -104,6 +104,7 @@ Page({ | ||
104 | label: '纳税人类型', | 104 | label: '纳税人类型', |
105 | bindtype: 'taxpayerType', | 105 | bindtype: 'taxpayerType', |
106 | placeholder: '请选择纳税人类型', | 106 | placeholder: '请选择纳税人类型', |
107 | + selected:"居民", | ||
107 | values: ["居民", "非居民"], | 108 | values: ["居民", "非居民"], |
108 | onChange: 'onPickerSelect' | 109 | onChange: 'onPickerSelect' |
109 | }, | 110 | }, |
@@ -113,6 +114,7 @@ Page({ | @@ -113,6 +114,7 @@ Page({ | ||
113 | bindtype: 'forigner', | 114 | bindtype: 'forigner', |
114 | placeholder: '请选择', | 115 | placeholder: '请选择', |
115 | disabled: true, | 116 | disabled: true, |
117 | + selected:"否", | ||
116 | values: ["否", "是"], | 118 | values: ["否", "是"], |
117 | onChange: 'onPickerSelect' | 119 | onChange: 'onPickerSelect' |
118 | }, | 120 | }, |
@@ -752,7 +754,7 @@ Page({ | @@ -752,7 +754,7 @@ Page({ | ||
752 | this.data.hasOtherCard = true | 754 | this.data.hasOtherCard = true |
753 | this.data.overseas = '是' | 755 | this.data.overseas = '是' |
754 | this.data.taxpayerTypeData.disabled = false | 756 | this.data.taxpayerTypeData.disabled = false |
755 | - this.data.taxpayerTypeData.selected = '' | 757 | + this.data.taxpayerTypeData.selected = '非居民' |
756 | if ('居民身份证' == new_type || '中国护照' == new_type) { | 758 | if ('居民身份证' == new_type || '中国护照' == new_type) { |
757 | this.data.overseas = '否' | 759 | this.data.overseas = '否' |
758 | this.data.countryData.selected = '中国' | 760 | this.data.countryData.selected = '中国' |
@@ -1420,7 +1422,7 @@ Page({ | @@ -1420,7 +1422,7 @@ Page({ | ||
1420 | "other_name": that.data.hasOtherCard ? that.data.other_name : '', | 1422 | "other_name": that.data.hasOtherCard ? that.data.other_name : '', |
1421 | "family_ties": '本人',//that.data.relativeData.selected, | 1423 | "family_ties": '本人',//that.data.relativeData.selected, |
1422 | "native": that.data.countryData.selected, | 1424 | "native": that.data.countryData.selected, |
1423 | - "taxpayer_type": that.data.taxpayerTypeData.selected == '居民' ? 'resident' :'non-resident', | 1425 | + "taxpayer_type": that.data.taxpayerTypeData.selected == '非居民' ? 'non-resident' :'resident', |
1424 | "is_overseas_personnel": that.data.overseas, | 1426 | "is_overseas_personnel": that.data.overseas, |
1425 | 'birth_native': that.data.hasOtherCard ? that.data.birthCountryData.selected : '', | 1427 | 'birth_native': that.data.hasOtherCard ? that.data.birthCountryData.selected : '', |
1426 | "id_card_type": that.data.cardtypeData.selected, //selected_code, | 1428 | "id_card_type": that.data.cardtypeData.selected, //selected_code, |
请
注册
或
登录
后发表评论