diff --git a/pages/order/OrderSubmission/index.vue b/pages/order/OrderSubmission/index.vue index b7cf9a3..76986df 100644 --- a/pages/order/OrderSubmission/index.vue +++ b/pages/order/OrderSubmission/index.vue @@ -109,13 +109,14 @@ - + + -¥ {{ force2Decimal(orderPrice.couponPrice) }} + @@ -391,7 +392,8 @@ export default { await this.computedPrice('couponId') } }, - onLoad() { + onLoad(opts) { + console.log(opts); const that = this if (that.$yroute.query.pinkid !== undefined) { that.pinkId = that.$yroute.query.pinkid @@ -403,7 +405,7 @@ export default { if (that.$yroute.query.lotteryRecordId !== undefined) { that.lotteryRecordId = that.$yroute.query.lotteryRecordId } - that.hasCoupon = that.$yroute.query.couponId !== '' + that.hasCoupon = opts.couponId !== '' }, onShow() { const _this = this