代客下单修复:
结算时切换用户未重新获取订单信息
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user