diff --git a/src/client/Containers/Calculation/Sections/list.js b/src/client/Containers/Calculation/Sections/list.js index 35a491d..049dada 100644 --- a/src/client/Containers/Calculation/Sections/list.js +++ b/src/client/Containers/Calculation/Sections/list.js @@ -16,80 +16,80 @@ export default [ Component: Select, props: { name: 'searchSource', - valueName: 'source' - } + valueName: 'source', + }, }, { title: 'Выбор Предложения', Component: Select, props: { name: 'searchQuote', - valueName: 'quote' - } + valueName: 'quote', + }, }, { title: 'Выбор шаблона', Component: Select, props: { name: 'searchTemplate', - valueName: 'template' - } + valueName: 'template', + }, }, { title: 'Канал привлечения', Component: Select, props: { name: 'selectChannel', - valueName: 'channel' - } + valueName: 'channel', + }, }, { title: 'Новый контрагент', Component: Input, props: { name: 'tbxNewClient', - valueName: 'newClient' - } + valueName: 'newClient', + }, }, { title: 'Существующий контрагент', Component: Select, props: { name: 'searchAccount', - valueName: 'account' - } + valueName: 'account', + }, }, { title: 'ИНН', Component: Input, props: { name: 'tbxINN', - valueName: 'INN' - } + valueName: 'INN', + }, }, { title: 'КПП', Component: Input, props: { name: 'tbxKPP', - valueName: 'KPP' - } + valueName: 'KPP', + }, }, { title: 'Контактное лицо контрагента', Component: Select, props: { name: 'searchContact', - valueName: 'contact' - } + valueName: 'contact', + }, }, { title: 'Контактное лицо', Component: Select, props: { name: 'tbxContact', - valueName: 'contact' - } + valueName: 'contact', + }, }, { title: 'Телефон', @@ -98,8 +98,8 @@ export default [ type: 'tel', name: 'tbxPhoneNumber', valueName: 'phoneNumber', - pattern: undefined - } + pattern: undefined, + }, }, { title: 'E-mail', @@ -108,56 +108,56 @@ export default [ type: 'email', name: 'tbxEmailAddress', valueName: 'emailAddress', - pattern: undefined - } + pattern: undefined, + }, }, { title: 'Пол контактного лица', Component: Select, props: { name: 'selectContactGender', - valueName: 'contactGender' - } + valueName: 'contactGender', + }, }, { title: 'Поставщик', Component: Select, props: { name: 'searchSupplier', - valueName: 'supplier' - } + valueName: 'supplier', + }, }, { title: 'Финотдел', Component: Select, props: { name: 'searchFinDepartment', - valueName: 'finDepartment' - } + valueName: 'finDepartment', + }, }, { title: 'Агент', Component: Select, props: { name: 'SearchAgent', - valueName: 'agent' - } + valueName: 'agent', + }, }, { title: 'Двойной агент', Component: Select, props: { name: 'SearchDoubleAgent', - valueName: 'doubleAgentgent' - } + valueName: 'doubleAgentgent', + }, }, { title: 'Брокер', Component: Select, props: { name: 'SearchBroker', - valueName: 'broker' - } + valueName: 'broker', + }, }, // { // title: 'Комментарий к интересу', @@ -172,9 +172,9 @@ export default [ Component: Switch, props: { name: 'cbxRecalcWthtRevision', - valueName: 'recalcWthtRevision' + valueName: 'recalcWthtRevision', }, - newLine: true + newLine: true, }, { Component: Button, @@ -182,9 +182,182 @@ export default [ type: 'primary', name: 'btnCreateLead', text: 'Создать интерес', - onClick: undefined - } - } - ] - } + onClick: undefined, + }, + }, + ], + }, + { + title: 'Лизинг', + elements: [ + { + title: 'Стоимость доп.оборудования', + Component: InputNumber, + props: { + name: 'tbxAddEquipmentPrice', + valueName: 'addEquipmentPrice', + }, + }, + { + title: 'Плательщик доп.оборудования', + Component: Select, + props: { + name: 'selectAddEquipmentPayer', + valueName: 'addEquipmentPayer', + }, + }, + { + title: 'Валюта доп.оборудования', + Component: Select, + props: { + name: 'selectAddEquipmentCurrency', + valueName: 'addEquipmentCurrency', + }, + }, + { + title: 'Тип клиента', + Component: Select, + props: { + name: 'selectClientType', + valueName: 'clientType', + }, + }, + { + title: 'Риск клиента', + Component: Select, + props: { + name: 'selectClientRisk', + valueName: 'clientRisk', + }, + }, + { + title: 'Продукт', + Component: Select, + props: { + name: 'selectProduct', + valueName: 'product', + }, + }, + { + title: 'Стоимость предмета лизинга', + Component: InputNumber, + props: { + name: 'tbxLeaseObjectPrice', + valueName: 'leaseObjectPrice', + }, + }, + { + title: 'Валюта поставщика', + Component: Select, + props: { + name: 'selectSupplierCurrency', + valueName: 'supplierCurrency', + }, + }, + { + title: 'Скидка от поставщика, рубли', + Component: InputNumber, + props: { + name: 'tbxSupplierDiscountRub', + valueName: 'SupplierDiscountRub', + }, + }, + { + title: 'Скидка от поставщика, %', + Component: InputNumber, + props: { + name: 'tbxSupplierDiscountPerc', + valueName: 'supplierDiscountPerc', + }, + }, + { + title: 'Балансодержатель', + Component: Select, + props: { + name: 'selectBalanceHolder', + valueName: 'balanceHolder', + }, + }, + { + title: 'Первый платеж, %', + Component: InputNumber, + props: { + name: 'tbxFirstPaymentPerc', + valueName: 'firstPaymentPerc', + }, + }, + { + title: 'Первый платеж, руб.', + Component: InputNumber, + props: { + name: 'tbxFirstPaymentRub', + valueName: 'firstPaymentRub', + }, + }, + { + title: 'Срок лизинга, мес', + Component: InputNumber, + props: { + name: 'tbxLeasingPeriod', + valueName: 'leasingPeriod', + }, + }, + { + title: 'Последний платеж, %', + Component: InputNumber, + props: { + name: 'tbxLastPaymentPerc', + valueName: 'lastPaymentPerc', + }, + }, + { + title: 'Последний платеж, руб.', + Component: InputNumber, + props: { + name: 'tbxLastPaymentRub', + valueName: 'lastPaymentRub', + }, + }, + { + title: 'Последний платеж считается от', + Component: Select, + props: { + name: 'cbxLastPaymentRule', + valueName: 'lastPaymentRule', + }, + }, + { + title: 'Вид графика', + Component: Select, + props: { + name: 'selectGraphType', + valueName: 'graphType', + }, + }, + { + title: 'Комиссия, %', + Component: InputNumber, + props: { + name: 'tbxComissionPerc', + valueName: 'comissionPerc', + }, + }, + { + title: 'Комиссия, руб.', + Component: InputNumber, + props: { + name: 'tbxComissionRub', + valueName: 'comissionRub', + }, + }, + { + title: 'Размер бонуса МПЛ', + Component: InputNumber, + props: { + name: 'tbxSaleBonus', + valueName: 'saleBonus', + }, + }, + ], + }, ];