feat(P17B-3,P17B-4): 增加采购归档前端与审批链路E2E

这个提交包含在:
2026-03-07 22:01:06 +08:00
父节点 033cfd6833
当前提交 408186644c
共修改 5 个文件,包含 303 行新增和 16 行删除
+4 -3
查看文件
@@ -1,3 +1,4 @@
import type { ComponentPropsWithoutRef } from "react";
// 状态气泡组件
import { cn } from "../../lib/utils";
@@ -26,15 +27,15 @@ export function StatusBadge({
status,
label,
className,
}: {
...props
}: ComponentPropsWithoutRef<"span"> & {
status: string;
label?: string;
className?: string;
}) {
const config = STATUS_MAP[status] || { label: status, className: "badge-neutral" };
return (
<span className={cn(config.className, className)}>
<span className={cn(config.className, className)} {...props}>
{label ?? config.label}
</span>
);