forked from ddrilling/asb_cloud_front
Исправлено отображение конструкции секции и операции на "план" и "факт"
This commit is contained in:
parent
0d049904fa
commit
fba06e983a
@ -69,9 +69,10 @@ export const WellOperationsEditor = memo(({ idWell, idType, ...other }) => {
|
||||
sectionTypes = Object.keys(sectionTypes).map((key) => ({ value: parseInt(key), label: sectionTypes[key] }))
|
||||
|
||||
setColumns(preColumns => {
|
||||
preColumns[0] = makeSelectColumn('Конструкция секции', 'idWellSectionType', sectionTypes, undefined, { editable: true, width: 160 })
|
||||
preColumns[1] = makeSelectColumn('Операция', 'idCategory', categories, undefined, { editable: true, width: 200 })
|
||||
return preColumns
|
||||
const newColumns = [...preColumns]
|
||||
newColumns[0] = makeSelectColumn('Конструкция секции', 'idWellSectionType', sectionTypes, undefined, { editable: true, width: 160 })
|
||||
newColumns[1] = makeSelectColumn('Операция', 'idCategory', categories, undefined, { editable: true, width: 200 })
|
||||
return newColumns
|
||||
})
|
||||
},
|
||||
setShowLoader,
|
||||
|
Loading…
Reference in New Issue
Block a user