修复平台代管财务差异
This commit is contained in:
@@ -54,6 +54,10 @@ function rowDiffClass(row: FinanceDailyItem) {
|
||||
? 'amount-danger'
|
||||
: ''
|
||||
}
|
||||
|
||||
function rowOfflinePendingClass(row: FinanceDailyItem) {
|
||||
return Number(row.offline_settlement_pending_amount_cent || 0) > 0 ? 'amount-warning' : ''
|
||||
}
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -62,7 +66,7 @@ function rowDiffClass(row: FinanceDailyItem) {
|
||||
<div class="page-header">
|
||||
<p class="eyebrow">Finance Dashboard</p>
|
||||
<h1>财务仪表盘</h1>
|
||||
<p>按天查看第三方收款退款、平台收入、号主入账和结算差异。</p>
|
||||
<p>按天查看第三方收款退款、平台收入、号主钱包入账/线下结算和结算差异。</p>
|
||||
</div>
|
||||
<div class="toolbar-actions">
|
||||
<el-date-picker
|
||||
@@ -114,9 +118,14 @@ function rowDiffClass(row: FinanceDailyItem) {
|
||||
<small>结账单口径</small>
|
||||
</div>
|
||||
<div class="metric-card">
|
||||
<span>号主实际入账</span>
|
||||
<strong>{{ moneyCent(dashboard.summary.owner_wallet_income_amount_cent) }}</strong>
|
||||
<small>钱包流水口径</small>
|
||||
<span>号主结算金额</span>
|
||||
<strong>{{ moneyCent(dashboard.summary.owner_effective_settlement_amount_cent) }}</strong>
|
||||
<small>钱包入账 + 平台代管线下结算</small>
|
||||
</div>
|
||||
<div class="metric-card">
|
||||
<span>待线下结算</span>
|
||||
<strong>{{ moneyCent(dashboard.summary.offline_settlement_pending_amount_cent) }}</strong>
|
||||
<small>{{ dashboard.summary.offline_settlement_pending_count }} 笔平台代管待处理</small>
|
||||
</div>
|
||||
<div class="metric-card">
|
||||
<span>退款中</span>
|
||||
@@ -174,8 +183,17 @@ function rowDiffClass(row: FinanceDailyItem) {
|
||||
<el-table-column label="号主应得" width="130">
|
||||
<template #default="{ row }">{{ moneyCent(row.owner_should_income_amount_cent) }}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="号主入账" width="130">
|
||||
<template #default="{ row }">{{ moneyCent(row.owner_wallet_income_amount_cent) }}</template>
|
||||
<el-table-column label="结算金额" width="130">
|
||||
<template #default="{ row }">{{
|
||||
moneyCent(row.owner_effective_settlement_amount_cent)
|
||||
}}</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="待线下" width="130">
|
||||
<template #default="{ row }">
|
||||
<span :class="rowOfflinePendingClass(row)">
|
||||
{{ moneyCent(row.offline_settlement_pending_amount_cent) }}
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="结算差异" width="130">
|
||||
<template #default="{ row }">
|
||||
@@ -211,6 +229,11 @@ function rowDiffClass(row: FinanceDailyItem) {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.amount-warning {
|
||||
color: #d97706;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.pickup-grid {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user