export default Invoice; /** * - 奥创组件数据 */ export type UltronProps = { /** * - 组件实例数据 */ componentData: any; /** * - 异步提交 */ onChange: Function; /** * - 外层异步提交 */ onChangeData: Function; /** * - 表单提交 */ onSubmit: Function; /** * - 定制点 */ customization: Customization; /** * - 表单数据 */ fields: Fields; /** * - uuid */ uuid: string; /** * - events */ events: any; }; /** * - 可选列表配置 */ export type Option = { /** * - id */ id: string; /** * - 花呗方案总手续费 */ totalCommsion: number; /** * - 花呗方案的分期手续费 */ installmentCommision: number; /** * - 花呗方案详情 */ plan: string; /** * - 是否选中 */ isChecked: string | boolean; /** * - 分期数 * * 表单数据 */ num: number; }; /** * - 输入数据 */ export type Fields = { /** * - 图标 */ iconUrl: string; /** * - 标题 */ title: string; /** * - 值 */ value: string; /** * - 跳转链接 */ url: string; /** * - 发票信息 * * 表单数据 */ bill: Bill; }; /** * - 发票格式 */ export type Bill = { /** * - 发票类型 */ type: string; /** * - 发票抬头 */ head: string; /** * - 发票内容 */ content: string; /** * - 个人名称 */ username: string; /** * - 单位名称 */ company: string; /** * - 税号 */ invoiceNumber: string; /** * - 其他 */ other: string; /** * - 电子邮件 */ email: string; /** * - 电话号码 * * * 定制点数据 */ phone: string; }; /** * - 定制点数据 */ export type Customization = any; /** * 奥创组件协议传入类型 * @typedef {Object} UltronProps - 奥创组件数据 * @property {Object} componentData - 组件实例数据 * @property {Function} onChange - 异步提交 * @property {Function} onChangeData - 外层异步提交 * @property {Function} onSubmit - 表单提交 * @property {Customization} customization - 定制点 * @property {Fields} fields - 表单数据 * @property {String} uuid - uuid * @property {Object} events - events * * @typedef {Object} Option - 可选列表配置 * @property {String} id - id * @property {Number} totalCommsion - 花呗方案总手续费 * @property {Number} installmentCommision - 花呗方案的分期手续费 * @property {String} plan - 花呗方案详情 * @property {String | Boolean} isChecked - 是否选中 * @property {Number} num - 分期数 * * 表单数据 * @typedef {Object} Fields - 输入数据 * @property {String} iconUrl - 图标 * @property {String} title - 标题 * @property {String} value - 值 * @property {String} url - 跳转链接 * @property {Bill} bill - 发票信息 * * 表单数据 * @typedef {Object} Bill - 发票格式 * @property {String} type - 发票类型 * @property {String} head - 发票抬头 * @property {String} content - 发票内容 * @property {String} username - 个人名称 * @property {String} company - 单位名称 * @property {String} invoiceNumber - 税号 * @property {String} other - 其他 * @property {String} email - 电子邮件 * @property {String} phone - 电话号码 * * * 定制点数据 * @typedef {Object} Customization - 定制点数据 * * @param {UltronProps} props */ declare function Invoice(props: UltronProps): JSX.Element;