收口付款批次创建与复核(08-01-reimbursement-notification-progress-clarity)
ci-e2e / e2e (push) Canceled after 0s
ci-minimal / check-minimal (push) Canceled after 0s

这个提交包含在:
2026-08-02 00:29:47 +08:00
父节点 78b80f88d7
当前提交 7c39f8b0f9
共修改 17 个文件,包含 591 行新增和 227 行删除
+14
查看文件
@@ -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;
}