hl-core 0.0.10-beta.54 → 0.0.10-beta.56

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -442,6 +442,15 @@
442
442
  @input="onInputPension($event, 'ownFundsRaisAmount')"
443
443
  @onClear="onClearPension('ownFundsRaisAmount')"
444
444
  />
445
+ <base-animation type="fade">
446
+ <base-form-toggle
447
+ v-if="formatSpacedNumber(pensionForm.ownFundsRaisAmount) > 0"
448
+ v-model="pensionForm.isOwnAmountFromDividend"
449
+ :disabled="isDisabled"
450
+ :has-border="false"
451
+ :title="$dataStore.t('pension.isOwnAmountFromDividend')"
452
+ />
453
+ </base-animation>
445
454
  </base-form-section>
446
455
  <base-form-section v-if="formStore.applicationData.processCode !== 24" :title="$dataStore.t('pension.companyName')">
447
456
  <base-btn v-if="!isDisabled" :text="$dataStore.t('buttons.add')" :disabled="isDisabled" size="sm" :btn="$styles.blueBtn" @click="addTransferContract" />
@@ -1607,6 +1616,8 @@ export default defineComponent({
1607
1616
  if (termValue.value && item.code === 'fixedinssum') {
1608
1617
  if (termValue.value.coverTypeCode === 11) {
1609
1618
  subPanelList.value = constants.fixInsAmount.slice(0, 5);
1619
+ } else if (termValue.value.coverTypeCode !== 19) {
1620
+ subPanelList.value = constants.fixInsAmount.slice(0, 10);
1610
1621
  } else {
1611
1622
  subPanelList.value = constants.fixInsAmount;
1612
1623
  }
@@ -1886,6 +1897,11 @@ export default defineComponent({
1886
1897
  pensionForm.value.amount = '0';
1887
1898
  } else {
1888
1899
  pensionForm.value[key] = null;
1900
+
1901
+ // Clear isOwnAmountFromDividend when ownFundsRaisAmount is cleared
1902
+ if (key === 'ownFundsRaisAmount') {
1903
+ pensionForm.value.isOwnAmountFromDividend = null;
1904
+ }
1889
1905
  }
1890
1906
  };
1891
1907
 
@@ -518,7 +518,7 @@ export default defineComponent({
518
518
  // loading.value = false;
519
519
  // return;
520
520
  // }
521
- if (dataStore.isAML || dataStore.isCheckContract || dataStore.isCheckContragent || dataStore.isDas || dataStore.isPrePension || dataStore.isCritical || dataStore.isUU) {
521
+ if (dataStore.isAML || dataStore.isCheckContract || dataStore.isCheckContragent || dataStore.isDas || dataStore.isPrePension || dataStore.isCritical || dataStore.isUU || dataStore.isReInsurance) {
522
522
  emit('task', [dataStore.panelAction, route.params.taskId as string, actionCause.value]);
523
523
  } else {
524
524
  await dataStore.handleTask(dataStore.panelAction, route.params.taskId as string, actionCause.value);
@@ -191,6 +191,125 @@ export const constants = Object.freeze({
191
191
  nameRu: '5 000 000',
192
192
  ids: '',
193
193
  },
194
+ {
195
+ code: '5500000',
196
+ id: '10',
197
+ nameKz: '5 500 000',
198
+ nameRu: '5 500 000',
199
+ ids: '',
200
+ },
201
+ {
202
+ code: '6000000',
203
+ id: '11',
204
+ nameKz: '6 000 000',
205
+ nameRu: '6 000 000',
206
+ ids: '',
207
+ },
208
+ {
209
+ code: '6500000',
210
+ id: '12',
211
+ nameKz: '6 500 000',
212
+ nameRu: '6 500 000',
213
+ ids: '',
214
+ },
215
+ {
216
+ code: '7000000',
217
+ id: '13',
218
+ nameKz: '7 000 000',
219
+ nameRu: '7 000 000',
220
+ ids: '',
221
+ },
222
+ {
223
+ code: '7500000',
224
+ id: '14',
225
+ nameKz: '7 500 000',
226
+ nameRu: '7 500 000',
227
+ ids: '',
228
+ },
229
+ {
230
+ code: '8000000',
231
+ id: '15',
232
+ nameKz: '8 000 000',
233
+ nameRu: '8 000 000',
234
+ ids: '',
235
+ },
236
+ {
237
+ code: '8500000',
238
+ id: '16',
239
+ nameKz: '8 500 000',
240
+ nameRu: '8 500 000',
241
+ ids: '',
242
+ },
243
+ {
244
+ code: '9000000',
245
+ id: '17',
246
+ nameKz: '9 000 000',
247
+ nameRu: '9 000 000',
248
+ ids: '',
249
+ },
250
+ {
251
+ code: '9500000',
252
+ id: '18',
253
+ nameKz: '9 500 000',
254
+ nameRu: '9 500 000',
255
+ ids: '',
256
+ },
257
+ {
258
+ code: '10000000',
259
+ id: '19',
260
+ nameKz: '10 000 000',
261
+ nameRu: '10 000 000',
262
+ ids: '',
263
+ },
264
+ {
265
+ code: '10500000',
266
+ id: '20',
267
+ nameKz: '10 500 000',
268
+ nameRu: '10 500 000',
269
+ ids: '',
270
+ },
271
+ {
272
+ code: '11000000',
273
+ id: '21',
274
+ nameKz: '11 000 000',
275
+ nameRu: '11 000 000',
276
+ ids: '',
277
+ },
278
+ {
279
+ code: '11500000',
280
+ id: '22',
281
+ nameKz: '11 500 000',
282
+ nameRu: '11 500 000',
283
+ ids: '',
284
+ },
285
+ {
286
+ code: '12000000',
287
+ id: '23',
288
+ nameKz: '12 000 000',
289
+ nameRu: '12 000 000',
290
+ ids: '',
291
+ },
292
+ {
293
+ code: '12500000',
294
+ id: '24',
295
+ nameKz: '12 500 000',
296
+ nameRu: '12 500 000',
297
+ ids: '',
298
+ },
299
+ {
300
+ code: '13000000',
301
+ id: '25',
302
+ nameKz: '13 000 000',
303
+ nameRu: '13 000 000',
304
+ ids: '',
305
+ },
306
+ {
307
+ code: '13500000',
308
+ id: '26',
309
+ nameKz: '13 500 000',
310
+ nameRu: '13 500 000',
311
+ ids: '',
312
+ },
194
313
  ],
195
314
  currencyList: [
196
315
  {
package/configs/i18n.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { createI18n } from 'vue-i18n';
2
2
  import ru from '../locales/ru.json';
3
+ import kz from '../locales/kz.json';
3
4
 
4
5
  const instance = createI18n({
5
6
  legacy: false,
@@ -7,6 +8,7 @@ const instance = createI18n({
7
8
  locale: 'ru',
8
9
  messages: {
9
10
  ru,
11
+ kz,
10
12
  },
11
13
  });
12
14