import { MyBetaModalFormProps } from '@/common';
import { ProCard, ProDescriptions } from '@ant-design/pro-components';

export default function CarPortBillInfo(props: MyBetaModalFormProps) {
  const { item } = props;

  return (
    <ProCard title="基本信息">
      <ProDescriptions bordered>
        <ProDescriptions.Item label="车位名称" span={2}>
          {item?.full_name || '-'}
        </ProDescriptions.Item>
        <ProDescriptions.Item label="所属项目">
          {item?.asset_project?.name || '-'}
        </ProDescriptions.Item>
      </ProDescriptions>
    </ProCard>
  );
}
