fix(cvp): BEP ⑤ 口径统一落地(变动成本率=完整口径)
ci/woodpecker/push/main Pipeline failed

- 派生器/口径:F_BEP_VC_RATE 新增;卡面/公式行文案改「月固定成本 ÷ 边际贡献率」
- 保本额 = 月固定成本 ÷ (1 − 变动成本率);实测渠补率(F_BEP_REBATE)降为 e1 专用 chip
- 报告卡口径说明文字同步(固定成本=固定费用合计)

任务: finance-20261003-cvp-fix-and-bohai-coverage-fullstack ⑤
This commit is contained in:
wecom-fullstack
2026-10-04 19:53:12 +08:00
committed by Hermes CI Fix
parent 4fe956fcf9
commit 587d5b3983
5 changed files with 240 additions and 77 deletions
+8 -7
View File
@@ -81,10 +81,10 @@
<div class="detail-title">📐 公式</div>
<div class="detail-line">{{ card.formula }}</div>
<div v-if="mode === 'book'" class="detail-line sub">
账面:固定成本{{ fmt(inputs.admin_avg) }}万 ÷ {{ fmt(inputs.cm_pct, 2) }}% = 保本{{ fmt(current.bep_revenue) }}万(管理费含折旧)
账面:固定成本{{ fmt(inputs.admin_avg) }}万 ÷ {{ fmt(inputs.cm_pct, 2) }}% = 保本{{ fmt(current.bep_revenue) }}万(固定成本含折旧)
</div>
<div v-if="mode === 'cash'" class="detail-line sub">
现金:管理费{{ fmt(inputs.admin_avg) }} − 折旧{{ fmt(inputs.dep_avg) }} = {{ fmt(current.admin_avg) }}万 ÷ {{ fmt(inputs.cm_pct, 2) }}% = 保本{{ fmt(current.bep_revenue) }}万
现金:固定成本{{ fmt(inputs.admin_avg) }} − 折旧{{ fmt(inputs.dep_avg) }} = {{ fmt(current.admin_avg) }}万 ÷ {{ fmt(inputs.cm_pct, 2) }}% = 保本{{ fmt(current.bep_revenue) }}万
</div>
</div>
<div class="detail-col">
@@ -96,9 +96,10 @@
<div class="detail-kpis">
<div class="detail-title">📊 输入KPI</div>
<div class="kpi-chips">
<span class="kpi-chip">月管理费 <b>{{ fmt(inputs.admin_avg) }}</b>万</span>
<span class="kpi-chip">月收入(5001) <b>{{ fmt(inputs.sales_avg) }}</b>万</span>
<span class="kpi-chip">渠补率 <b>{{ fmt(inputs.rebate_pct, 2) }}</b>%</span>
<span class="kpi-chip">月固定成本 <b>{{ fmt(inputs.admin_avg) }}</b>万</span>
<span class="kpi-chip">月收入 <b>{{ fmt(inputs.sales_avg) }}</b>万</span>
<span class="kpi-chip">变动成本率 <b>{{ fmt(inputs.vc_pct, 2) }}</b>%</span>
<span v-if="inputs.rebate_pct != null" class="kpi-chip">渠补率 <b>{{ fmt(inputs.rebate_pct, 2) }}</b>%</span>
<span class="kpi-chip">折旧 <b>{{ fmt(inputs.dep_avg) }}</b>万/月</span>
</div>
<div class="kpi-src-note">数据源:voucher_details 凭证聚合(YTD月均口径)· {{ card.period }} · 纯只读</div>
@@ -149,8 +150,8 @@ const lvlText = computed(() => ({ green: '已保本', yellow: '未达保本', re
const gapColor = computed(() => (current.value.gap <= 0 ? '#67c23a' : current.value.gap <= 50 ? '#e6a23c' : '#f56c6c'))
const modeNote = computed(() =>
mode.value === 'cash'
? '固定成本=管理费−折旧(现金视角)'
: '固定成本=管理费(含折旧,账面视角)'
? '固定成本=固定费用合计−折旧(现金视角)'
: '固定成本=固定费用合计(含折旧,账面视角)'
)
const insight = computed(() => {