Commit 7d85af85 by 李伟康

修复BUG

1 parent fc7a4b7e
...@@ -139,8 +139,7 @@ export default { ...@@ -139,8 +139,7 @@ export default {
}, },
methods: { methods: {
setData (res) { setData (res) {
let _price_ = i.activityPrice ? i.activityPrice : e.retailPrice res.orderGoods.map(e => (this.price += e.activityPrice ? e.activityPrice : e.retailPrice))
res.orderGoods.map(e => (this.price += _price_))
this.detail = res this.detail = res
this.flag = true this.flag = true
this.total = this.price + res.expressFee this.total = this.price + res.expressFee
......
...@@ -469,7 +469,7 @@ export default { ...@@ -469,7 +469,7 @@ export default {
} }
}, },
scan () { scan () {
// let resultStr = 't=2&c=3550458286042910720' // let resultStr = 't=1&c=550902106144645120'
wxConfig.scanQRCode(1).then(({ resultStr }) => { wxConfig.scanQRCode(1).then(({ resultStr }) => {
let name = 'verificationDetail' let name = 'verificationDetail'
let [t, c] = resultStr.split('&') let [t, c] = resultStr.split('&')
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!