R71-A4 澄清报销缺票提示并修复发票上传挂起

这个提交包含在:
2026-04-28 19:24:51 +08:00
父节点 a5eac04a06
当前提交 1c2aaedd78
共修改 5 个文件,包含 235 行新增和 44 行删除
@@ -18,6 +18,7 @@ export interface ReimbursementActionsProps {
actionError: string;
submitDisabled?: boolean;
submitHint?: string;
submitNotice?: string;
isPending: boolean;
onSubmit: () => void;
onWithdraw: (comment: string) => void;
@@ -30,6 +31,7 @@ export function ReimbursementActions({
actionError,
submitDisabled = false,
submitHint = "",
submitNotice = "",
isPending,
onSubmit,
onWithdraw,
@@ -64,6 +66,11 @@ export function ReimbursementActions({
</Button>
</div>
{submitHint ? <p className="text-sm text-zinc-500">{submitHint}</p> : null}
{submitNotice ? (
<p className="rounded-lg border border-amber-200 bg-amber-50 px-3 py-2 text-sm text-amber-700">
{submitNotice}
</p>
) : null}
<div className="space-y-2 rounded-lg border border-zinc-200 p-4">
<p className="text-sm font-medium text-zinc-800">撤回报销</p>