修复审批详情报销入口(07-27-yang-jun-reimbursement-readiness)
这个提交包含在:
@@ -1177,8 +1177,19 @@ export function MobileApprovalsPage() {
|
||||
) : null}
|
||||
</div>
|
||||
{selectedTask.reimbursement ? (
|
||||
<div className="mt-3 rounded-lg bg-zinc-50 px-3 py-2 text-xs text-zinc-600">
|
||||
{joinBusinessMeta([`报销日期:${selectedTask.reimbursement.reimbursementDate ?? "-"}`, selectedTask.reimbursement.description])}
|
||||
<div className="mt-3 space-y-3">
|
||||
<div className="rounded-lg bg-zinc-50 px-3 py-2 text-xs text-zinc-600">
|
||||
{joinBusinessMeta([`报销日期:${selectedTask.reimbursement.reimbursementDate ?? "-"}`, selectedTask.reimbursement.description])}
|
||||
</div>
|
||||
<Button asChild className="w-full" variant="secondary">
|
||||
<Link
|
||||
data-testid="mobile-approval-reimbursement-detail-link"
|
||||
state={{ from: currentMobileSource }}
|
||||
to={`/mobile/reimbursements/${encodeURIComponent(selectedTask.reimbursement.id)}`}
|
||||
>
|
||||
查看完整报销单
|
||||
</Link>
|
||||
</Button>
|
||||
</div>
|
||||
) : null}
|
||||
{selectedTask.leaveRequest ? (
|
||||
|
||||
@@ -398,6 +398,17 @@ export function WorkflowTaskDetailPage() {
|
||||
</>
|
||||
) : null}
|
||||
</dl>
|
||||
|
||||
{detail.reimbursement ? (
|
||||
<Button asChild variant="secondary">
|
||||
<Link
|
||||
data-testid="workflow-task-reimbursement-detail-link"
|
||||
to={`/reimbursements/${encodeURIComponent(detail.reimbursement.id)}`}
|
||||
>
|
||||
查看报销单
|
||||
</Link>
|
||||
</Button>
|
||||
) : null}
|
||||
</div>
|
||||
</SectionPanel>
|
||||
|
||||
|
||||
在新工单中引用
屏蔽一个用户