From 09aee024e05292cf9e4b46c7c387b1019cfffd5c Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Thu, 21 Nov 2024 17:59:17 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9C=B8=E7=8E=8B=E9=A4=90=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagesOrder/components/orderInfoAfter.vue | 10 +++++----- pagesOrder/confirm_order/index.vue | 2 +- pagesOrder/order_detail/index.vue | 4 +++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/pagesOrder/components/orderInfoAfter.vue b/pagesOrder/components/orderInfoAfter.vue index d36a07c..e04d87d 100644 --- a/pagesOrder/components/orderInfoAfter.vue +++ b/pagesOrder/components/orderInfoAfter.vue @@ -277,11 +277,11 @@ this.favorable[0].value = ('-¥'+couponData.discountAmount) this.userCouponInfos.push({ - userCouponId: couponData.id, - type: couponData.type, - discountAmount: couponData.discountAmount, - num: couponData.type == 1 ? 1 : couponData.num, - }) + userCouponId: couponData.id, + type: couponData.type, + discountAmount: couponData.discountAmount, + num: couponData.type == 1 ? 1 : couponData.num, + }) this.$emit("setPayAmount",{ payAmount: this.listinfo.payAmount, diff --git a/pagesOrder/confirm_order/index.vue b/pagesOrder/confirm_order/index.vue index 972935c..a5438ee 100644 --- a/pagesOrder/confirm_order/index.vue +++ b/pagesOrder/confirm_order/index.vue @@ -963,7 +963,7 @@ res = await this.api.paymemeberIn({ shopId: uni.cache.get('shopId'), amount: this.listinfo.payAmount, - orderld: this.listinfoid, + orderId: this.listinfoid, // #ifdef MP-WEIXIN payType: 'wechatPay', // #endif diff --git a/pagesOrder/order_detail/index.vue b/pagesOrder/order_detail/index.vue index 90c872e..a3fc50a 100644 --- a/pagesOrder/order_detail/index.vue +++ b/pagesOrder/order_detail/index.vue @@ -250,6 +250,8 @@ } this.getAount(); } + + }, /** @@ -384,7 +386,7 @@ res = await this.api.paymemeberIn({ shopId: uni.cache.get('shopId'), amount: this.listinfo.payAmount, - orderld: this.orderId, + orderId: this.orderId, // #ifdef MP-WEIXIN payType: 'wechatPay', // #endif