代客下单更新

This commit is contained in:
2024-09-29 16:13:10 +08:00
parent eea3e1e010
commit 74c6237037
11 changed files with 130 additions and 2186 deletions

View File

@@ -149,7 +149,7 @@
</view>
<scroll-view scroll-x="true" v-if="index==goods.sel">
<view class="u-m-t-32 u-flex no-wrap">
<view class="u-m-t-32 u-flex no-wrap u-p-b-12">
<!-- <view class="u-flex u-m-r-20 u-m-b-20">
<button class="tag" hover-class="hover-class" @tap="showModel('discount')">单品打折</button>
</view> -->
@@ -175,7 +175,7 @@
</view>
</view>
<view class="u-flex u-row-between u-m-t-30 u-p-b-34 border-bottom">
<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>
@@ -492,7 +492,7 @@
console.log(res);
if ($shop.value.registerType == 'munchies') {
//先付
return go.to('PAGES_CRESATE_ORDER_PAY', {
return go.to('PAGES_ORDER_PAY', {
orderId: res.id
})
} else {
@@ -519,6 +519,7 @@
}
onLoad((opt) => {
console.log('opt');
console.log(opt);
Object.assign(option, opt)
if (opt) {