Commit f796d788 by 李伟康

修复BUG

1 parent 10fbce5c
......@@ -139,7 +139,7 @@ export default {
},
methods: {
setData (res) {
res.orderGoods.map(e => (this.price += e.retailPrice))
res.orderGoods.map(e => (this.price += i.activityPrice ? i.activityPrice : e.retailPrice))
this.detail = res
this.flag = true
this.total = this.price + res.expressFee
......@@ -147,7 +147,7 @@ export default {
},
getGoodsDetail (orderCode) {
shopmallApi.getGoodsDetail(orderCode).then(res => {
this.setData(res)
this.setData(res)
this.hideBtn = true
})
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!