增加餐位费和打包费额外判断
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="default-box-padding bg-fff border-r-12 u-m-t-20">
|
<view class="default-box-padding bg-fff border-r-12 u-m-t-20" v-if="packeFee>0||data.totalAmount>0">
|
||||||
<view class="u-flex u-row-between">
|
<view class="u-flex u-row-between">
|
||||||
<view class="font-bold">附加费</view>
|
<view class="font-bold">附加费</view>
|
||||||
<template v-if="orderInfo.status=='unpaid'&&data.status!='return'">
|
<template v-if="orderInfo.status=='unpaid'&&data.status!='return'">
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<template v-if="data.status!='return'">
|
<template v-if="data.status!='return'">
|
||||||
<view class="u-flex u-row-between u-m-t-24">
|
<view class="u-flex u-row-between u-m-t-24">
|
||||||
<view>{{data.name||'餐位费'}}</view>
|
<view>{{data.name||'餐位费'}}</view>
|
||||||
<view>x{{data.number}}</view>
|
<view>x{{data.number||0}}</view>
|
||||||
<view class="price-min-width">¥{{data.totalAmount}}</view>
|
<view class="price-min-width">¥{{data.totalAmount}}</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -46,6 +46,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="u-flex color-999 u-font-24">
|
<view class="u-flex color-999 u-font-24">
|
||||||
<view class="u-m-r-20" v-if="item.payType=='vipPay'">
|
<view class="u-m-r-20" v-if="item.payType=='vipPay'">
|
||||||
|
<text class="u-m-r-4">{{user.telephone||user.nickName}}</text>
|
||||||
<text>余额:</text>
|
<text>余额:</text>
|
||||||
<text>¥{{user.amount||'0'}}</text>
|
<text>¥{{user.amount||'0'}}</text>
|
||||||
</view>
|
</view>
|
||||||
@@ -194,6 +195,7 @@
|
|||||||
type: data.id ? 0 : 1 //0 设置 1 取消
|
type: data.id ? 0 : 1 //0 设置 1 取消
|
||||||
}).then(res=>{
|
}).then(res=>{
|
||||||
user.value = data
|
user.value = data
|
||||||
|
order.userId=data.id
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user