LP6 完善请假采购体验与审批说明

这个提交包含在:
2026-05-12 13:02:00 +08:00
父节点 21887ce28a
当前提交 3d1e4c43f6
共修改 14 个文件,包含 502 行新增和 39 行删除
+4
查看文件
@@ -299,6 +299,10 @@ export function mapApiErrorMessage(
return "当前报销金额超出预算,系统已阻断提交。";
}
if (details?.budget === "missing_budget_pool") {
return "未匹配到预算池;当前强预算校验已阻断提交,请联系管理员补充预算配置。";
}
if (details?.leave === "conflict_range") {
return "当前时间段与已有请假记录冲突,请调整后再提交。";
}
+22
查看文件
@@ -66,6 +66,28 @@ export type LeaveRequestItem = {
employeeNo: string;
name: string;
} | null;
pendingWorkflow: {
instanceId: string;
currentStatus: string;
currentStepId: string;
task: {
id: string;
stepId: string;
stepName: string;
assigneeId: string | null;
assigneeRole: string | null;
} | null;
} | null;
approvalHistory: Array<{
id: string;
taskId: string | null;
actorId: string;
actorName: string | null;
actorEmployeeNo: string | null;
action: string;
comment: string | null;
createdAt: string | null;
}>;
createdAt: string | null;
updatedAt: string | null;
};
+10
查看文件
@@ -199,6 +199,16 @@ export type PurchaseRequestDetail = PurchaseRequestSummary & {
assigneeRole: string | null;
} | null;
} | null;
approvalHistory: Array<{
id: string;
taskId: string | null;
actorId: string;
actorName: string | null;
actorEmployeeNo: string | null;
action: string;
comment: string | null;
createdAt: string | null;
}>;
archiveOrder: PurchaseOrderArchive | null;
permissions: {
canEditDraft: boolean;