代客下单增加退菜改购物车商品状态

This commit is contained in:
YeMingfei666 2024-09-12 17:16:16 +08:00
parent 3df43ddbaa
commit f5df624f3e
1 changed files with 3 additions and 1 deletions

View File

@ -1548,12 +1548,14 @@ export default {
})
.catch(() => {});
},
//退
//退
async refReturnCartConfirm() {
const res = await $returnCart({
cartId: this.order.selGoods.id,
tableId: this.table.tableId,
});
this.order.selGoods.status = "return";
this.order.old.selIndex=-1;
console.log(this.order.selGoods);
},
//