| | |
| | | import { DatePicker } from 'antd' |
| | | import moment from 'moment' |
| | | |
| | | import MKEmitter from '@/utils/events.js' |
| | | |
| | | const { MonthPicker } = DatePicker |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | this.props.onChange(_val) |
| | | |
| | | if (!config.enter || config.enter === 'false') return |
| | | |
| | | setTimeout(() => { |
| | | if (config.enter === 'tab') { |
| | | MKEmitter.emit('mkFC', 'focus', config.tabUuid) |
| | | } else if (config.enter === 'sub') { |
| | | config.tabUuid && MKEmitter.emit('mkFC', 'focus', config.tabUuid) |
| | | this.props.onSubmit(config.tabUuid, config.errTabUuid) |
| | | } |
| | | }, 50) |
| | | } |
| | | |
| | | disabledDate = (current) => { |