收口付款批次创建与复核(08-01-reimbursement-notification-progress-clarity)
这个提交包含在:
@@ -0,0 +1,14 @@
|
||||
import type { PaymentBatchStatus } from "../api/paymentBatches";
|
||||
|
||||
const PAYMENT_BATCH_STATUS_LABELS: Record<PaymentBatchStatus, string> = {
|
||||
draft: "待付款复核",
|
||||
reviewed: "待财务付款",
|
||||
executed: "已付款",
|
||||
failed: "付款登记失败",
|
||||
cancelled: "已取消",
|
||||
};
|
||||
|
||||
export function paymentBatchStatusLabel(value: PaymentBatchStatus | string | null | undefined) {
|
||||
if (!value) return "-";
|
||||
return PAYMENT_BATCH_STATUS_LABELS[value as PaymentBatchStatus] ?? value;
|
||||
}
|
||||
在新工单中引用
屏蔽一个用户