代客下单更新

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

@@ -120,10 +120,10 @@
if(props.data.length<=0){
return infoBox.showToast('还没有选择商品')
}
const {tableId,name,maxCapacity,status}=props.table
go.to('PAGES_CONFIRM_ORDER',{
...props.user,
masterId:props.masterId,
...props.table,
tableId,name,maxCapacity,status
})
}
@@ -227,12 +227,9 @@
.car {
padding: 0 28rpx;
position: relative;
left: 0;
right: 0;
background-color: #fff;
padding-top: 10rpx;
bottom: 0;
padding-bottom: calc(1px + env(safe-area-inset-bottom));
padding-bottom: calc(40rpx + env(safe-area-inset-bottom));
/* #ifdef H5 */
padding-bottom: 68rpx;

View File

@@ -53,6 +53,11 @@
index: {
type: Number,
},
isSeatFee:{
//是否为餐位费
type:Boolean,
default:false
},
data: {
type: Object,
default: () => {

View File

@@ -40,7 +40,7 @@
</view>
</view>
<view class="u-m-t-10">
<my-button @tap="close" type="cancel" v-if="isAllDisabled||!goods.isGrounding"><view class="color-999">已下架</view></my-button>
<my-button @tap="close" type="cancel" v-if="isAllDisabled||!goods.isGrounding"><view class="color-999">已下架/售罄</view></my-button>
<my-button @tap="confirm" v-else>添加</my-button>
</view>
</view>