Compare commits

...

3 Commits

3 changed files with 9 additions and 1 deletions

View File

@ -572,6 +572,7 @@ export async function makeEltKaskoRequest(
100_000_011: 3,
100_000_012: 3,
100_000_013: 9,
100_000_020: 10,
};
const leaseObjectUseFor = $calculation.element('selectLeaseObjectUseFor').getValue();

View File

@ -183,6 +183,10 @@ export const selectLeaseObjectUseFor = alphabetical(
label: 'Строительство',
value: 100_000_019,
},
{
label: 'Перевозка опасных и легковоспламеняющихся грузов',
value: 100_000_020,
},
],
(objectUseFor) => objectUseFor.label.toLowerCase(),
'asc'

View File

@ -68,6 +68,7 @@ export function common({ store, apolloClient }: ProcessContext) {
selectLeaseObjectUseFor.filter((x) =>
[
100_000_002, 100_000_004, 100_000_005, 100_000_006, 100_000_009, 100_000_010,
100_000_020,
].includes(x.value)
)
);
@ -90,7 +91,9 @@ export function common({ store, apolloClient }: ProcessContext) {
$calculation
.element('selectLeaseObjectUseFor')
.setOptions(
selectLeaseObjectUseFor.filter((x) => [100_000_002, 100_000_009].includes(x.value))
selectLeaseObjectUseFor.filter((x) =>
[100_000_002, 100_000_009, 100_000_020].includes(x.value)
)
);
break;
}