From 2808dec925e9543228984ff47b33e3de8989df90 Mon Sep 17 00:00:00 2001
From: GaoHao <1210693421@qq.com>
Date: Tue, 12 Nov 2024 11:06:34 +0800
Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E6=98=BE=E7=A4=BA=E6=9B=B4?=
=?UTF-8?q?=E6=96=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pagesOrder/confirm_order/index.vue | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
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 = [];