From 60a32468faf6ab6a10256dcacb4686546045dde8 Mon Sep 17 00:00:00 2001
From: Haiyi <1021441632@qq.com>
Date: Fri, 18 Nov 2022 14:31:09 +0800
Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix(ID1000757):=E6=95=A3?=
=?UTF-8?q?=E5=89=AA=E5=A4=9A=E4=BB=98=E9=80=80=E6=AC=BE=E6=97=B6=E7=9A=84?=
=?UTF-8?q?=E5=BE=85=E4=BB=98=E9=87=91=E9=A2=9D=E4=B8=BA=E8=B4=9F=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/orderDetails/index.tsx | 26 +++++++++++++++++++-------
1 file changed, 19 insertions(+), 7 deletions(-)
diff --git a/src/pages/orderDetails/index.tsx b/src/pages/orderDetails/index.tsx
index 70aef2d..40b8ff1 100644
--- a/src/pages/orderDetails/index.tsx
+++ b/src/pages/orderDetails/index.tsx
@@ -650,14 +650,26 @@ export default () => {
¥{formatPriceDiv(infoObj.actual_amount)}
-
-
- 待付金额
- {/* */}
-
+ {
+ infoObj?.wait_pay_amount < 0 &&
+
+ {infoObj?.wait_pay_amount?.toString().indexOf('-') !== -1 ? '退款金额' : '待付金额'}
+
+
+ ¥{formatPriceDiv(infoObj.wait_pay_amount)}
- ¥{formatPriceDiv(infoObj.wait_pay_amount)}
-
+ }
+ {
+ infoObj?.wait_pay_amount > 0 &&
+
+ {infoObj?.wait_pay_amount?.toString().indexOf('-') !== -1 ? '退款金额' : '待付金额'}
+
+
+ ¥{formatPriceDiv(infoObj.wait_pay_amount)}
+
+ }
+
+
{