invoiceInformation.wxml
3.6 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
<!--pages/my/invoiceInformation/invoiceInformation.wxml-->
<view>
<view class='banner'>
<view class='iconfont icon-fanhui' catchtap='get_back'></view>
<view class='coupons'>填写发票信息</view>
</view>
<view class='tab_list'>
<view class='electronic_invoice {{flag===1?"active":""}}' bindtap='changeFlag1'>电子发票</view>
<view class='paper_invoice {{flag===2?"active":""}}' bindtap='changeFlag2'>纸质发票</view>
</view>
<view class='content_item'>
<view class='item_list'>
<view>{{info.invoice_remark}}</view>
</view>
<view class='item_list'>
<view class='title'>发票详情</view>
<view>
<view class='list_content'>
<view class='name'>抬头类型</view>
<view class='icon_font' bindtap='changeInvioce1'>
<view class='iconfont {{invioce===1?"icon-xuanzhong":"icon-quan"}}'></view>
<view>公司抬头</view>
</view>
<view class='icon_font' bindtap='changeInvioce2'>
<view class='iconfont {{invioce===2?"icon-xuanzhong":"icon-quan"}}'></view>
<view>个人抬头</view>
</view>
</view>
</view>
<view>
<view class='list_content'>
<view class='name'>发票抬头</view>
<view class='input_box'>
<input type='text' placeholder='填写发票抬头' value='{{title}}' bindinput='fromTitle'></input>
</view>
</view>
<view class='list_content'>
<view class='name'>识别号</view>
<view class='input_box'>
<input type='text' placeholder='填写识别号' value='{{identify_number}}' bindinput='fromIdenfity'></input>
</view>
</view>
<view class='list_content'>
<view class='name'>发票金额</view>
<view class='input_box'>
<view>{{info.real_price}}</view>
<!-- <input type='text' placeholder='{{info.amount}}元' placeholder-class='input_font' bindinput=''></input> -->
</view>
</view>
</view>
</view>
<view class='item_list'>
<view class='title'>收件信息</view>
<view>
<view class='list_content'>
<view class='name'>收件人</view>
<view class='input_box'>
<input type='text' disabled placeholder='请输入名字' placeholder-class='input_font' value='{{user}}' bindinput='fromUser'></input>
</view>
</view>
<view class='list_content'>
<view class='name'>联系电话</view>
<view class='input_box'>
<input type='text' disabled placeholder='请输入手机号' placeholder-class='input_font' value='{{mobile}}' bindinput='fromMobile'></input>
</view>
</view>
<view class='list_content'>
<view class='name'>详细信息</view>
<view class='input_box'>
<input type='text' disabled placeholder='请输入地址' placeholder-class='input_font' value='{{address}}' bindinput='fromAddress'></input>
</view>
</view>
<view class='list_content' wx:if='{{flag==1}}'>
<view class='name'>电子邮件</view>
<view class='input_box'>
<input type='text' placeholder='请输入邮箱号' placeholder-class='input_font' value='{{email}}' bindinput='fromEmail'></input>
</view>
</view>
</view>
</view>
</view>
<view class='bottom'>
<view class='submit_btn' bindtap='get_sumbit'>提交</view>
<view class='hint_information'>提示:开票金额{{info.real_price}} ,需支付邮费(货到付款)</view>
</view>
</view>