修复代客下单退菜时历史订单会被标识为客座费问题
This commit is contained in:
parent
3d287016c0
commit
910fd4b9ad
|
|
@ -115,7 +115,7 @@ export default {
|
|||
this.goods = item?item:this.goods;
|
||||
console.log(item)
|
||||
this.show = true;
|
||||
if (item != "-999") {
|
||||
if (item.productId != "-999") {
|
||||
this.number = 1;
|
||||
} else {
|
||||
this.number = item.num;
|
||||
|
|
|
|||
|
|
@ -1714,6 +1714,9 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
isShowVipPrice() {
|
||||
if(!this.shopInfo.isUseVip){
|
||||
return false
|
||||
}
|
||||
return this.vipUser.isVip ? true : false;
|
||||
},
|
||||
coupdiscount() {
|
||||
|
|
@ -3061,7 +3064,14 @@ export default {
|
|||
return;
|
||||
}
|
||||
if (key === "returnCart") {
|
||||
const selGoods = this.order.old.list[this.order.old.selIndex];
|
||||
console.log(this.order);
|
||||
let selGoods=undefined
|
||||
if(this.order.selPlaceNum==-10){
|
||||
selGoods = {...this.order.seatFee,num:this.order.seatFee.number}
|
||||
}else{
|
||||
selGoods = this.order.old.list[this.order.selPlaceNum-1].info[this.order.old.selIndex];
|
||||
}
|
||||
console.log(selGoods);
|
||||
this.refToggle("refReturnCart", true, selGoods);
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue