precision changes

This commit is contained in:
Chika 2021-11-08 14:52:37 +03:00
parent c9b1c076f7
commit 3e48905190

View File

@ -220,45 +220,45 @@ const elementsProps: TElements<ElementProps> = {
showSearch: true,
},
tbxDealerRewardSumm: {
min: '0.0',
max: '20.0',
step: '0.1',
precision: 1,
min: '0.00',
max: '20.00',
step: '0.10',
precision: 2,
formatter: formatNumber,
},
tbxDealerBrokerRewardSumm: {
min: '0.0',
max: '20.0',
step: '0.1',
precision: 1,
min: '0.00',
max: '20.00',
step: '0.10',
precision: 2,
formatter: formatNumber,
},
tbxIndAgentRewardSumm: {
min: '0.0',
max: '20.0',
step: '0.1',
precision: 1,
min: '0.00',
max: '20.00',
step: '0.10',
precision: 2,
formatter: formatNumber,
},
tbxCalcDoubleAgentRewardSumm: {
min: '0.0',
max: '20.0',
step: '0.1',
precision: 1,
min: '0.00',
max: '20.00',
step: '0.10',
precision: 2,
formatter: formatNumber,
},
tbxCalcBrokerRewardSum: {
min: '0.0',
max: '20.0',
step: '0.1',
precision: 1,
min: '0.00',
max: '20.00',
step: '0.10',
precision: 2,
formatter: formatNumber,
},
tbxFinDepartmentRewardSumm: {
min: '0.0',
max: '20.0',
step: '0.1',
precision: 1,
min: '0.00',
max: '20.00',
step: '0.10',
precision: 2,
formatter: formatNumber,
},
radioInsKaskoType: {
@ -316,12 +316,14 @@ const elementsProps: TElements<ElementProps> = {
tbxImporterRewardPerc: {
min: '0.00',
max: '99.99',
step: '0.1',
step: '0.10',
precision: 2,
},
tbxImporterRewardRub: {
min: '0',
max: '1000000000',
min: '0.00',
max: '1000000000.00',
step: '10000.00',
precision: 2,
},
selectLead: {
showSearch: true,