fix: 卡列表删除一次性佣金和累计充值
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m50s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 3m50s
This commit is contained in:
@@ -452,15 +452,6 @@
|
|||||||
<ElDescriptionsItem label="累计流量使用"
|
<ElDescriptionsItem label="累计流量使用"
|
||||||
>{{ currentCardDetail.data_usage_mb }} MB</ElDescriptionsItem
|
>{{ currentCardDetail.data_usage_mb }} MB</ElDescriptionsItem
|
||||||
>
|
>
|
||||||
|
|
||||||
<ElDescriptionsItem label="一次性佣金">
|
|
||||||
<ElTag :type="currentCardDetail.first_commission_paid ? 'success' : 'info'">
|
|
||||||
{{ currentCardDetail.first_commission_paid ? '已产生' : '未产生' }}
|
|
||||||
</ElTag>
|
|
||||||
</ElDescriptionsItem>
|
|
||||||
<ElDescriptionsItem label="累计充值">{{
|
|
||||||
formatCardPrice(currentCardDetail.accumulated_recharge)
|
|
||||||
}}</ElDescriptionsItem>
|
|
||||||
<ElDescriptionsItem label="创建时间">{{
|
<ElDescriptionsItem label="创建时间">{{
|
||||||
formatDateTime(currentCardDetail.created_at)
|
formatDateTime(currentCardDetail.created_at)
|
||||||
}}</ElDescriptionsItem>
|
}}</ElDescriptionsItem>
|
||||||
@@ -891,8 +882,6 @@
|
|||||||
{ label: '网络状态', prop: 'network_status' },
|
{ label: '网络状态', prop: 'network_status' },
|
||||||
{ label: '实名状态', prop: 'real_name_status' },
|
{ label: '实名状态', prop: 'real_name_status' },
|
||||||
{ label: '累计流量(MB)', prop: 'data_usage_mb' },
|
{ label: '累计流量(MB)', prop: 'data_usage_mb' },
|
||||||
{ label: '一次性佣金', prop: 'first_commission_paid' },
|
|
||||||
{ label: '累计充值', prop: 'accumulated_recharge' },
|
|
||||||
{ label: '创建时间', prop: 'created_at' }
|
{ label: '创建时间', prop: 'created_at' }
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -1093,22 +1082,6 @@
|
|||||||
label: '累计流量(MB)',
|
label: '累计流量(MB)',
|
||||||
width: 120
|
width: 120
|
||||||
},
|
},
|
||||||
{
|
|
||||||
prop: 'first_commission_paid',
|
|
||||||
label: '一次性佣金',
|
|
||||||
width: 100,
|
|
||||||
formatter: (row: StandaloneIotCard) => {
|
|
||||||
const type = row.first_commission_paid ? 'success' : 'info'
|
|
||||||
const text = row.first_commission_paid ? '已产生' : '未产生'
|
|
||||||
return h(ElTag, { type, size: 'small' }, () => text)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
prop: 'accumulated_recharge',
|
|
||||||
label: '累计充值',
|
|
||||||
width: 100,
|
|
||||||
formatter: (row: StandaloneIotCard) => `¥${(row.accumulated_recharge / 100).toFixed(2)}`
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
prop: 'created_at',
|
prop: 'created_at',
|
||||||
label: '创建时间',
|
label: '创建时间',
|
||||||
|
|||||||
Reference in New Issue
Block a user