修改部分请求顺序
This commit is contained in:
@@ -1648,6 +1648,14 @@ export default {
|
||||
this.getCart();
|
||||
this.getCacheOrder();
|
||||
console.log(this.isCreateOrder)
|
||||
if (!this.shopInfo.isTableFee && this.table.tableId&&this.perpole>0) {
|
||||
//不免餐位费
|
||||
await $choseCount({
|
||||
masterId: this.masterId,
|
||||
tableId: this.table.tableId,
|
||||
num: this.perpole,
|
||||
});
|
||||
}
|
||||
if (this.isCreateOrder) {
|
||||
this.toCreateOrder(true);
|
||||
}
|
||||
@@ -2765,14 +2773,7 @@ export default {
|
||||
}
|
||||
|
||||
|
||||
if (!this.shopInfo.isTableFee && item&&this.perpole>0) {
|
||||
//不免餐位费
|
||||
await $choseCount({
|
||||
masterId: this.masterId,
|
||||
tableId: this.table.tableId,
|
||||
num: this.perpole,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
// this.getCart();
|
||||
// this.getGoods();
|
||||
|
||||
Reference in New Issue
Block a user