优化财务仪表盘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
+2 -2
View File
@@ -53,8 +53,8 @@ export const AUDIT_ACTION_OPTIONS: AuditOption[] = [
{ value: 'chat.renter_retention.remove', label: '到期移除租客会话', group: '系统任务' },
// 提号
{ value: 'pickup_create', label: '创建提号', group: '提号' },
{ value: 'pickup_complete', label: '完成提号结算', group: '提号', highRisk: true },
{ value: 'pickup_offline_settlement', label: '确认提号线下结算', group: '提号', highRisk: true },
{ value: 'pickup_complete', label: '完成提号结算', group: '提号', highRisk: true },
{ value: 'pickup_offline_settlement', label: '确认提号线下结算', group: '提号', highRisk: true },
{ value: 'pickup_profit_update', label: '修改提号利润', group: '提号', highRisk: true },
{ value: 'pickup_cancel', label: '取消提号', group: '提号' },
// 申诉
+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)