forked from ddrilling/asb_cloud_front
Невалидный валидатор убран
This commit is contained in:
parent
20c589692c
commit
db870d8586
@ -32,13 +32,6 @@ const generateColumns = (showNpt = false, categories = [], sectionTypes = []) =>
|
|||||||
sorter: makeNumericSorter('idWellSectionType'),
|
sorter: makeNumericSorter('idWellSectionType'),
|
||||||
editable: true,
|
editable: true,
|
||||||
width: 160,
|
width: 160,
|
||||||
formItemRules: [() => ({
|
|
||||||
validator(_, value) {
|
|
||||||
if (value?.length > 0)
|
|
||||||
return Promise.resolve()
|
|
||||||
return Promise.reject('Это обязательное поле!')
|
|
||||||
}
|
|
||||||
})],
|
|
||||||
}),
|
}),
|
||||||
makeSelectColumn('Операция', 'idCategory', categories, undefined, {
|
makeSelectColumn('Операция', 'idCategory', categories, undefined, {
|
||||||
sorter: makeNumericSorter('idCategory'),
|
sorter: makeNumericSorter('idCategory'),
|
||||||
|
Loading…
Reference in New Issue
Block a user