lookandupdate.wxml
20.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
<!--pages/main/addtionalreduce/childreneducate/childreneducate.wxml-->
<view style='width:100%;height:100%;background:#FCFCFC;'>
<view style='display:flex;flex-direction:column;margin-bottom:140rpx;'>
<image class='openmodal_img' src="/images/openmodal_img.png" bindtap='showModalImg'></image>
<view style='height:100rpx;padding:0 30rpx;background:#FFF' bindtap='showModalReducetype' hidden="{{cur_status=='continuing_education'}}">
<text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>扣除方式</text>
<image class='arrow_img float_right' style='margin-top:28rpx' src="/images/arrow_right.png"></image>
<text class='text_999_30 float_right' style='line-height:100rpx'>{{reducetypeData[selected_reduceindex]}}</text>
</view>
<view wx:if="{{additionInfo&&additionInfo.length>0}}">
<view wx:if="{{cur_status=='children_education'}}">
<view wx:for="{{additionInfo}}">
<view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
<view style='height:110rpx'>
<text class='text_gray_36 float_left' style='line-height:110rpx'>{{item.children_name}}</text>
<view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
<view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
<view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
</view>
<view style='padding-right: 30rpx'>
<view class='divide_line_f5f5f5'></view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>子女姓名:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.children_name}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>分配比例:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.percent}}%</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text>
</view>
<view class='divide_line_f5f5f5'></view>
<text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
<view class='float_right' wx:if="{{item.status=='failed'}}">
<text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
<text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{cur_status=='continuing_education'}}">
<view wx:for="{{additionInfo}}">
<view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
<view style='height:110rpx'>
<text class='text_gray_36' style='line-height:110rpx'>非学历教育</text>
<view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
<view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
<view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
</view>
<view style='padding-right:30rpx'>
<view class='divide_line_f5f5f5'></view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>教育类别:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>教育类型:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>证书名称:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_name}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>证书编号:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>发证机关:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.certification_no}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text>
</view>
</view>
</view>
<view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
<view style='height:110rpx'>
<text class='text_gray_36' style='line-height:110rpx'>学历教育</text>
<view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
<view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
<view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
</view>
<view style='padding-right:right'>
<view class='divide_line_f5f5f5'></view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>教育类别:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>受教育阶段:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.education_period}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>受教育日期起:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>受教育日期止:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text>
</view>
</view>
</view>
<view class='float_right' wx:if="{{item.status=='failed'}}">
<text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
<text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
</view>
</view>
</view>
<view wx:if="{{cur_status=='support_duty'}}">
<view wx:for="{{additionInfo}}">
<view style='margin:30rpx;padding-left:30rpx' class='card_rectangle_bg_column'>
<view style='height:110rpx'>
<text class='text_gray_36 float_left' style='line-height:110rpx'>被赡养人</text>
<view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
<view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
<view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
</view>
<view style='padding-right:30rpx'>
<view class='divide_line_f5f5f5'></view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>被赡养人姓名:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>分摊比例:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text>
</view>
<view class='divide_line_f5f5f5'></view>
<text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
<view class='float_right' wx:if="{{item.status=='failed'}}">
<text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
<text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
</view>
</view>
</view>
<view>
<view style='background:#FFF;padding:30rpx'>
<view style='line-height:84rpx;text-align:center;font-size:34rpx;color:#fff;background:#357AEB;' id='{{index}}' bindtap='goadd'>
添加
</view>
</view>
<view style='margin-left:30rpx' wx:if="{{!item.co_supporters||item.co_supporters.length<1}}">
<text class='text_999_28'>您还没有添加继续共同赡养人,</text>
<text class='text_blue_28' bindtap='goaddSupporter'>请添加</text>
</view>
</view>
</view>
</view>
<view wx:if="{{cur_status=='medical_fund'}}">
<view class='divide_line_f5f5f5'></view>
<view style='height:100rpx;margin:0 30rpx;background:#FFF' bindtap='reducetype'>
<text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>个人负担总金额</text>
<text class='text_orange_28 float_right' style='line-height:100rpx'>¥10</text>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:100rpx;margin:0 30rpx;background:#FFF' bindtap='reducetype'>
<text style='font-size:30rpx;color:#333;line-height:100rpx;font-family: PingFangSC-Semibold;float:left'>可扣除金额</text>
<text class='text_orange_28 float_right' style='line-height:100rpx'>¥0</text>
</view>
<view class='divide_line_f5f5f5'></view>
<view wx:for="{{additionInfo}}">
<view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
<view style='height:110rpx'>
<text class='text_gray_36' style='line-height:110rpx'>支出明细</text>
<view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
<view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
<view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
</view>
<view style='padding-right:30rpx'>
<view class='divide_line_f5f5f5'></view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>姓名:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>身份证件类型:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>身份证件号码:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>123</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>与纳税人关系:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>1234</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>医疗支出总金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥12345元</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>个人负担金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥2345元</text>
</view>
<view class='float_right' wx:if="{{item.status!='failed'}}">
<text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
<text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{cur_status=='house_fund'}}">
<view wx:for="{{additionInfo}}">
<view style='margin:30rpx;padding-left: 30rpx' class='card_rectangle_bg_column'>
<view style='height:110rpx'>
<text class='text_gray_36 float_left' style='line-height:110rpx'>住房</text>
<view wx:if="{{item.status=='failed'}}" class='declare_style red_bg'> {{declareStatus[item.status]}}</view>
<view wx:if="{{item.status=='success'}}" class='declare_style blue_bg'> {{declareStatus[item.status]}}</view>
<view wx:else class='declare_style orange_bg'> {{declareStatus[item.status]}}</view>
</view>
<view style='padding-right: 30rpx'>
<view class='divide_line_f5f5f5'></view>
<view style=''>
<text class='text_999_28 ' style='line-height:70rpx'>租赁房屋坐落地址:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>北京市 市辖区 朝阳区</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>瑞创国际SA大厦1101</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除方式:</text>
<text class='text_333_28 ' style='line-height:70rpx;margin-left:20rpx'>{{item.deduction_type}}</text>
</view>
<view style='height:70rpx'>
<text class='text_999_28 ' style='line-height:70rpx'>扣除金额:</text>
<text class='text_orange_28 ' style='line-height:70rpx;margin-left:20rpx'>¥{{item.deduction_amount}}</text>
</view>
<view class='divide_line_f5f5f5'></view>
<text class='text_blue_28 float_right' style='line-height:90rpx;margin-left:40rpx' id='{{index}}' bindtap='showdetail'>查看</text>
<view class='float_right' wx:if="{{item.status=='failed'}}">
<text class='text_999_28 ' style='line-height:90rpx;margin-right:40rpx' id='{{index}}' bindtap='godelete'>删除</text>
<text class='text_blue_28 ' style='line-height:90rpx;' id='{{index}}' bindtap='goedit'>编辑</text>
</view>
</view>
</view>
</view>
</view>
</view>
<view wx:if="{{!additionInfo||additionInfo.length<1}}">
<image style='width:55%;height:254rpx;margin:166rpx;' src='/images/noreduce_img.png'></image>
</view>
</view>
<view class='bottom_btn_wrap' hidden="{{additionInfo&&additionInfo.length>0&&cur_status=='support_duty'}}">
<view class='btn_blue_radius' bindtap="goadd">
<view class='text_white_34'>添加</view>
</view>
</view>
</view>
<view class="mask" catchtouchmove="preventTouchMove" hidden="{{!showModal_img&&!showModal_reducetype&&!showModal_addtype}}"></view>
<!-- 申报说明 -->
<view style='top:250rpx;position:absolute;z-index:10;width:100%' hidden="{{!showModal_img}}">
<image class='modal_img' src="{{modal_images[cur_status]}}" bindtap='closeModalImg'></image>
<text style='position:absolute;font-size:20px;color:#fff;float:right;top:0;right:100rpx' bindtap='closeModalImg'>x</text>
</view>
<!-- 扣除类型 -->
<view class='modal_lg' style='' wx:if="{{showModal_reducetype}}">
<text class='text_modal_title'>请选择扣除方式</text>
<view class='divide_line_f5f5f5'></view>
<view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
<view wx:for="{{reducetypeData}}" wx:for-index="idx">
<view wx:if="{{selected_reduceindex==idx}}">
<text class='text_item_blue float_left'>{{item}}</text>
<image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
</view>
<view wx:else bindtap='goselect' id='{{idx}}'>
<text class='text_item_black float_left'>{{item}}</text>
</view>
<view class='divide_line_f5f5f5'></view>
</view>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='width:100%;display: flex;'>
<text class='text_cancel' bindtap='reduce_modalLeft'>取消</text>
<view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view>
<text class='text_confirm' bindtap='reduce_modalRight'>确认</text>
</view>
</view>
<!-- 添加子女 老人 大病-->
<view class='modal_lg' style='' wx:if="{{showModal_addtype}}">
<text class='text_modal_title'>{{modalData.title}}</text>
<view class='divide_line_f5f5f5'></view>
<view style='width:100%;display:flex;flex-direction:column;align-items:center;'>
<block wx:for="{{modalData.datas}}" wx:for-index="idx">
<view wx:if="{{idx==selected_addindex}}">
<text class='text_item_blue float_left'>{{item.name}}</text>
<image class='icon_choosed' src="/images/icon_chat_choosed.png"></image>
</view>
<view wx:else bindtap='goselect' id='{{idx}}'>
<text class='text_item_black float_left'>{{item.name}}</text>
</view>
<view class='divide_line_f5f5f5'></view>
</block>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='width:100%;display: flex;'>
<text class='text_cancel01' bindtap='modalLeft'>{{modalData.lefttext}}</text>
<view style='width:1px;background:#F5F5F5;margin:20rpx 0'></view>
<text class='text_confirm01' bindtap='modalRight'>{{modalData.righttext}}</text>
</view>
</view>