From 5dc01c9a3eea826da3ffc5cbaf1a55a8b812af5e Mon Sep 17 00:00:00 2001 From: linxi Date: Mon, 3 Mar 2025 15:17:36 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A=E5=8E=BB=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=8C=89=E9=92=AE=E5=8E=BB=E6=8E=89=EF=BC=8C=E7=AE=AD=E5=A4=B4?= =?UTF-8?q?=E6=94=B9=E5=88=B0=E6=95=B0=E5=AD=97=E5=90=8E=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/order/OrderSubmission/index.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) 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