优化财务仪表盘UI与快捷时间筛选
This commit is contained in:
@@ -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: '提号' },
|
||||
// 申诉
|
||||
|
||||
@@ -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