From 66ec3a87bbd42132e9f4dda35984776f055081c1 Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 23 Apr 2026 10:19:50 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A=E6=9B=B4=E6=96=B0bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ShowAttachments.tsx | 2 +- src/pages/bills/house_bills/index.tsx | 23 +++++++++++++++---- src/pages/contract/contracts_bi/styleBi.scss | 6 ++--- .../quality/emergency/modals/TeamCreate.tsx | 2 +- src/pages/quality/emergency/teams/index.tsx | 2 +- 5 files changed, 24 insertions(+), 11 deletions(-) diff --git a/src/components/ShowAttachments.tsx b/src/components/ShowAttachments.tsx index 28e80e4..06c40af 100644 --- a/src/components/ShowAttachments.tsx +++ b/src/components/ShowAttachments.tsx @@ -2,7 +2,7 @@ import { MyBetaModalFormProps } from '@/common'; import { ProCard } from '@ant-design/pro-components'; export default function Attachments(props: MyBetaModalFormProps) { return ( - + {props?.item?.map((item: any) => { const handleDownload = async (e: React.MouseEvent) => { e.preventDefault(); diff --git a/src/pages/bills/house_bills/index.tsx b/src/pages/bills/house_bills/index.tsx index df0166d..149bdec 100644 --- a/src/pages/bills/house_bills/index.tsx +++ b/src/pages/bills/house_bills/index.tsx @@ -15,7 +15,6 @@ import { ApprovalTemplatesTypeEnum, HouseBillsBillStatusEnum, HouseBillsTypeEnum, - RefundsTypeEnum, } from '@/gen/Enums'; import { ProTable } from '@ant-design/pro-components'; import { useNavigate } from '@umijs/max'; @@ -86,7 +85,13 @@ export default function Index({ title = '账单明细' }) { download={Apis.Bill.HouseBills} /> ), - add: , + add: ( + + ), }} />, ]} @@ -226,7 +231,9 @@ export default function Index({ title = '账单明细' }) { title="查看" /> ), - qrcode: , + qrcode: ( + + ), pay: ( ), - update: , + update: ( + + ), complete: ( - Apis.Emergency.EmergencyEventCategories.Delete({ + Apis.Emergency.EmergencyEventTeams.Delete({ id: item.id, }).then(() => action?.reload()) }