优化财务仪表盘UI与快捷时间筛选

This commit is contained in:
yml2213
2026-08-20 16:10:55 +08:00
parent 80e329a604
commit 9a52b51c89
25 changed files with 1626 additions and 438 deletions
+7 -5
View File
@@ -160,11 +160,13 @@ export function handoffStatusLabel(status: string) {
return readLabel(handoffStatusMap, status)
}
export function orderHandoffStatusLabel(order?: {
handoff_status?: string
handoff_mode?: string
settlement_mode?: string
} | null) {
export function orderHandoffStatusLabel(
order?: {
handoff_status?: string
handoff_mode?: string
settlement_mode?: string
} | null
) {
const status = order?.handoff_status || ''
if (order?.handoff_mode !== 'platform' && order?.settlement_mode !== 'platform_managed') {
return handoffStatusLabel(status)