diff --git a/src/views/tool/Instead/components/return-cart.vue b/src/views/tool/Instead/components/return-cart.vue index 9f9e667..f057392 100644 --- a/src/views/tool/Instead/components/return-cart.vue +++ b/src/views/tool/Instead/components/return-cart.vue @@ -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; diff --git a/src/views/tool/Instead/index.vue b/src/views/tool/Instead/index.vue index ff92a0a..12c1433 100644 --- a/src/views/tool/Instead/index.vue +++ b/src/views/tool/Instead/index.vue @@ -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); } },