|
@@ -6,7 +6,7 @@ |
|
@@ -6,7 +6,7 @@ |
|
6
|
<jinduBar checkout="{{checkout}}"></jinduBar>
|
6
|
<jinduBar checkout="{{checkout}}"></jinduBar>
|
|
7
|
</view>
|
7
|
</view>
|
|
8
|
<!--//买单相关(可选)-->
|
8
|
<!--//买单相关(可选)-->
|
|
9
|
- <block wx:if="{{true || checkout.status<1}}">
|
9
|
+ <block wx:if="{{checkout.status<1}}">
|
|
10
|
<checkbox-group bindchange="checkoutData">
|
10
|
<checkbox-group bindchange="checkoutData">
|
|
11
|
<view class="content checkout">
|
11
|
<view class="content checkout">
|
|
12
|
<view class="title">买单相关(可选)</view>
|
12
|
<view class="title">买单相关(可选)</view>
|
|
@@ -28,17 +28,13 @@ |
|
@@ -28,17 +28,13 @@ |
|
28
|
</view>
|
28
|
</view>
|
|
29
|
</block>
|
29
|
</block>
|
|
30
|
<block wx:elif="{{checkout.status==1}}">
|
30
|
<block wx:elif="{{checkout.status==1}}">
|
|
31
|
- <view class="content checkout" wx:if="{{checkout.is_pack==1 || checkout.is_wine==1}}">
|
|
|
|
32
|
- <view class="title">已提交信息</view>
|
|
|
|
33
|
- <view class="item flex-lr" wx:if="{{checkout.is_wine==1}}">
|
|
|
|
34
|
- <view>有剩余酒水饮料要退</view>
|
|
|
|
35
|
- </view>
|
|
|
|
36
|
- <view class="item flex-lr" wx:if="{{checkout.is_pack==1}}">
|
|
|
|
37
|
- <view>菜品打包</view>
|
31
|
+ <view class="content checkout">
|
|
|
|
32
|
+ <view class="waiting-money flex-vc">
|
|
|
|
33
|
+ <icon type="waiting" size="47" color="#C0A369"/>
|
|
|
|
34
|
+ <view class="waiting-txt">商家处理中</view>
|
|
38
|
</view>
|
35
|
</view>
|
|
39
|
</view>
|
36
|
</view>
|
|
40
|
<view class="content invoice">
|
37
|
<view class="content invoice">
|
|
41
|
- <view class="title">提前开发票</view>
|
|
|
|
42
|
<view class="item flex-lr" bindtap="setInvoice">
|
38
|
<view class="item flex-lr" bindtap="setInvoice">
|
|
43
|
<view>发票</view>
|
39
|
<view>发票</view>
|
|
44
|
<invoice bindevent="setInvoice">
|
40
|
<invoice bindevent="setInvoice">
|
|
@@ -50,18 +46,22 @@ |
|
@@ -50,18 +46,22 @@ |
|
50
|
</view>
|
46
|
</view>
|
|
51
|
</view>
|
47
|
</view>
|
|
52
|
<subscribe ids="{{[0]}}">
|
48
|
<subscribe ids="{{[0]}}">
|
|
53
|
- <view class="checkout-get subscribe">商家反馈金额后提醒我</view>
|
49
|
+ <view class="checkout-get subscribe">点我,商家反馈金额后提醒我</view>
|
|
54
|
</subscribe>
|
50
|
</subscribe>
|
|
55
|
- <view class="checkout-get tx-seller" bindtap="">催一下商家</view>
|
51
|
+ <view class="checkout-get tx-seller" bindtap="txSeller">催一下商家</view>
|
|
56
|
</block>
|
52
|
</block>
|
|
57
|
<block wx:elif="{{checkout.status==2}}">
|
53
|
<block wx:elif="{{checkout.status==2}}">
|
|
58
|
<view class="content money">
|
54
|
<view class="content money">
|
|
|
|
55
|
+ <view class="waiting-money flex-vc">
|
|
|
|
56
|
+ <icon type="waiting" size="47" color="#C0A369"/>
|
|
|
|
57
|
+ <view class="waiting-txt">待支付</view>
|
|
|
|
58
|
+ </view>
|
|
59
|
<view class="list flex-lr">
|
59
|
<view class="list flex-lr">
|
|
60
|
<view class="list-name">消费总额</view>
|
60
|
<view class="list-name">消费总额</view>
|
|
61
|
<view class="list-val">¥ {{checkout.price}}</view>
|
61
|
<view class="list-val">¥ {{checkout.price}}</view>
|
|
62
|
</view>
|
62
|
</view>
|
|
63
|
<view class="list flex-lr">
|
63
|
<view class="list flex-lr">
|
|
64
|
- <view class="list-name">红包抵扣</view>
|
64
|
+ <view class="list-name">红 包</view>
|
|
65
|
<view class="list-val">-¥ {{user.price}}</view>
|
65
|
<view class="list-val">-¥ {{user.price}}</view>
|
|
66
|
</view>
|
66
|
</view>
|
|
67
|
<view class="list flex-lr">
|
67
|
<view class="list flex-lr">
|
|
@@ -76,18 +76,26 @@ |
|
@@ -76,18 +76,26 @@ |
|
76
|
<view class="list-name">包间名称</view>
|
76
|
<view class="list-name">包间名称</view>
|
|
77
|
<view class="list-val">{{checkout.tablename}}</view>
|
77
|
<view class="list-val">{{checkout.tablename}}</view>
|
|
78
|
</view>
|
78
|
</view>
|
|
|
|
79
|
+ <view class="list flex-lr" wx:if="{{checkout.remark}}">
|
|
|
|
80
|
+ <view class="list-name">备注信息</view>
|
|
|
|
81
|
+ <view class="list-val">{{checkout.remark}}</view>
|
|
|
|
82
|
+ </view>
|
|
|
|
83
|
+ <view class="checkout-get" bindtap="">立即支付{{checkout.price-user.price>0?checkout.price-user.price:0}}元</view>
|
|
79
|
</view>
|
84
|
</view>
|
|
80
|
<view class="money-tips">注:消费清单,离店时请到前台索要;</view>
|
85
|
<view class="money-tips">注:消费清单,离店时请到前台索要;</view>
|
|
81
|
- <view class="checkout-get" bindtap="">立即支付{{checkout.price-user.price>0?checkout.price-user.price:0}}元</view>
|
|
|
|
82
|
</block>
|
86
|
</block>
|
|
83
|
<block wx:else="">
|
87
|
<block wx:else="">
|
|
84
|
<view class="content money">
|
88
|
<view class="content money">
|
|
|
|
89
|
+ <view class="waiting-money flex-vc">
|
|
|
|
90
|
+ <icon type="success" size="47" color="#C8B16D"/>
|
|
|
|
91
|
+ <view class="waiting-txt">已买单</view>
|
|
|
|
92
|
+ </view>
|
|
85
|
<view class="list flex-lr">
|
93
|
<view class="list flex-lr">
|
|
86
|
<view class="list-name">消费总额</view>
|
94
|
<view class="list-name">消费总额</view>
|
|
87
|
<view class="list-val">¥ {{checkout.price}}</view>
|
95
|
<view class="list-val">¥ {{checkout.price}}</view>
|
|
88
|
</view>
|
96
|
</view>
|
|
89
|
<view class="list flex-lr">
|
97
|
<view class="list flex-lr">
|
|
90
|
- <view class="list-name">红包抵扣</view>
|
98
|
+ <view class="list-name">红 包</view>
|
|
91
|
<view class="list-val">-¥ {{checkout.discount[0].price}}</view>
|
99
|
<view class="list-val">-¥ {{checkout.discount[0].price}}</view>
|
|
92
|
</view>
|
100
|
</view>
|
|
93
|
<view class="list flex-lr">
|
101
|
<view class="list flex-lr">
|
|
@@ -102,6 +110,10 @@ |
|
@@ -102,6 +110,10 @@ |
|
102
|
<view class="list-name">包间名称</view>
|
110
|
<view class="list-name">包间名称</view>
|
|
103
|
<view class="list-val">{{checkout.tablename}}</view>
|
111
|
<view class="list-val">{{checkout.tablename}}</view>
|
|
104
|
</view>
|
112
|
</view>
|
|
|
|
113
|
+ <view class="list flex-lr" wx:if="{{checkout.remark}}">
|
|
|
|
114
|
+ <view class="list-name">备注信息</view>
|
|
|
|
115
|
+ <view class="list-val">{{checkout.remark}}</view>
|
|
|
|
116
|
+ </view>
|
|
105
|
<view class="list flex-lr pay-time">
|
117
|
<view class="list flex-lr pay-time">
|
|
106
|
<view class="list-name">买单时间</view>
|
118
|
<view class="list-name">买单时间</view>
|
|
107
|
<view class="list-val">{{util.unixtoTime(checkout.pay_time,'YYYY-MM-DD HH:II')}}</view>
|
119
|
<view class="list-val">{{util.unixtoTime(checkout.pay_time,'YYYY-MM-DD HH:II')}}</view>
|
|
@@ -112,8 +124,8 @@ |
|
@@ -112,8 +124,8 @@ |
|
112
|
<view>发票</view>
|
124
|
<view>发票</view>
|
|
113
|
<invoice bindevent="setInvoice">
|
125
|
<invoice bindevent="setInvoice">
|
|
114
|
<view class="invoice-right disabled">
|
126
|
<view class="invoice-right disabled">
|
|
115
|
- <view class="title active">{{checkout.invoice.title}}</view>
|
|
|
|
116
|
- <view class="title">{{checkout.invoice.taxnumber}}</view>
|
127
|
+ <view class="invoice-title">{{checkout.invoice.title}}</view>
|
|
|
|
128
|
+ <view class="invoice-taxnumber">{{checkout.invoice.taxnumber}}</view>
|
|
117
|
</view>
|
129
|
</view>
|
|
118
|
</invoice>
|
130
|
</invoice>
|
|
119
|
</view>
|
131
|
</view>
|