R102/A1-A8 优化报销主流程

这个提交包含在:
2026-05-06 23:06:12 +08:00
父节点 ed35967a65
当前提交 9a9def6286
共修改 10 个文件,包含 608 行新增和 54 行删除
+7
查看文件
@@ -1417,8 +1417,15 @@ async function reimbursementRoutes(fastify) {
});
}
const issued = await issueDocumentNumber(tx, {
documentType: "reimbursement",
actorId: request.employee.id,
timeZone: fastify.config.appTimezone,
});
const created = await tx.reimbursementForm.create({
data: {
form_number: issued.documentNumber,
submitter_id: request.employee.id,
owner_id: ownerEmployeeId,
department_id: ownerContext.departmentId,