style(admin): unify dialog layouts and dense readonly presentation

This commit is contained in:
2026-10-20 10:11:31 +08:00
parent 7ff7c9914f
commit 3267679758
214 changed files with 10931 additions and 2654 deletions
@@ -0,0 +1,9 @@
interface CustomerDialogIdentity {
tenantCode?: string | null
tenantName?: string | null
}
export function customerDialogTitle(action: string, customer?: CustomerDialogIdentity | null): string {
const identity = customer?.tenantCode?.trim() || customer?.tenantName?.trim()
return identity ? `${action} · ${identity}` : action
}