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(); },