修改代客下单切换会员逻辑
This commit is contained in:
parent
8318b9ed80
commit
07d072ce4c
|
|
@ -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();
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue