代客下单增加退菜改购物车商品状态
This commit is contained in:
@@ -1548,12 +1548,14 @@ export default {
|
|||||||
})
|
})
|
||||||
.catch(() => {});
|
.catch(() => {});
|
||||||
},
|
},
|
||||||
//退单
|
//退菜
|
||||||
async refReturnCartConfirm() {
|
async refReturnCartConfirm() {
|
||||||
const res = await $returnCart({
|
const res = await $returnCart({
|
||||||
cartId: this.order.selGoods.id,
|
cartId: this.order.selGoods.id,
|
||||||
tableId: this.table.tableId,
|
tableId: this.table.tableId,
|
||||||
});
|
});
|
||||||
|
this.order.selGoods.status = "return";
|
||||||
|
this.order.old.selIndex=-1;
|
||||||
console.log(this.order.selGoods);
|
console.log(this.order.selGoods);
|
||||||
},
|
},
|
||||||
// 台桌列表
|
// 台桌列表
|
||||||
|
|||||||
Reference in New Issue
Block a user