diff --git a/src/client/Containers/Calculation/Sections/list.js b/src/client/Containers/Calculation/Sections/list.js index 13890c9..28973de 100644 --- a/src/client/Containers/Calculation/Sections/list.js +++ b/src/client/Containers/Calculation/Sections/list.js @@ -1484,7 +1484,7 @@ export default [ divider: { empty: true }, }, /** */ - + { title: 'Имя', Component: Input, @@ -1524,6 +1524,29 @@ export default [ { title: 'Без ограничений', elements: [ + { + title: 'Загрузить сессию пользователя', + Component: Select, + props: { + name: 'selectUserSession', + valueName: 'userSession', + }, + }, + { + title: 'Отключить все проверки', + Component: Switch, + props: { + name: 'cbxDisableChecks', + valueName: 'disableChecks', + }, + }, + + /** */ + { + divider: { empty: true }, + }, + /** */ + { title: 'Тариф', Component: Select, @@ -1536,14 +1559,9 @@ export default [ title: 'Ставка привлечения, %', Component: InputNumber, props: { - name: 'tbxCreditRate', - valueName: 'creditRate', - }, - }, - { - title: 'Ставка привлечения, %', - Component: InputNumber, - props: { + min: '0.00', + max: '99.99', + step: '0.1', name: 'tbxCreditRate', valueName: 'creditRate', }, @@ -1556,20 +1574,20 @@ export default [ valueName: 'rate', }, }, + + /** */ { - title: 'Загрузить сессию пользователя', - Component: Select, - props: { - name: 'selectUserSession', - valueName: 'userSession', - }, + divider: { empty: true }, }, + /** */ + { title: 'Требование телематики', - Component: Select, + Component: Radio, props: { name: 'selectRequirementTelematic', valueName: 'requirementTelematic', + style: 'button', }, }, { @@ -1584,14 +1602,27 @@ export default [ title: 'Макс.возможное изменение стоимости ПЛ', Component: InputNumber, props: { + min: '0', + max: '1000000000', + step: '10000.00', name: 'tbxMaxPriceChange', valueName: 'maxPriceChange', }, }, + + /** */ + { + divider: { empty: true }, + }, + /** */ + { title: 'АВ импортера,%', Component: InputNumber, props: { + min: '0.00', + max: '99.99', + step: '0.1', name: 'tbxImporterRewardPerc', valueName: 'importerRewardPerc', }, @@ -1600,18 +1631,13 @@ export default [ title: 'АВ импортера,руб.', Component: InputNumber, props: { + min: '0', + max: '1000000000', + step: '10000.00', name: 'tbxImporterRewardRub', valueName: 'tbxImporterRewardRub', }, }, - { - title: 'Отключить все проверки', - Component: Switch, - props: { - name: 'cbxDisableChecks', - valueName: 'disableChecks', - }, - }, ], }, ]; diff --git a/src/core/config/initialOptions.ts b/src/core/config/initialOptions.ts index 1d3350f..752bb9c 100644 --- a/src/core/config/initialOptions.ts +++ b/src/core/config/initialOptions.ts @@ -297,7 +297,7 @@ const initialOptions: any = { }, ], - selectRquirementTelematic: [ + selectRequirementTelematic: [ { name: 'Обязательна', value: '100000000',