infuranceOPF
This commit is contained in:
parent
3de8d1bb81
commit
248809e8e9
@ -273,9 +273,10 @@ const sections: ISection[] = [
|
||||
{
|
||||
elements: [
|
||||
'cbxInsDecentral',
|
||||
'radioInsKaskoType',
|
||||
// 'radioInsKaskoType',
|
||||
'tbxInsFranchise',
|
||||
'tbxMileage',
|
||||
'radioInfuranceOPF',
|
||||
// 'selectInsPeriod',
|
||||
// 'btnFranschise',
|
||||
],
|
||||
@ -296,7 +297,6 @@ const sections: ISection[] = [
|
||||
'selectGPSModel',
|
||||
'selectLegalClientRegion',
|
||||
'selectLegalClientTown',
|
||||
// 'selectInfuranceOPF',
|
||||
'tbxInsKaskoPriceLeasePeriod',
|
||||
],
|
||||
},
|
||||
|
||||
@ -105,7 +105,7 @@ const elementsComponents: TElements<Component> = {
|
||||
selectGPSModel: Select,
|
||||
selectRegionRegistration: Select,
|
||||
selectTownRegistration: Select,
|
||||
selectInfuranceOPF: Select,
|
||||
radioInfuranceOPF: Radio,
|
||||
tbxInsKaskoPriceLeasePeriod: InputNumber,
|
||||
selectRegistration: Select,
|
||||
selectInsNSIB: Select,
|
||||
|
||||
@ -416,6 +416,9 @@ const elementsProps: TElements<ElementProps> = {
|
||||
selectLegalClientTown: {
|
||||
showSearch: true,
|
||||
},
|
||||
radioInfuranceOPF: {
|
||||
style: 'button',
|
||||
},
|
||||
};
|
||||
|
||||
const resultElementsProps: TElements<ElementProps> = Object.assign(
|
||||
|
||||
@ -86,7 +86,7 @@ export const elementsTitles: TElements<string> = {
|
||||
selectGPSModel: 'Модель GPS',
|
||||
selectRegionRegistration: 'Регион регистрации',
|
||||
selectTownRegistration: 'Город регистрации',
|
||||
selectInfuranceOPF: 'ОПФ для расчета страховки',
|
||||
radioInfuranceOPF: 'ОПФ для расчета страховки',
|
||||
radioInsKaskoType: 'Тип страхования КАСКО',
|
||||
tbxInsKaskoPriceLeasePeriod: 'Стоимость страховки КАСКО на весь срок',
|
||||
cbxInsDecentral: 'Децентрализованное страхование',
|
||||
|
||||
@ -89,7 +89,7 @@ export const elementsValues: TElements<ValuesNames> = {
|
||||
selectGPSModel: 'GPSModel',
|
||||
selectRegionRegistration: 'regionRegistration',
|
||||
selectTownRegistration: 'townRegistration',
|
||||
selectInfuranceOPF: 'infuranceOPF',
|
||||
radioInfuranceOPF: 'infuranceOPF',
|
||||
radioInsKaskoType: 'insKaskoType',
|
||||
cbxInsDecentral: 'insDecentral',
|
||||
selectInsPeriod: 'insPeriod',
|
||||
|
||||
@ -2,7 +2,7 @@ import { Form, Select as AntSelect } from 'antd';
|
||||
import { ElementStatus } from 'core/types/statuses';
|
||||
|
||||
const Select = ({
|
||||
value,
|
||||
value = null,
|
||||
setCurrentValue,
|
||||
status,
|
||||
validateStatus,
|
||||
|
||||
@ -278,7 +278,7 @@ const initialOptions: TElements<IBaseOption[]> = {
|
||||
['asc'],
|
||||
),
|
||||
|
||||
radioInsuranceOPF: [
|
||||
radioInfuranceOPF: [
|
||||
{
|
||||
name: 'ЮЛ',
|
||||
value: 100000000,
|
||||
|
||||
@ -40,6 +40,7 @@ const initialStatuses: TElements<ElementStatus> = {
|
||||
selectObjectTypeTax: ElementStatus.Disabled,
|
||||
selectLeaseObjectCategory: ElementStatus.Disabled,
|
||||
tbxINNForCalc: ElementStatus.Disabled,
|
||||
radioInfuranceOPF: ElementStatus.Disabled,
|
||||
};
|
||||
|
||||
export default initialStatuses;
|
||||
|
||||
@ -89,5 +89,6 @@ const initialValues: TValues<TValue> = {
|
||||
regionRegistration: null,
|
||||
legalClientRegion: null,
|
||||
legalClientTown: null,
|
||||
infuranceOPF: null,
|
||||
};
|
||||
export default initialValues;
|
||||
|
||||
@ -87,7 +87,7 @@ export type ElementsNames =
|
||||
| 'selectGPSModel'
|
||||
| 'selectRegionRegistration'
|
||||
| 'selectTownRegistration'
|
||||
| 'selectInfuranceOPF'
|
||||
| 'radioInfuranceOPF'
|
||||
| 'radioInsKaskoType'
|
||||
| 'tbxInsKaskoPriceLeasePeriod'
|
||||
| 'cbxInsDecentral'
|
||||
@ -124,7 +124,6 @@ export type ElementsNames =
|
||||
| 'tbxBusinessUnit'
|
||||
| 'tbxLeadNumber'
|
||||
| 'tbxOpportunityNumber'
|
||||
| 'radioInsuranceOPF'
|
||||
| 'lblLead'
|
||||
| 'lblOpportunity'
|
||||
| 'btnCalculate'
|
||||
|
||||
Reference in New Issue
Block a user