[WIP] Добавил автоматический поиск категорий льгот при вводе трех символов, поменял местами ОМС и ДМС, добавил чек выбранной льготы

This commit is contained in:
megavrilinvv
2023-04-24 12:14:12 +03:00
parent 4a124465c9
commit 236402e01e
4 changed files with 60 additions and 29 deletions

View File

@@ -292,29 +292,6 @@ export const baseInfoMenu = [
];
export const baseInsuranceForm = [
{
insuranceLabel: "ДМС",
insuranceKey: "insuranceDMS",
fields: [
{
key: "series",
label: "Серия",
type: "text",
inputMask: "####",
},
{
key: "number",
label: "Номер",
type: "text",
inputMask: "####-####-####",
},
{
key: "photo",
label: "Фото ДМС",
type: "avatar",
},
],
},
{
insuranceLabel: "ОМС",
insuranceKey: "insuranceOMS",
@@ -338,6 +315,29 @@ export const baseInsuranceForm = [
},
],
},
{
insuranceLabel: "ДМС",
insuranceKey: "insuranceDMS",
fields: [
{
key: "series",
label: "Серия",
type: "text",
inputMask: "####",
},
{
key: "number",
label: "Номер",
type: "text",
inputMask: "####-####-####",
},
{
key: "photo",
label: "Фото ДМС",
type: "avatar",
},
],
},
{
insuranceLabel: "Категория льготы",
insuranceKey: "benefit",