feat(settlement): 优化结算中心待处理视图与账单显示
Some checks failed
lotteryadmin CI / build (push) Has been cancelled

- 新增接口参数 agent_scope 支持筛选直接代理
- 结算中心导航新增“待处理”视图,并设置默认视图为“待处理”
- 结算中心页面新增待处理账单工作台,支持待确认、待收付和异常账单分类显示
- 调整账单状态文本,明确“已确认”改为“待收付”,“部分结清”改为“部分收付”
- 优化账单明细中的代理结算说明和收益展示文案
- 账单详情页添加当前账单主要操作提示区,提示确认、登记付款或复核状态
- 结算中心流水模块及多语言资源关于“账务流水”统一改为“流水审计”
- 优化结算主面板中待处理模式与全部模式的筛选和分页逻辑
- 结合管理员权限控制结算中心可见站点列表,增强集成站点加载逻辑
This commit is contained in:
2026-07-01 15:35:25 +08:00
parent 4484a7a77a
commit 2f9e06fb78
14 changed files with 374 additions and 171 deletions

View File

@@ -65,10 +65,13 @@
},
"nav": {
"periods": "Periods",
"pendingWorkbench": "To do",
"allBills": "All bills",
"bills": "Bills",
"operations": "Payments & adjustments",
"aria": "Period views",
"ledger": "Account ledger",
"ledgerAudit": "Ledger audit",
"creditLedger": "Credit ledger",
"playerBills": "Player bills",
"agentBills": "Agent bills",
@@ -194,9 +197,9 @@
},
"billStatus": {
"pending_confirm": "Pending confirm",
"confirmed": "Confirmed",
"partial_paid": "Partial paid",
"settled": "Settled",
"confirmed": "Awaiting payment",
"partial_paid": "Partial payment",
"settled": "Fully settled",
"overdue": "Overdue",
"reversed": "Reversed"
},
@@ -229,26 +232,34 @@
"payerLabel": "Payer",
"payeeLabel": "Payee",
"playerBreakdownIntro": "Players settle only with their direct agent: net = win/loss rebate.",
"agentBreakdownIntro": "Agents settle only with their upline: net = team net downline share own share.",
"agentBreakdownIntro": "Start with this period's team win/loss, deduct player rebates and retained shares, then settle the remaining amount with the upline.",
"playerGross": "Game win/loss",
"playerLostHint": "Player lost; owes agent",
"playerWonHint": "Player won; agent owes player",
"playerNet": "Player net payable",
"playerNetReceive": "Agent pays player",
"teamGross": "Team game win/loss",
"teamGrossHint": "Includes this agent and all downline players",
"teamGross": "Team win/loss this period",
"teamGrossHint": "Total for this agent and downline players in this period",
"teamGrossShort": "Team",
"playerGrossShort": "Player",
"teamRebate": "Team rebate",
"teamNet": "Team net",
"teamRebate": "Deduct player rebates",
"teamNet": "Profit available to split",
"rebate": "Rebate",
"agentShareKeep": "Share kept at this tier",
"agentShareKeepHint": "Profit retained at this tier by share ratio",
"agentDownlineShare": "Downline share",
"agentDownlineShareHint": "Profit retained by downline agents (see breakdown below)",
"agentShareKeep": "This tier keeps",
"agentShareKeepHint": "Amount retained by this tier under the agreed share",
"agentDownlineShare": "Downline agents keep",
"agentDownlineShareHint": "Amount retained by downline agents first (see breakdown below)",
"agentDownlineShareItem": "{{agent}} kept",
"agentNet": "Pay {{counterparty}}",
"agentNetReceive": "{{counterparty}} pays this tier",
"agentNet": "Remit to {{counterparty}}",
"agentNetReceive": "{{counterparty}} owes this tier",
"actionPendingConfirmTitle": "Confirm this bill next",
"actionPendingConfirmDesc": "Confirm the amount and parties, then the bill moves to awaiting payment.",
"actionAwaitingPaymentTitle": "Record payment next",
"actionAwaitingPaymentDesc": "Record offline payment according to the payer/payee direction. Partial payments are allowed.",
"actionSettledTitle": "This bill is fully settled",
"actionSettledDesc": "Review the breakdown and payment history below if needed.",
"actionReviewTitle": "Review this bill status",
"actionReviewDesc": "Use adjustment, reversal, or bad debt actions if the amount or direction is wrong.",
"billOwner": "Bill owner",
"billCounterparty": "Counterparty",
"unpaidPendingConfirm": "Confirm the bill before recording payment",
@@ -340,6 +351,15 @@
"clientFilterHint": "Owner filter: showing {{shown}} / {{total}}",
"emptyFiltered": "No bills match the filter. Try All statuses or reset.",
"emptyClosed": "Period closed but no bills. Often no settled credit tickets in range.",
"workbenchEmpty": "No bills need action in this period. Use All bills for settled or historical bills.",
"workbench": {
"pendingTitle": "Bills pending confirm",
"pendingHint": "Confirm the amount and parties first; confirmed bills move to awaiting payment.",
"awaitingTitle": "Bills awaiting payment",
"awaitingHint": "Record offline payment by payer/payee direction. Bills close when fully paid.",
"exceptionTitle": "Exceptions",
"exceptionHint": "Review adjustment, reversal, and bad debt records here."
},
"rowHint": {
"playerOwner": "Player owner",
"agentOwner": "Agent owner",