feat(settlement, admin): introduce new types and functions for downline share and settlement period hints

Added new types for downline share breakdown and settlement period open hints to enhance the agent settlement API. Updated the admin console components to support these new features, improving the user experience with better data presentation and interaction. Additionally, refined the date range field to accommodate new calendar markers and hints, ensuring a more intuitive interface for managing settlement periods.
This commit is contained in:
2026-06-12 16:01:42 +08:00
parent 1eb6702c51
commit 24fd7c10bd
50 changed files with 1821 additions and 618 deletions

View File

@@ -49,6 +49,7 @@
"nav": {
"periods": "账期",
"bills": "账单",
"operations": "收付与调账",
"ledger": "账务流水",
"creditLedger": "信用流水",
"playerBills": "玩家账单",
@@ -60,6 +61,16 @@
"badDebt": "坏账核销",
"reports": "账期报表"
},
"operations": {
"hint": "登记收付、坏账核销与补差/冲正的操作台账。玩家信用变动请查看「账务流水」。",
"adjustmentsTitle": "调账 / 冲正 / 坏账",
"loadFailed": "收付与调账记录加载失败",
"operationType": "操作类型",
"filterAllTypes": "全部类型",
"typePayment": "登记收付",
"keyword": "关键词",
"keywordPh": "方式、原因、凭证、收付方向"
},
"filters": {
"period": "账期范围",
"statusAll": "全部",
@@ -154,6 +165,8 @@
"amount": "金额",
"method": "方式",
"time": "时间",
"summary": "摘要",
"detail": "说明",
"adjustmentType": "调账类型",
"originalBill": "原账单",
"reason": "原因",
@@ -177,6 +190,10 @@
"reversal": "冲正",
"bad_debt": "坏账核销"
},
"paymentStatus": {
"pending": "待确认",
"confirmed": "已确认"
},
"actions": {
"detail": "详情",
"viewBill": "查看账单",
@@ -187,9 +204,11 @@
"settlementAmount": "结算金额",
"pays": "应付",
"paysShort": "应付",
"howAmountWorks": "金额怎么来的",
"howAmountWorks": "结算明细",
"payerLabel": "付款方",
"payeeLabel": "收款方",
"playerBreakdownIntro": "玩家只与直属代理结算,净额 = 输赢 回水。",
"agentBreakdownIntro": "代理只与直属上级结算,净额 = 团队净额 本级占成。",
"agentBreakdownIntro": "代理只与直属上级结算,净额 = 团队净额 下级占成 本级占成。",
"playerGross": "游戏输赢",
"playerLostHint": "玩家输了,应付代理",
"playerWonHint": "玩家赢了,代理应付玩家",
@@ -202,15 +221,19 @@
"teamRebate": "团队回水",
"teamNet": "团队净额",
"rebate": "回水",
"agentShareKeep": "{{agent}} 本级占成",
"agentShareKeep": "本级占成",
"agentShareKeepHint": "本级按占成比例留下的利润",
"agentNet": "{{agent}} 应付上级",
"agentNetReceive": "上级应付 {{agent}}",
"agentDownlineShare": "下级占成",
"agentDownlineShareHint": "下级代理按占成比例保留的利润(明细见下行)",
"agentDownlineShareItem": "{{agent}} 保留",
"agentNet": "应付 {{counterparty}}",
"agentNetReceive": "{{counterparty}} 应付本级",
"billOwner": "账单主体",
"billCounterparty": "结算对手",
"unpaidPendingConfirm": "确认账单后可登记收付",
"unpaidAwaitingPayment": "请登记线下收付",
"fullySettled": "本期已结清",
"confirmHint": "确认后才可以登记收款或付款。",
"recordReceiptFrom": "登记收款({{payer}} 付给 {{payee}}",
"recordPayoutTo": "登记付款({{payer}} 付给 {{payee}}",
"rebateAllocationsHint": "各层级代理对回水的承担明细。",
@@ -293,7 +316,9 @@
"playerUpline": "直属代理的上级",
"agentUpline": "本单结算上级"
},
"hierarchyHint": "同一账期会生成多笔账单:玩家先与直属代理结,代理扣除本级占成后再向上级缴纳。因此「输赢」可能相同,但「结算金额」会逐级减少。"
"hierarchyHint": "同一账期会生成多笔账单:玩家先与直属代理结,代理扣除本级占成后再向上级缴纳。因此「输赢」可能相同,但「结算金额」会逐级减少。",
"emptyFiltered": "当前筛选下暂无账单,请改为「全部状态」或重置筛选。",
"emptyClosed": "本期已关账但暂无账单。常见原因:账期内无信用盘玩家的已结算注单,或占成流水不在本账期时间范围内。"
},
"panels": {
"workbench": { "title": "工作台" },
@@ -310,10 +335,6 @@
"reports": { "title": "账期报表" },
"badDebt": { "title": "坏账核销" }
},
"billsPanel": {
"emptyFiltered": "当前筛选下暂无账单,请改为「全部状态」或重置筛选。",
"emptyClosed": "本期已关账但暂无账单。常见原因:账期内无信用盘玩家的已结算注单,或占成流水不在本账期时间范围内。"
},
"empty": {
"noSite": "请选择站点。",
"noPeriods": "请先关账当前账期。",