diff --git a/client/src/pages/BossPage.tsx b/client/src/pages/BossPage.tsx index c3994fc..711fa48 100644 --- a/client/src/pages/BossPage.tsx +++ b/client/src/pages/BossPage.tsx @@ -146,7 +146,7 @@ export function BossPage() { return acc }, {}) const totalStores = riskRows.length - const totalRev = Number(ex?.total_received || 0) + const totalRev = Number(od?.received || 0) // P0/P1门店 const p0Stores = priorityRows.filter((s: any) => s.action_priority?.startsWith('P0')) @@ -246,8 +246,8 @@ export function BossPage() { {/* ① 核心经营指标 */}
- - 0 ? '↑' : '↓'} ${Math.abs(trendReceived)}%`} /> + + 0 ? '↑' : '↓'} ${Math.abs(trendReceived)}%`} /> 0 ? sumKey(last7, 'received') / sumKey(last7, 'bill_count') : 0), (prev7.length > 0 ? sumKey(prev7, 'received') / sumKey(prev7, 'bill_count') : 0))} description={`账单 ${formatNumber(ex?.total_bills)} 笔`} />