代客下单暂时影藏打包费
This commit is contained in:
parent
54f824f2de
commit
80875551ae
|
|
@ -200,19 +200,21 @@
|
|||
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="u-flex u-row-between u-m-t-18 u-p-b-34 border-bottom">
|
||||
<view>
|
||||
<text v-if="eatTypes.active=='takeout'">包装费</text>
|
||||
<text v-else>桌位费</text>
|
||||
<template v-if="eatTypes.active=='takeout'">
|
||||
</template>
|
||||
<template v-else>
|
||||
<view v-if="$seatFee&&$seatFee.totalAmount" class="u-flex u-row-between u-m-t-18 u-p-b-34 border-bottom">
|
||||
<view>
|
||||
<text >桌位费</text>
|
||||
</view>
|
||||
<view>¥{{$seatFee.totalAmount||'0.00'}}</view>
|
||||
</view>
|
||||
<view>¥{{$seatFee.totalAmount||'0.00'}}</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<view class="u-flex u-row-right u-m-t-38">
|
||||
<template v-if="$shop.registerType=='munchies'">
|
||||
<!-- <template v-if="$shop.registerType=='munchies'">
|
||||
<view class="color-main" @tap="showModel('editMoney')">修改</view>
|
||||
</template>
|
||||
</template> -->
|
||||
<view class="u-flex price u-m-l-32">
|
||||
<view class="">实收金额</view>
|
||||
<view class="font-bold u-font-32">¥{{formatPrice(allPrice) }}</view>
|
||||
|
|
@ -463,7 +465,7 @@
|
|||
return (goodsTotalPrice|| 0).toFixed(2)
|
||||
})
|
||||
const allPrice = computed(() => {
|
||||
const n=goodsPrice.value*1 + ($seatFee.totalAmount || 0)
|
||||
const n=goodsPrice.value*1 + (eatTypes.active=='takeout'?0:($seatFee.totalAmount || 0))
|
||||
return n.toFixed(2)
|
||||
// const goodsTotalPrice = goods.list.reduce((prve, cur) => {
|
||||
// return prve + cur.salePrice * cur.number * (cur.isGift ? 0 : 1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue