EntryInformation.wxml
6.1 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
<!--pages/EntryInformation/EntryInformation.wxml-->
<form bindsubmit='listVerify'>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>姓名</text>
</view>
<view class='list_input'>
<input type='text' placeholder='请输入客户姓名' value='{{list.name}}' bindinput='setName'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>性别</text>
</view>
<view class='list_input'>
<picker class='picker' range='{{sexArray}}' value='{{sex_index}}' bindchange='selectSex'>
<input placeholder='请选择性别' value='{{sexArray[sex_index]}}' disabled='true'></input>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>家庭角色</text>
</view>
<view class='list_input'>
<input type='text' placeholder='请输入家庭角色' value='{{list.family_role}}' bindinput='familyRole'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>个人年收入</view>
<view class='list_input' style='justify-content:flex-start;'>
<input type='number' placeholder='请输入' value='{{list.money}}' bindinput='income' style='width:100rpx;'></input>
<view>万</view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<!-- <text class='list_icon'>*</text> -->
<text>手机号</text>
</view>
<view class='list_input'>
<input type='number' placeholder='请输入手机号' value='{{list.mobile}}' bindinput='setMobile'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>
<text class='list_icon'>*</text>
<text>出生日期</text>
</view>
<view class='list_input'>
<picker class='picker' mode="date" value='{{list.birthday}}' bindchange='birthDate'>
<input placeholder='请选择真实出生日期' value='{{list.birthday}}' disabled='true'></input>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>单位名称 </view>
<view class='list_input'>
<input type='text' placeholder='请输入单位名称' value='{{list.work}}' bindinput='setWork'></input>
</view>
</view>
<view class='item_list'>
<view class='list_title'>单位地址 </view>
<view class='list_input'>
<input type='text' placeholder='请输入单位地址' value='{{list.work_address}}' bindinput='setworkAddress'></input>
</view>
</view>
<view class='item_list' style='align-items: flex-start;min-height:80rpx;'>
<view class='list_title'>家庭地址 </view>
<view class='list_input'>
<!-- wx:if='{{list.address}}' -->
<textarea type='text' placeholder='请输入家庭地址' value='{{list.address}}' bindinput='setSddress'></textarea>
</view>
</view>
<view class='item_list'>
<view class='list_title'>通讯地址 </view>
<view class='list_input'>
<view class="address_btn {{addsess_current==1?'unit_address':''}}" data-current='1' bindtap='addressCharge'>家庭地址</view>
<view class="address_btn {{addsess_current==2?'unit_address':''}}" data-current='2' bindtap='addressCharge'>单位地址</view>
</view>
</view>
<view class='item_list'>
<view class='list_title'>证件类型</view>
<view class='list_input'>
<picker class='picker' range='{{card_Array}}' value='{{card_index}}' bindchange='selectIdCard'>
<input placeholder='请选择证件类型' value='{{card_Array[card_index]}}' disabled='true'></input>
</picker>
</view>
</view>
<view class='item_list'>
<view class='list_title'>证件号 </view>
<view class='list_input'>
<input type='text' placeholder='请输入证件号' value='{{list.status_num}}' bindinput='setIdNum'></input>
</view>
</view>
</view>
<view class='box'>
<!-- 上传图片 -->
<view class='upload_box'>
<view class='popup_img' wx:if='{{hasimg}}' bindtap='chooseImg'>
<image src='{{list.picurl}}' mode='widthFix'></image>
</view>
<view bindtap='chooseImg' wx:else>
<view class='iconfont icon-add'></view>
<view style='margin-bottom:25rpx;'>上传客户照片</view>
</view>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title'>客户描述</view>
</view>
<view class='list_textarea'>
<textarea placeholder='请在此添加对客户的描述' value='{{list.text}}' placeholder-class='font_color' bindinput='descript'></textarea>
</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view class='list_title' style='width: 100%;text-align: center;'>客户画像</view>
</view>
<view class='item_list item_label_box' wx:for='{{label_list}}' wx:key='' wx:for-index='mindex'>
<view class='list_label_title'>{{item.label}} </view>
<view class='list_label'>
<view class="address_btn {{sub_its.status?'unit_address':''}}" data-id='{{sub_its.id}}' data-status='{{sub_its.status}}' wx:for='{{item.data}}' wx:for-item='sub_its' wx:key='' wx:for-index='sindex' data-sindex='{{sindex}}' data-mindex='{{mindex}}' bindtap='selectLabel'>{{sub_its.name}}</view>
</view>
</view>
</view>
<!-- 底部按钮 -->
<view class='null_box'></view>
<!-- <cover-view class='bottom_box'>
<button class='bottom_btn' style='width: 100%;height: 80rpx;font-size: 32rpx;color: #fff;background: rgba(2, 134, 255, 1);border-radius: 44rpx;display: flex;align-items: center;justify-content: center;' data-type='complete' formType='submit'>完成</button>
</cover-view> -->
<cover-view class='bottom_box'>
<button data-type='complete' formType='submit' style='font-size:12pt;border:0px;width:100%;background:#0286FF;color:#fff'>完成</button>
</cover-view>
</form>