UNPKG

@aliretail/react-materials-components

Version:
52 lines (51 loc) 1.96 kB
/** * 当前先不管数据调用,该组件只接受数据,不调用接口处理数据 */ import * as React from 'react'; import * as PropTypes from 'prop-types'; import { Field } from '@alifd/next'; import { IPropsType, IStateType } from './config/type'; declare class SupplyRelationshipRatio extends React.Component<IPropsType, IStateType> { static propTypes: { maxRatio: PropTypes.Requireable<number>; value: PropTypes.Requireable<any[]>; warehouseId: PropTypes.Requireable<string>; columns: PropTypes.Requireable<any[]>; ratioKey: PropTypes.Requireable<string>; warehouseName: PropTypes.Requireable<string>; warehouseList: PropTypes.Requireable<any[]>; channelList: PropTypes.Requireable<any[]>; storeData: PropTypes.Requireable<any>; onWarehouseChange: PropTypes.Requireable<(...args: any[]) => any>; onChannelChange: PropTypes.Requireable<(...args: any[]) => any>; onChange: PropTypes.Requireable<(...args: any[]) => any>; }; static defaultProps: { title: string; visible: boolean; maxRatio: number; status: string; value: any[]; warehouseList: any[]; channelList: any[]; storeData: {}; onCancel: () => void; onWarehouseChange: () => void; onChannelChange: () => void; onChange: () => void; }; state: IStateType; fields: Field; constructor(props: any); warehouseChange: (id: any) => void; onWarehouseSearch: (val: any) => void; onChange: (id: any, list: any, totalProportion: any) => void; onAddChannel: () => void; onChangeChannel: (channelId: string, key: string) => void; fieldsldChange: (name: any, val: any) => void; onDeleteTable: (key: any) => void; validata: (callback: any) => void; setErrors: (err: any) => void; render(): JSX.Element; } export default SupplyRelationshipRatio;