优化财务仪表盘UI与快捷时间筛选
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user