From 33e872afab9ab0b1a673c777f407d08f7c346bcb Mon Sep 17 00:00:00 2001
From: YeMingfei666 <1619116647@qq.com>
Date: Wed, 20 Nov 2024 13:52:15 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=AF=A6=E6=83=85=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E6=89=93=E6=8A=98=E4=BC=98=E6=83=A0=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pagesOrder/detail/components/list.vue | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/pagesOrder/detail/components/list.vue b/pagesOrder/detail/components/list.vue
index 51a6f02..6e7506e 100644
--- a/pagesOrder/detail/components/list.vue
+++ b/pagesOrder/detail/components/list.vue
@@ -176,22 +176,28 @@
{{vipDiscountPrice}}
-->
-
-
+
+ 打折
+
+ ¥
+ {{orderInfo.discountAmount}}
+
+
+
满减券抵扣
¥
{{orderInfo.fullCouponDiscountAmount}}
-
+
商品券抵扣
¥
{{orderInfo.productCouponDiscountAmount||productCoupPrice}}
-
+
积分抵扣
¥
@@ -349,7 +355,7 @@
})
const youhuiAllPrice=computed(()=>{
- return (freePrice.value*1+vipDiscountPrice.value*1+props.orderInfo.fullCouponDiscountAmount+props.orderInfo.pointsDiscountAmount+productCoupPrice.value*1).toFixed(2)
+ return (freePrice.value*1+vipDiscountPrice.value*1+props.orderInfo.fullCouponDiscountAmount+props.orderInfo.pointsDiscountAmount+productCoupPrice.value*1+(props.orderInfo.discountAmount||0)).toFixed(2)
})
const packFee = computed(() => {
const goodsPrice = props.data.reduce((prve, cur) => {