fix(settlement): 操作记录服务端分页、流水提示与坏账幂等键
Some checks failed
lotteryadmin CI / build (push) Has been cancelled

- 操作记录 Tab 改用 settlement-operations API 服务端筛选分页
- 流水面板展示 truncated 截断提示
- 坏账核销对齐收付/补差的幂等键生成与复用
- 结算中心 URL 同步、代理控制台 lint 与玩家/奖池模块更新
This commit is contained in:
2026-06-26 16:40:46 +08:00
parent 2d80127b08
commit bea342a4d7
15 changed files with 544 additions and 216 deletions

View File

@@ -307,6 +307,14 @@ export function AgentsPlayersPanel({
);
return;
}
if (effectiveAgentId !== null && parentAvailableCredit === null) {
toast.error(
t("playersPanel.creditCapLoading", {
defaultValue: "代理可下发额度加载中,请稍后再保存",
}),
);
return;
}
if (
parentAvailableCredit !== null &&
parsedCreditLimit > parentAvailableCredit
@@ -485,6 +493,18 @@ export function AgentsPlayersPanel({
);
return;
}
if (
parsedCreditLimit !== baselineCredit &&
effectiveAgentId !== null &&
parentAvailableCredit === null
) {
toast.error(
t("playersPanel.creditCapLoading", {
defaultValue: "代理可下发额度加载中,请稍后再保存",
}),
);
return;
}
if (
parentAvailableCredit !== null &&
parsedCreditLimit > baselineCredit + parentAvailableCredit