From b6a7c02e600beb5d7d7c33327e97ddb4194376da Mon Sep 17 00:00:00 2001 From: modendeveloper Date: Mon, 10 Mar 2025 22:45:52 +0800 Subject: [PATCH] =?UTF-8?q?Fix=EF=BC=9A3219=20=E3=80=90=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E5=B0=8F=E7=A8=8B=E5=BA=8F=E3=80=91=E4=BB=8E=E5=95=86=E8=AF=A6?= =?UTF-8?q?=E9=A1=B5=E9=80=89=E6=8B=A9=E9=9D=9E=E6=9C=80=E9=AB=98=E5=87=8F?= =?UTF-8?q?=E5=85=8D=E9=87=91=E9=A2=9D=E4=BC=98=E6=83=A0=E5=88=B8=EF=BC=8C?= =?UTF-8?q?=E7=BB=93=E7=AE=97=E9=A1=B5=E9=9D=A2=E6=98=BE=E7=A4=BA=E7=9A=84?= =?UTF-8?q?=E4=BC=98=E6=83=A0=E5=88=B8=E4=BF=A1=E6=81=AF=E6=98=AF=E6=9C=80?= =?UTF-8?q?=E9=AB=98=E4=BC=98=E6=83=A0=E5=88=B8=EF=BC=8C=E4=B8=8E=E5=B7=B2?= =?UTF-8?q?=E9=80=89=E6=8B=A9=E7=9A=84=E4=BC=98=E6=83=A0=E5=88=B8=E4=B8=8D?= =?UTF-8?q?=E5=AF=B9=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/CouponsPopup.vue | 1 + pages/order/OrderSubmission/index.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/components/CouponsPopup.vue b/components/CouponsPopup.vue index 6e42d75..2c213c3 100644 --- a/components/CouponsPopup.vue +++ b/components/CouponsPopup.vue @@ -204,6 +204,7 @@ export default { selectCoupon(id) { this.couponId = id this.selectItem = this.list.find(e => e.id === id) || {} + this.$emit('max', this.selectItem) this.list.map(item => { item.checked = id === item.id }) diff --git a/pages/order/OrderSubmission/index.vue b/pages/order/OrderSubmission/index.vue index 76986df..6d883a9 100644 --- a/pages/order/OrderSubmission/index.vue +++ b/pages/order/OrderSubmission/index.vue @@ -438,6 +438,7 @@ export default { methods: { isNullOrEmpty, couponMax(e) { + console.log(e, 'dxdhkasjhdajks'); this.couponTitle = e.couponTitle this.couponId = this.$yroute.query.couponId || uni.getStorageSync('couponId') || 0 },