fix: bug
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m52s

This commit is contained in:
sexygoat
2026-04-25 15:51:24 +08:00
parent 9247001643
commit a770984ef7
4 changed files with 31 additions and 14 deletions

View File

@@ -299,7 +299,17 @@
{ label: '店铺名称', prop: 'shop_name' },
{ label: '订单号', prop: 'order_no' },
{ label: '资产标识符', prop: 'asset_identifier' },
{ label: '资产类型', prop: 'asset_type' },
{
label: '资产类型',
formatter: (_, data) =>
data.asset_type === 'device'
? '设备'
: data.asset_type === 'card'
? '单卡'
: data.asset_type === 'iot_card'
? 'IoT卡'
: data.asset_type || '-'
},
{
label: '申请退款金额',
formatter: (_, data) => formatCurrency(data.requested_refund_amount)

View File

@@ -457,12 +457,14 @@
{
prop: 'order_no',
label: '订单号',
width: 220
width: 180,
showOverflowTooltip: true
},
{
prop: 'asset_identifier',
label: '资产标识符',
width: 180
width: 200,
showOverflowTooltip: true
},
{
prop: 'asset_type',
@@ -471,9 +473,11 @@
formatter: (row: Refund) =>
row.asset_type === 'device'
? '设备'
: row.asset_type === 'iot_card'
? 'IoT卡'
: row.asset_type || '-'
: row.asset_type === 'card'
? '卡'
: row.asset_type === 'iot_card'
? 'IoT卡'
: row.asset_type || '-'
},
{
prop: 'requested_refund_amount',