addextrainfo.wxml
8.8 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
<!--pages/main/addtionalreduce/addextrainfo/addextrainfo.wxml-->
<import src="../../../common/picker_cell" />
<scroll-view class='page'>
<view style='padding:0 30rpx'>
<!-- 添加子女 -->
<view wx:if="{{cur_index==0}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>子女姓名</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女姓名'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>子女母亲姓名</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女母亲姓名'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>子女身份证号</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女身份证号'type='idcard'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>子女学籍号</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入子女学籍号'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<!-- <picker bindchange="eduPickerChange" value="{{edu_name}}" range="{{edu_array}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>教育阶段</text>
<image class='arrow_wrap' src='/images/arrow_right.png'></image>
<text wx:if='{{!edu_name}}' class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择教育阶段</text>
<text wx:else class='text_333_30 float_right' style='line-height: 90rpx;text-align:right'>{{edu_name}}</text>
</view>
</picker> -->
<template is="picker_cell_normal" data="{{...edudegreeData}}" />
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>扣除金额</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;;text-align: right' placeholder='请输入扣除金额' type='digit'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx;'>
<text class='text_black_30 float_left'>扣除比例</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除比例'></input>
</view>
</view>
<!-- 继续教育 -->
<view wx:if="{{cur_index==1}}">
<!-- <view style='height:90rpx'>
<text class='text_black_30 float_left'>教育类型</text>
<image class='arrow_wrap' src='/images/arrow_right.png'></image>
<text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择教育类型</text>
</view> -->
<template is="picker_cell_normal" data="{{...edutypeData}}" />
<view class='divide_line_f5f5f5'></view>
<view wx:if="{{edu_lable=='school'}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>学历教育阶段</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学历教育阶段'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>学籍号</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入学籍号'></input>
</view>
</view>
<view wx:elif="{{edu_lable=='tech'}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>职业资格名称</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入职业资格名称'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>职业资格编号</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入职业资格编号'></input>
</view>
</view>
</view>
<!-- 赡养老人 -->
<view wx:if="{{cur_index==2}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>老人姓名</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入老人姓名'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>老人身份证号</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入老人身份证号'type='idcard'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<!-- <view style='height:90rpx'>
<text class='text_black_30 float_left'>与老人关系</text>
<image class='arrow_wrap' src='/images/arrow_right.png'></image>
<text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择与老人关系</text>
</view> -->
<template is="picker_cell_normal" data="{{...olderrelativeData}}" />
<view class='divide_line_f5f5f5'></view>
<!-- <view style='height:90rpx'>
<text class='text_black_30 float_left'>是否独生子女</text>
<image class='arrow_wrap' src='/images/arrow_right.png'></image>
<text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择是否独生子女</text>
</view> -->
<template is="picker_cell_normal" data="{{...singlechildData}}" />
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>分摊比例</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入分摊比例'></input>
</view>
</view>
<!-- 大病医疗 -->
<view wx:if="{{cur_index==3}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>扣除金额</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额'type='digit'></input>
</view>
</view>
<!-- 住房 -->
<view wx:if="{{cur_index==4}}">
<view style='height:90rpx'>
<text class='text_black_30 float_left'>配偶姓名</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入扣除金额'></input>
</view>
<view class='divide_line_f5f5f5'></view>
<view style='height:90rpx'>
<text class='text_black_30 float_left'>配偶身份证号</text>
<input class='input_wrap float_right' placeholder-class='text_999_30 float_right' style='line-height: 90rpx;text-align: right' placeholder='请输入配偶身份证号'type='idcard'></input>
</view>
</view>
<view class='divide_line_f5f5f5'></view>
<!-- <view style='height:90rpx'>
<text class='text_black_30 float_left'>扣除时间</text>
<image class='arrow_wrap' src='/images/arrow_right.png'></image>
<text class='text_999_30 float_right' style='line-height: 90rpx;text-align:right'>请选择扣除时间</text>
</view> -->
<template is="picker_cell_normal" data="{{...reducedateData}}" />
<view class='divide_line_f5f5f5'></view>
<view class='text_black_30 float_left'>上传材料</view>
</view>
<view style='margin-bottom:140rpx'>
<image src='{{img_path}}' style='width:100%;height:380rpx' bindtap='goupload'></image>
<view class='text_999_30' style='text-align:center;margin:20rpx 30rpx'>{{extrainfo_arr[cur_index]}}</view>
</view>
<view class="btn_bottom" bindtap='gosave'>
<button class="btn_bottom"> 保存</button>
</view>
</scroll-view>