|
...
|
...
|
@@ -6,7 +6,7 @@ |
|
|
|
<jinduBar checkout="{{checkout}}"></jinduBar>
|
|
|
|
</view>
|
|
|
|
<!--//买单相关(可选)-->
|
|
|
|
<block wx:if="{{true || checkout.status<1}}">
|
|
|
|
<block wx:if="{{checkout.status<1}}">
|
|
|
|
<checkbox-group bindchange="checkoutData">
|
|
|
|
<view class="content checkout">
|
|
|
|
<view class="title">买单相关(可选)</view>
|
|
...
|
...
|
@@ -28,17 +28,13 @@ |
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
<block wx:elif="{{checkout.status==1}}">
|
|
|
|
<view class="content checkout" wx:if="{{checkout.is_pack==1 || checkout.is_wine==1}}">
|
|
|
|
<view class="title">已提交信息</view>
|
|
|
|
<view class="item flex-lr" wx:if="{{checkout.is_wine==1}}">
|
|
|
|
<view>有剩余酒水饮料要退</view>
|
|
|
|
</view>
|
|
|
|
<view class="item flex-lr" wx:if="{{checkout.is_pack==1}}">
|
|
|
|
<view>菜品打包</view>
|
|
|
|
<view class="content checkout">
|
|
|
|
<view class="waiting-money flex-vc">
|
|
|
|
<icon type="waiting" size="47" color="#C0A369"/>
|
|
|
|
<view class="waiting-txt">商家处理中</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="content invoice">
|
|
|
|
<view class="title">提前开发票</view>
|
|
|
|
<view class="item flex-lr" bindtap="setInvoice">
|
|
|
|
<view>发票</view>
|
|
|
|
<invoice bindevent="setInvoice">
|
|
...
|
...
|
@@ -50,18 +46,22 @@ |
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<subscribe ids="{{[0]}}">
|
|
|
|
<view class="checkout-get subscribe">商家反馈金额后提醒我</view>
|
|
|
|
<view class="checkout-get subscribe">点我,商家反馈金额后提醒我</view>
|
|
|
|
</subscribe>
|
|
|
|
<view class="checkout-get tx-seller" bindtap="">催一下商家</view>
|
|
|
|
<view class="checkout-get tx-seller" bindtap="txSeller">催一下商家</view>
|
|
|
|
</block>
|
|
|
|
<block wx:elif="{{checkout.status==2}}">
|
|
|
|
<view class="content money">
|
|
|
|
<view class="waiting-money flex-vc">
|
|
|
|
<icon type="waiting" size="47" color="#C0A369"/>
|
|
|
|
<view class="waiting-txt">待支付</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr">
|
|
|
|
<view class="list-name">消费总额</view>
|
|
|
|
<view class="list-val">¥ {{checkout.price}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr">
|
|
|
|
<view class="list-name">红包抵扣</view>
|
|
|
|
<view class="list-name">红 包</view>
|
|
|
|
<view class="list-val">-¥ {{user.price}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr">
|
|
...
|
...
|
@@ -76,18 +76,26 @@ |
|
|
|
<view class="list-name">包间名称</view>
|
|
|
|
<view class="list-val">{{checkout.tablename}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr" wx:if="{{checkout.remark}}">
|
|
|
|
<view class="list-name">备注信息</view>
|
|
|
|
<view class="list-val">{{checkout.remark}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="checkout-get" bindtap="">立即支付{{checkout.price-user.price>0?checkout.price-user.price:0}}元</view>
|
|
|
|
</view>
|
|
|
|
<view class="money-tips">注:消费清单,离店时请到前台索要;</view>
|
|
|
|
<view class="checkout-get" bindtap="">立即支付{{checkout.price-user.price>0?checkout.price-user.price:0}}元</view>
|
|
|
|
</block>
|
|
|
|
<block wx:else="">
|
|
|
|
<view class="content money">
|
|
|
|
<view class="waiting-money flex-vc">
|
|
|
|
<icon type="success" size="47" color="#C8B16D"/>
|
|
|
|
<view class="waiting-txt">已买单</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr">
|
|
|
|
<view class="list-name">消费总额</view>
|
|
|
|
<view class="list-val">¥ {{checkout.price}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr">
|
|
|
|
<view class="list-name">红包抵扣</view>
|
|
|
|
<view class="list-name">红 包</view>
|
|
|
|
<view class="list-val">-¥ {{checkout.discount[0].price}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr">
|
|
...
|
...
|
@@ -102,6 +110,10 @@ |
|
|
|
<view class="list-name">包间名称</view>
|
|
|
|
<view class="list-val">{{checkout.tablename}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr" wx:if="{{checkout.remark}}">
|
|
|
|
<view class="list-name">备注信息</view>
|
|
|
|
<view class="list-val">{{checkout.remark}}</view>
|
|
|
|
</view>
|
|
|
|
<view class="list flex-lr pay-time">
|
|
|
|
<view class="list-name">买单时间</view>
|
|
|
|
<view class="list-val">{{util.unixtoTime(checkout.pay_time,'YYYY-MM-DD HH:II')}}</view>
|
|
...
|
...
|
@@ -112,8 +124,8 @@ |
|
|
|
<view>发票</view>
|
|
|
|
<invoice bindevent="setInvoice">
|
|
|
|
<view class="invoice-right disabled">
|
|
|
|
<view class="title active">{{checkout.invoice.title}}</view>
|
|
|
|
<view class="title">{{checkout.invoice.taxnumber}}</view>
|
|
|
|
<view class="invoice-title">{{checkout.invoice.title}}</view>
|
|
|
|
<view class="invoice-taxnumber">{{checkout.invoice.taxnumber}}</view>
|
|
|
|
</view>
|
|
|
|
</invoice>
|
|
|
|
</view>
|
...
|
...
|
|