修复支付取消与成功统计
This commit is contained in:
@@ -391,15 +391,15 @@ function deleteDisabledReason(row: PaymentConfig) {
|
||||
<el-tag v-if="row.is_default" type="primary" size="small">默认</el-tag>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="使用统计" min-width="150">
|
||||
<el-table-column label="成功支付" min-width="150">
|
||||
<template #default="{ row }">
|
||||
<div class="usage-cell">
|
||||
<div>交易: {{ row.total_transactions }} 笔</div>
|
||||
<div>成功: {{ row.total_transactions }} 笔</div>
|
||||
<div>金额: ¥{{ formatAmount(row.total_amount_cent) }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="last_used_at" label="最后使用" min-width="180" show-overflow-tooltip>
|
||||
<el-table-column prop="last_used_at" label="最后成功支付" min-width="180" show-overflow-tooltip>
|
||||
<template #default="{ row }">
|
||||
{{ row.last_used_at ? formatDateTime(row.last_used_at, '-') : '-' }}
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user