editinfo.wxml
15.0 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
<!--pages/main//editinfo/editinfo.wxml-->
<import src="../../../common/picker_cell" />
<view class='page'>
<form bindsubmit='formSubmit'>
<view class="divide_line"></view>
<!-- 基本信息 -->
<view class='head_wrap' bindtap='span' id='1'>
<text class='head_text_wrap1'>基础信息</text>
<text class='head_text_wrap2' hidden='{{!isshow01}}'>(点击收起非必填选项)</text>
<text class='head_text_wrap2' hidden='{{isshow01}}'>(点击展开非必填选项)</text>
<view style='float:right' wx:if='{{isshow01}}'>
<image class='head_image_wrap_up' src='/images/arrow_up.png'></image>
</view>
<view wx:else style='float:right'>
<image class='head_image_wrap_down' src='/images/arrow_down.png'></image>
</view>
</view>
<view style='background:#fff;'>
<view class="divide_line_30"></view>
</view>
<view class='data_list'>
<view class='data_item'>
<template is="picker_cell_normal" data="{{...cardtypeData}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>证照号码</text>
<view>
<image wx:if="{{isIdCard}}" class='image_camera float_right' src='/images/camera.png' bindtap='getIdInfo' hidden="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}"></image>
<input class='input_wrap' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" placeholder="请输入证照号码" value="{{card_number}}" name='id_card_no' maxlength='30' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
<!-- <input class='input_wrap' hidden="{{taxInfo.certification_status=='active'}}" placeholder="请输入证照号码" value='{{card_number}}' name='id_card_no' maxlength='18' bindblur='idcardblur' bindinput = 'bindinputcardnum'></input>
<input class='input_wrap' hidden="{{taxInfo.certification_status!='active'}}" placeholder="{{card_number?card_number:'身份证号获取失败'}}" name='id_card_no' disabled='true'></input> -->
<view class="divide_line_30"></view>
</view>
</view>
<view class='item_body' hidden="{{!isself}}">
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>姓名</text>
<input class='input_wrap' placeholder="请输入姓名" value='{{name}}' disabled="{{taxInfo.certification_status=='active' && taxInfo.id_card_no.length>0}}" bindblur='bindinputname' style='line-height: 90rpx'></input>
<!-- <input hidden="{{taxInfo.certification_status=='active'}}" class='input_wrap' placeholder="请输入姓名" value='{{name}}' bindblur='bindinputname' style='line-height: 90rpx'></input>
<input hidden="{{taxInfo.certification_status!='active'}}" class='input_wrap' placeholder="{{name}}" disabled="true" bindblur='bindinputname' style='line-height: 90rpx'></input> -->
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...genderData}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...birthDate}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...countryData}}" />
<!-- <view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>国籍</text>
<text class='text_black_30 float_right' style='line-height: 90rpx'>中国</text>
</view> -->
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...taxpayerTypeData}}" />
<!-- <view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>纳税人类型</text>
<text class='text_black_30 float_right' style='line-height: 90rpx'>居民</text>
</view> -->
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>是否境外人员</text>
<text class='text_black_30 float_right' style='line-height: 90rpx'>{{overseas}}</text>
</view>
<view wx:if='{{hasOtherCard}}'>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...firstEntryDate}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...predictLeaveDate}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...otherCardtypeData}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>其他证照号码</text>
<view>
<input class='input_wrap' placeholder="请输入证照号码" value="{{other_card_number}}" name='other_card_number' maxlength='30'></input>
</view>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...birthCountryData}}" />
</view>
<view hidden='{{!isshow01}}'>
<view wx:if='{{hasOtherCard}}'>
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='text_777_30 float_left head_in' style='line-height: 90rpx'>{{nameText}}</text>
<input class='input_wrap' placeholder="请输入{{nameText}}" value='{{other_name}}' bindblur='bindOtherName' style='line-height: 90rpx'></input>
</view>
</view>
</view>
</view>
</view>
<!-- 联系方式 -->
<view class='head_wrap' style='margin-top:20rpx' bindtap='span' id='2'>
<text class='head_text_wrap1'>联系方式</text>
<text class='head_text_wrap2' hidden='{{!isshow02}}'>(点击收起非必填选项)</text>
<text class='head_text_wrap2' hidden='{{isshow02}}'>(点击展开非必填选项)</text>
<view style='float:right' wx:if='{{isshow02}}'>
<image class='head_image_wrap_up' src='/images/arrow_up.png'></image>
</view>
<view wx:else style='float:right'>
<image class='head_image_wrap_down' src='/images/arrow_down.png'></image>
</view>
</view>
<view style='background:#fff;'>
<view class="divide_line_30"></view>
</view>
<view class='data_list'>
<view class='data_item'>
<view class='item_body'>
<text class='red_star_right_10'>*</text>
<text class='text_777_30 float_left' style='line-height: 90rpx'>手机号码</text>
<input class='input_wrap' placeholder="请输入手机号" value='{{mobile}}' name='mobile' type='number' maxlength='11' bindblur='bindinputmobile' type='number'></input>
</view>
<!-- 非必填部分02 -->
<view hidden='{{!isshow02}}'>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...currentaddressInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>详细地址</text>
<input class='input_wrap ' name='current_address_detail' value="{{taxInfo.current_address_detail}}" placeholder-class='text_999_30' placeholder='请输入详细居住地址'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...birthaddressInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body '>
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>详细地址</text>
<input class='input_wrap ' name='huji_address_detail' placeholder-class='text_999_30' placeholder='请输入详细户籍地址' value='{{taxInfo.huji_address_detail}}'></input>
</view>
<view class="divide_line_30"></view>
<view wx:if='{{hasOtherCard}}' >
<template is="picker_cell_normal" data="{{...contactaddressInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body '>
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>详细地址</text>
<input class='input_wrap ' name='contact_address_detail' placeholder-class='text_999_30' placeholder='请输入详细联系地址' value='{{taxInfo.contact_address_detail}}'></input>
</view>
<view class="divide_line_30"></view>
</view>
<view class='item_body'>
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>电子邮箱</text>
<input class='input_wrap' name='email' value='{{taxInfo.email}}' placeholder='请输入电子邮箱' placeholder-class='text_999_30' maxlength='32'></input>
</view>
</view>
</view>
</view>
<!-- 其他信息 -->
<view class='head_wrap' style='margin-top:20rpx' bindtap='span' id='3'>
<text class='head_text_wrap1'>其他信息</text>
<text class='head_text_wrap2' hidden='{{!isshow03}}'>(点击收起非必填选项)</text>
<text class='head_text_wrap2' hidden='{{isshow03}}'>(点击展开非必填选项)</text>
<view style='float:right' wx:if='{{isshow03}}'>
<image class='head_image_wrap_up' src='/images/arrow_up.png'></image>
</view>
<view wx:else style='float:right'>
<image class='head_image_wrap_down' src='/images/arrow_down.png'></image>
</view>
</view>
<view style='background:#fff;'>
<view class="divide_line_30" hidden='{{!isshow03}}'></view>
</view>
<view class='data_list'>
<view class='data_item'>
<view hidden='{{!isshow03}}'>
<template is="picker_cell_normal" data="{{...degreeData}}" />
<!-- <view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...professionData}}" /> -->
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...bankInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>银行账号</text>
<input class='input_wrap' name='bank_account' value='{{taxInfo.bank_account}}' placeholder-class='text_999_30' placeholder='请输入银行账号' maxlength='19' type='number'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...disabilityInfo}}" />
<view class="divide_line_30" hidden="{{disabilityInfo.selected!='是'}}"></view>
<view class='item_body' hidden="{{disabilityInfo.selected!='是'}}">
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>残疾证号</text>
<input class='input_wrap' name='disability_no' value='{{taxInfo.disability_no}}' placeholder-class='text_999_30' placeholder='请输入残疾证号' maxlength='24'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...lieshuInfo}}" />
<view class="divide_line_30" hidden="{{lieshuInfo.selected!='是'}}"></view>
<view class='item_body' hidden="{{lieshuInfo.selected!='是'}}">
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>烈属证号</text>
<input class='input_wrap' name='martyr_family_no' value='{{taxInfo.martyr_family_no}}' placeholder-class='text_999_30' placeholder='请输入烈属证号' maxlength='24'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...lonelyolderInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='text_666_30 float_left head_in' style='line-height: 90rpx'>备注</text>
<input class='input_wrap' value='{{taxInfo.comment}}' name='comment' placeholder-class='text_999_30' placeholder='请输入备注'></input>
</view>
</view>
</view>
</view>
<view class='data_list ' hidden='true'>
<view class='data_item '>
<template is="picker_cell_normal" data="{{...investInfo}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...specificIndustryInfo}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...employeeInfo}}" />
<view hidden='{{!isshow03}}'>
<view class="divide_line_30"></view>
<view class='item_body '>
<text class='text_666_30 float_left' style='line-height: 90rpx'>公司股本总额</text>
<input class='input_wrap ' name='company_equity_total' type='digit' value='{{taxInfo.company_equity_total}}' placeholder-class='text_999_30' placeholder='请输入股本总额(保留两位小数)' maxlength='13' bindblur='companymoney'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...startDate}}" />
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...endDate}}" />
<view class="divide_line_30"></view>
<view class='item_body '>
<text class='text_666_30 float_left ' style='line-height: 90rpx'>工号</text>
<input class='input_wrap ' name='employee_no' value='{{taxInfo.employee_no}}' placeholder-class='text_999_30' placeholder='请输入工号' maxlength='20'></input>
</view>
<view class="divide_line_30"></view>
<template is="picker_cell_normal" data="{{...investpersonalInfo}}" />
<view class="divide_line_30"></view>
<view class='item_body'>
<text class='text_666_30 float_left ' style='line-height: 90rpx'>个人投资总额</text>
<input class='input_wrap ' name='personal_equity_total' type='digit' value='{{taxInfo.personal_equity_total}}' placeholder-class='text_999_30' placeholder='请输入个人投资总额(保留两位小数)' maxlength='13' bindblur='personalmoney'></input>
</view>
<view class="divide_line_30"></view>
</view>
</view>
</view>
<view class="divide_line_30"></view>
<view style='background:#FFF;height:84rpx'></view>
<!-- <view hidden='{{isshow02}}' style='background:#f8f8f8;height:500rpx'></view>
<view hidden='{{!isshow02}}' style='background:#f8f8f8;height:200rpx'></view> -->
<view class="btn_bottom">
<button class="btn_bottom" formType="submit"> 保存</button>
</view>
</form>
</view>