From 07d072ce4c4cf7c7980e93e01129966a96cdf014 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 19 Nov 2024 15:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E5=AE=A2=E4=B8=8B?= =?UTF-8?q?=E5=8D=95=E5=88=87=E6=8D=A2=E4=BC=9A=E5=91=98=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/tool/Instead/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index eae9e76..a9a1272 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -1609,6 +1609,7 @@ export default { total: 0, }, order: { + status:'', packFee: { totalNumber: 0, status: "", @@ -2038,9 +2039,9 @@ export default { // this.masterId = masterId; console.log("this.createOrder.data"); console.log(this.createOrder.data); - if(this.createOrder.data.memberId==val){ - return - } + if(this.order.status=='finish'){ + return + } $setUser({ tableId: this.table.tableId, masterId: this.masterId, @@ -2053,6 +2054,8 @@ export default { this.getOrderData().then(() => { this.pointsValueChange(this.points.value); }); + }else{ + this.getCart() } }); }, @@ -2834,6 +2837,7 @@ export default { title: "支付成功", type: "success", }); + this.order.status='finish' this.close(); // this.reset(); },