fix: 收窄详情按钮并校正响应式回归(09-04-reimbursement-state-gap-finance-view)
这个提交包含在:
@@ -1073,7 +1073,7 @@ export function PaymentBatchesPage() {
|
||||
|
||||
<BusinessDetailAside>
|
||||
<BusinessDetailActionPanel
|
||||
className="lg:static"
|
||||
className="hidden lg:block lg:static"
|
||||
status={<StatusBadge status={selectedBatch.status} label={paymentBatchStatusLabel(selectedBatch.status)} />}
|
||||
primaryAction={paymentActionModel.primary ? renderPaymentActionButton(paymentActionModel.primary) : undefined}
|
||||
moreActions={paymentActionModel.more.length ? (
|
||||
|
||||
@@ -1006,14 +1006,14 @@ export function ReimbursementDetailPage() {
|
||||
}
|
||||
|
||||
if (paymentHandoff?.targetHref) {
|
||||
return <Button asChild><Link to={paymentHandoff.targetHref}>查看所在付款批次</Link></Button>;
|
||||
return <Button asChild className="justify-self-start"><Link to={paymentHandoff.targetHref}>查看所在付款批次</Link></Button>;
|
||||
}
|
||||
|
||||
if (paymentHandoff?.canCreateBatch && canManagePaymentBatch) {
|
||||
return (
|
||||
<Button asChild data-testid="reimbursement-open-pending-payment-batches">
|
||||
<Button asChild className="justify-self-start" data-testid="reimbursement-open-pending-payment-batches">
|
||||
<Link to={`/payment-batches?view=pending&q=${encodeURIComponent(resolveReimbursementDisplayCode(detail))}`}>
|
||||
去组建付款批次
|
||||
创建批次
|
||||
</Link>
|
||||
</Button>
|
||||
);
|
||||
|
||||
在新工单中引用
屏蔽一个用户