/// import { DefaultOptionType } from "kts-components-antd-x4/lib/select"; import './index.less'; export interface IFormValues { /** 开票种类 */ billingType: 'digital' | 'taxation'; /** 特定业务 */ business?: any; /** 选择票类 */ invoiceType?: any; } export interface IInvoiceTypeModalProps { /** 是否禁用 */ isDisabled?: boolean; /** 窗口标题 */ modalTitle?: string; /** 是否开启 */ open?: boolean; /** 点击了确认 */ onOk?: (values: IFormValues) => void; /** 点击了取消 */ onCancel?: () => void; /** 切换了 开票种类 */ onChange?: (e: 'digital' | 'taxation') => void; /** 切换了 发票类型 */ onInvoiceTypeChange?: (e: any) => void; /** 禁用列表 */ disableds?: ('billingType' | 'invoiceType' | 'business')[]; /** 选择票类 选项 */ invoiceTypeOptions?: DefaultOptionType[]; /** 特定业务 选项 */ businessOptions?: DefaultOptionType[]; /** 票类默认值 */ defaultInvoiceType?: any; /** 特定业务默认值 */ defaultBusiness?: any; /** 开票种类 默认值 */ defaultBillingType?: 'digital' | 'taxation'; } export default function InvoiceTypeModal(props: IInvoiceTypeModalProps): JSX.Element;