addkehu.wxml
4.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
<view class="tianjiakehu">添加客户</view>
<view class="kehubox">
<view class="kehutian">
<view class="fapiaotai ming">
<text class="kehuact">客户名称</text>
</view>
<view class="fapiaotaienter ming">
<input placeholder='请输入客户名称' placeholder-class='shurufa' bindinput="enterkehu" value="{{customer_name}}" />
</view>
</view>
<view class="kehutian">
<view class="fapiaotai ming">
<text class="kehuact">收货人</text>
</view>
<view class="fapiaotaienter ming">
<input placeholder='请输入收货人' placeholder-class='shurufa' bindinput="entershouhuo" value="{{shouhuoname}}" />
</view>
</view>
<view class="kehutian">
<view class="fapiaotai ming">联系人</view>
<view class="fapiaotaienter ming">
<input placeholder='请输入联系人' placeholder-class='shurufa' bindinput="enterlianxi" value="{{lianxiname}}" />
</view>
</view>
<view class="kehutian">
<view class="fapiaotai ming">手机号</view>
<view class="fapiaotaienter ming">
<input placeholder='请输入手机号' placeholder-class='shurufa' bindinput="enterphone" type="number" value="{{mobile}}" />
</view>
</view>
<!-- <view class="kehuitem">
<input placeholder='客户名称' />
</view> -->
<view class="kehuitem diquitem">
<view class="diqusel">地区选择</view>
<picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
<view class="diquright">
<view class="selcity">
<view class="selectdiqu">
{{diquselect}}
<!-- {{region[0]}}{{region[1]}}{{region[2]}} -->
</view>
<view class="selimg">
<image src="/img/xiasanjiao.png"></image>
</view>
</view>
<!-- <view class="quan">
<view class="all">全部</view>
<view class="selimg">
<image src="/img/xiasanjiao.png"></image>
</view>
</view> -->
</view>
</picker>
</view>
<view class="kehutian">
<view class="fapiaotai ming">详细地址</view>
<view class="fapiaotaienter ming">
<input placeholder='请输入详细地址' bindinput="enteraddress" placeholder-class='shurufa' value="{{address}}" value="{{address}}" />
</view>
</view>
</view>
<!-- 发票信息 -->
<view class="fapiaoinfo">
<view class="fapiaoword">发票信息</view>
<view class="taitouleixing">
<view class="infoleft">抬头类型</view>
<view class="infoitem" bindtap="selectkind" data-type="0">
<view class="taitouimg">
<image src="{{kindtype==0?'/img/xuan.png':'/img/noxuan.png'}}"></image>
</view>
<view class="qiyedanwei">企业单位</view>
</view>
<view class="infoitem" bindtap="selectkind" data-type="1">
<view class="taitouimg">
<image src="{{kindtype==1?'/img/xuan.png':'/img/noxuan.png'}}"></image>
</view>
<view class="qiyedanwei">个人/非企业单位</view>
</view>
</view>
<view class="fapiaotaitouhead">
<view class="fapiaotai">发票抬头</view>
<view class="fapiaotaienter">
<input placeholder='请输入发票抬头' bindinput="fapiaohead" placeholder-class='shurufa' value="{{invoice}}" />
</view>
</view>
<view class="fapiaotaitouhead">
<view class="fapiaotai">税号</view>
<view class="fapiaotaienter">
<input placeholder='请输入税号' bindinput="shuihao" placeholder-class='shurufa' value="{{number}}" />
</view>
</view>
<!-- <view class="zongjine">
<view class="zongjineleft">总金额</view>
<view class="zongjineright">¥190</view>
</view> -->
</view>
<view class="shezhimoren">
<view class="shezhileft">是否设置为默认用户</view>
<view class="shezhiimg" bindtap="xuanopen">
<image src="/img/close.png" wx:if="{{selshow}}"></image>
<image src="/img/open.png" wx:else></image>
</view>
</view>
<view class="quding" bindtap="editqueding" wx:if="{{editype==1}}">确定</view>
<view class="quding" bindtap="quding" wx:else>确定</view>