mirror of
https://gitee.com/ShopeX/ECShopX_mobile-frontend
synced 2026-08-14 17:41:45 +08:00
feat: 更新售后退运费展示
This commit is contained in:
@@ -175,5 +175,6 @@ export const TRADE_AFTER_SALES_ITEM = {
|
||||
evidencePic: 'evidence_pic',
|
||||
createTime: ({ create_time }) => formatDateTime(create_time * 1000),
|
||||
returnType: 'return_type',
|
||||
freight: ({ freight }) => freight / 100
|
||||
freight: ({ freight }) => freight / 100,
|
||||
refund_freight_amount: ({ refund_freight_amount }) => refund_freight_amount / 100
|
||||
}
|
||||
|
||||
@@ -224,9 +224,9 @@ function TradeAfterSaleDetail(props) {
|
||||
<SpCell title='退积分' value={<SpPrice value={info?.refund_info?.refundPoint || info?.refundPoint} />}></SpCell>
|
||||
</View>
|
||||
{
|
||||
info?.freight > 0 &&
|
||||
info?.refund_freight_amount > 0 &&
|
||||
<View className='refund-point'>
|
||||
<SpCell title='退运费' value={info?.freight}></SpCell>
|
||||
<SpCell title='退运费' value={info?.refund_freight_amount}></SpCell>
|
||||
</View>
|
||||
}
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user