import moment from 'moment' import { Input } from 'antd' import { useState, useEffect } from 'react' import { EditableTable, DatePickerWrapper, makeColumn, makeDateSorter, makeNumericColumnOptions, makeSelectColumn, makeActionHandler, } from '../../components/Table' import LoaderPortal from '../../components/LoaderPortal' import { invokeWebApiWrapperAsync } from '../../components/factory' import { WellOperationService} from '../../services/api' import { formatDate } from '../../utils' const { TextArea } = Input const basePageSize = 160 const defaultColumns = [ makeSelectColumn('Конструкция секции', 'idWellSectionType', [], undefined, { editable: true, width: 160 }), makeSelectColumn('Операция', 'idCategory', [], undefined, { editable: true, width: 200 }), makeColumn('Доп. инфо', 'categoryInfo', { editable: true, width: 300, input: