fix:更新
All checks were successful
Build and Push Docker Image / build (push) Successful in 4m29s

This commit is contained in:
Your Name 2026-01-18 19:18:51 +08:00
parent b66917f999
commit 5848304307

View File

@ -1,7 +1,6 @@
import {
MyButtons,
MyColumns,
MyImportModal,
MyPageContainer,
MyProTableProps,
} from '@/common';
@ -37,15 +36,15 @@ export default function Index({ title = '账单明细' }) {
MyProTableProps.request(params, sort, Apis.Bill.HouseBills.List)
}
toolBarRender={(action) => [
<MyImportModal
key="ImportHouse"
title="账单导入"
type="default"
size="middle"
templateApi={Apis.Bill.HouseBills.DownloadTemplate}
importApi={Apis.Bill.HouseBills.Import}
reload={action?.reload}
/>,
// <MyImportModal
// key="ImportHouse"
// title="账单导入"
// type="default"
// size="middle"
// templateApi={Apis.Bill.HouseBills.DownloadTemplate}
// importApi={Apis.Bill.HouseBills.Import}
// reload={action?.reload}
// />,
<BillCreate key="Create" reload={action?.reload} title={title} />,
]}
columns={[
@ -61,10 +60,10 @@ export default function Index({ title = '账单明细' }) {
render: (_, record) => {
return (
<MyButtons.View
title={`${record.asset_house.full_name}`}
title={record?.asset_house?.full_name || '-'}
type="link"
onClick={() => {
navigate(`/bills/summary/show/${record.asset_houses_id}`);
navigate(`/bills/summary/show/${record?.asset_houses_id}`);
}}
/>
);