diff --git a/pagesOrder/confirm_order/index.vue b/pagesOrder/confirm_order/index.vue
index 8dc6829..7e7e913 100644
--- a/pagesOrder/confirm_order/index.vue
+++ b/pagesOrder/confirm_order/index.vue
@@ -96,7 +96,7 @@
{{item.value}}
-
+
{{ item.name }}
@@ -548,14 +548,14 @@
shopId: uni.cache.get('shopId'),
type: index,
}
- if ( this.eatModel == "dine-in" && this.tableCode ) { params.tableId = this.tableCode; }
+ if ( index == 0 && this.tableCode ) { params.tableId = this.tableCode; }
if ( this.shopTableInfo && this.shopTableInfo.seatNum ) { params.num = this.shopTableInfo.seatNum; }
let res = await this.api.choseEatModel(params)
console.log(index)
if ( type == 'tabClick') {
if ( index == 1 ) {
- if ( this.listinfo.details.length > 0) {
+ if ( res.data.info.length > 0) {
this.is_type = index;
this.sendType = item.type
this.eatModel = [];