50 lines
1.2 KiB
TypeScript
50 lines
1.2 KiB
TypeScript
|
|
import { MyBetaModalFormProps, MyProTableProps } from '@/common';
|
||
|
|
import { Apis } from '@/gen/Apis';
|
||
|
|
import { ProCard, ProTable } from '@ant-design/pro-components';
|
||
|
|
|
||
|
|
export default function info(props: MyBetaModalFormProps) {
|
||
|
|
const { item } = props;
|
||
|
|
return (
|
||
|
|
<ProCard>
|
||
|
|
<ProTable
|
||
|
|
{...MyProTableProps.props}
|
||
|
|
request={async (params, sort) =>
|
||
|
|
MyProTableProps.request(
|
||
|
|
{
|
||
|
|
...params,
|
||
|
|
asset_houses_id: item?.asset_houses_id,
|
||
|
|
},
|
||
|
|
sort,
|
||
|
|
Apis.Bill.HouseBills.SummaryBillList,
|
||
|
|
)
|
||
|
|
}
|
||
|
|
search={false}
|
||
|
|
options={false}
|
||
|
|
pagination={false}
|
||
|
|
columns={[
|
||
|
|
{
|
||
|
|
title: '账单金额合计',
|
||
|
|
dataIndex: 'payable_amount_sum',
|
||
|
|
search: false,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '滞纳金合计',
|
||
|
|
dataIndex: 'late_fee_sum',
|
||
|
|
search: false,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '优惠金额合计',
|
||
|
|
dataIndex: 'discount_amount_sum',
|
||
|
|
search: false,
|
||
|
|
},
|
||
|
|
{
|
||
|
|
title: '应付合计',
|
||
|
|
dataIndex: 'total_payable_sum',
|
||
|
|
search: false,
|
||
|
|
},
|
||
|
|
]}
|
||
|
|
/>
|
||
|
|
</ProCard>
|
||
|
|
);
|
||
|
|
}
|