代客下单修复:

结算时切换用户未重新获取订单信息
This commit is contained in:
2024-11-06 15:29:31 +08:00
parent 3ad1407173
commit 958229f63d

View File

@@ -1932,10 +1932,13 @@ export default {
orderId: this.createOrder.data.id || "", orderId: this.createOrder.data.id || "",
type: val === "" ? 1 : 0, type: val === "" ? 1 : 0,
}).then((res) => { }).then((res) => {
this.createOrder.data.memberId = val.id; if(this.isCreateOrder){
this.getOrderData();
this.createOrder.data.memberId = val.id;
this.getCalcUsablePoints().then((res) => { this.getCalcUsablePoints().then((res) => {
this.pointsValueChange(this.points.value); this.pointsValueChange(this.points.value);
}); });
}
}); });
}, },
"prveOrder.list.length": function (val) { "prveOrder.list.length": function (val) {