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)} + + } + + {