From 66e15de9ebedd0e0d4cea34ac212d813896022ed Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Wed, 25 Sep 2024 14:32:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=83=A8=E5=88=86=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/Instead/index.vue | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index f597e7e..697efd2 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -1648,6 +1648,14 @@ export default { this.getCart(); this.getCacheOrder(); console.log(this.isCreateOrder) + if (!this.shopInfo.isTableFee && this.table.tableId&&this.perpole>0) { + //不免餐位费 + await $choseCount({ + masterId: this.masterId, + tableId: this.table.tableId, + num: this.perpole, + }); + } if (this.isCreateOrder) { this.toCreateOrder(true); } @@ -2765,14 +2773,7 @@ export default { } - if (!this.shopInfo.isTableFee && item&&this.perpole>0) { - //不免餐位费 - await $choseCount({ - masterId: this.masterId, - tableId: this.table.tableId, - num: this.perpole, - }); - } + // this.getCart(); // this.getGoods();