代客下单修复:

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

View File

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