⚠️ 后端拉取失败:{{ errorMsg }}

B2B 合同总盘口 (CNY · ACTIVE)

¥ {{ fmt(summary.total_contract_value_cny) }}

已交付履约: ¥ {{ fmt(summary.total_delivered_cny) }} ({{ deliveredPct }}%)

应收账款与开票 (AR)

待开票金额

¥ {{ fmt(summary.pending_invoices_cny) }}

已确认对账单未开票

¥ {{ fmt(summary.ar_receivables_cny) }}

📜 大客户合同履约进度 (Burn Rate)

客户名称 合同编号 总金额 算力交付进度
{{ contract.company }} {{ contract.contract_no }} ¥ {{ fmt(contract.total) }}
¥ {{ fmt(contract.delivered) }} {{ contract.progress_pct }}%
暂无合同(contracts 表为空)

🧾 金税四期 自动开票工作台

⚠️ 开票会真实改写数据库中的 invoices.status; 税局网关已接入骨架(默认 mock,税控号 mock 生成);真实金税四期切换 FINANCE_TAX_GATEWAY 环境变量,业务零改动。

{{ invoice.company }} {{ invoice.status }} 已开具

¥ {{ fmt(invoice.amount) }}

账期: {{ invoice.statement_month || '—' }} | {{ invoice.type }}

{{ invoice.blockedReason }}

税控代码: {{ invoice.invoice_code || '—' }}

发票号码: {{ invoice.invoice_number || '—' }}

下载版式文件 版式文件待生成

暂无发票(invoices 表为空)

🧮 银企对账(渠道流水 vs 平台打款)

⚠️ 对账会拉取渠道对账文件并**落库**(recon_records / recon_runs)。 差异分四类处置方式不同:金额不符 / 平台有渠道无(钱可能没出去)/ 渠道有平台无(需解释来源)。

{{ reconError }}
{{ recon.latest.balanced ? '✅ 平账' : '🚨 不平,需人工核查' }} {{ recon.latest.batch_date }} · 渠道 {{ recon.latest.gateway }} · 执行于 {{ recon.latest.created_at }}

渠道笔数

{{ recon.latest.channel_count }}

平台笔数

{{ recon.latest.platform_count }}

已匹配(确证)

{{ recon.latest.matched_count }}

推断匹配 ⚠

{{ recon.latest.inferred_match_count || 0 }}

差异笔数

{{ recon.latest.mismatch_count }}

渠道净额 / 平台已付

{{ fmt(recon.latest.net_amount_cny) }} / {{ fmt(recon.latest.platform_paid_cny) }}

⚠ 有 {{ recon.latest.inferred_match_count }} 笔为「推断匹配」(渠道未回传幂等键, 凭金额+对手方账户推定)。金额与净额相符,但建议抽检确认对手方无误。

{{ recon.latest.detail }}

流水号 方向 金额 (CNY) 对手方 差异类型 说明
{{ m.channel_seq }} {{ m.direction === 'D' ? '付' : '收' }} {{ fmt(m.amount_cny) }} {{ m.counterparty_name || '—' }} {{ m.match_status }} {{ m.note }}
无差异项 —— 渠道流水与平台打款逐笔一致
尚无对账记录(选择营业日后点「执行对账」)