Изменён компонент для выбора дат при формировании рапорта

This commit is contained in:
Александр Сироткин 2022-03-01 11:58:51 +05:00
parent 45418da791
commit fee4ee938b

View File

@ -1,12 +1,13 @@
import 'moment/locale/ru'
import moment from 'moment'
import { useState, useEffect, memo } from 'react'
import { DatePicker, Radio, Button, Select, notification } from 'antd'
import { Radio, Button, Select, notification } from 'antd'
import { ReportService } from '@api'
import { Subscribe } from '@services/signalr'
import LoaderPortal from '@components/LoaderPortal'
import { LoaderPortal } from '@components/LoaderPortal'
import { invokeWebApiWrapperAsync } from '@components/factory'
import { DateRangeWrapper } from 'components/Table/DateRangeWrapper'
import { Reports } from './Reports'
import { ReportCreationNotify } from './ReportCreationNotify'
@ -133,11 +134,9 @@ export const Report = memo(({ idWell }) => {
<div className={'w-100 mt-20px mb-20px d-flex'}>
<div>
<div>Диапазон дат отчета</div>
<DatePicker.RangePicker
<DateRangeWrapper
disabledDate={disabledDate}
allowClear={false}
onCalendarChange={setFilterDateRange}
showTime
value={filterDateRange}
/>
</div>