R102/A1-A8 优化报销主流程
这个提交包含在:
@@ -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,
|
||||
|
||||
在新工单中引用
屏蔽一个用户