hl-core 0.0.9-beta.7 → 0.0.9-beta.8
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.
- package/components/Dialog/Dialog.vue +13 -24
- package/components/Form/ManagerAttachment.vue +4 -4
- package/components/Pages/ContragentForm.vue +14 -14
- package/components/Pages/MemberForm.vue +19 -19
- package/components/Pages/ProductConditions.vue +6 -6
- package/composables/styles.ts +1 -0
- package/locales/ru.json +4 -0
- package/package.json +1 -1
- package/store/data.store.ts +5 -0
|
@@ -1,25 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<v-dialog :model-value="modelValue" @update:modelValue="$emit('update:modelValue', $event)" :persistent="true">
|
|
3
|
-
<v-card class="self-center w-full sm:w-3/4 md:w-2/3 lg:w-2/
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
{{ subtitle }}
|
|
17
|
-
</v-card-subtitle>
|
|
18
|
-
</div>
|
|
19
|
-
</div>
|
|
20
|
-
<v-card-actions class="gap-[16px] !p-0 !mt-6">
|
|
21
|
-
<base-btn v-if="actions === 'default'" class="h-[44px]" :text="$dataStore.t('confirm.yes')" :btn="$styles.whiteBtnBlueBr" @click="$emit('yes')" />
|
|
22
|
-
<base-btn v-if="actions === 'default'" class="h-[44px]" :text="$dataStore.t('confirm.no')" :btn="$styles.blueBtn" @click="$emit('no')" />
|
|
3
|
+
<v-card class="self-center w-full sm:w-3/4 md:w-2/3 lg:w-2/4 xl:w-[600px] rounded-lg !p-2">
|
|
4
|
+
<v-card-title>
|
|
5
|
+
<slot v-if="!title" name="title"></slot>
|
|
6
|
+
{{ title }}
|
|
7
|
+
<v-btn class="!absolute top-2 right-3" icon="mdi mdi-window-close" variant="plain" @click="$emit('update:modelValue', null)" />
|
|
8
|
+
</v-card-title>
|
|
9
|
+
<v-card-subtitle>
|
|
10
|
+
<slot v-if="!subtitle" name="subtitle"></slot>
|
|
11
|
+
{{ subtitle }}
|
|
12
|
+
</v-card-subtitle>
|
|
13
|
+
<v-card-actions class="gap-[16px] m-2">
|
|
14
|
+
<base-btn v-if="actions === 'default'" class="!w-fit px-6" size="sm" :text="$dataStore.t('confirm.yes')" :btn="$styles.blueBtn" @click="$emit('yes')" />
|
|
15
|
+
<base-btn v-if="actions === 'default'" class="!w-fit px-6" size="sm" :text="$dataStore.t('confirm.no')" :btn="$styles.blueBtn" @click="$emit('no')" />
|
|
23
16
|
<slot v-if="actions !== 'default'" name="actions"></slot>
|
|
24
17
|
</v-card-actions>
|
|
25
18
|
</v-card>
|
|
@@ -47,10 +40,6 @@ export default defineComponent({
|
|
|
47
40
|
type: String,
|
|
48
41
|
default: 'default',
|
|
49
42
|
},
|
|
50
|
-
icon: {
|
|
51
|
-
type: Object as PropType<{ mdi: string; color: string; bg: string }>,
|
|
52
|
-
default: { mdi: 'mdi-circle-outline', color: 'text-[#FFF]', bg: 'bg-[#EEEEEE]' },
|
|
53
|
-
},
|
|
54
43
|
},
|
|
55
44
|
emits: ['update:modelValue', 'yes', 'no'],
|
|
56
45
|
});
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<base-panel-input
|
|
8
8
|
class="pl-1"
|
|
9
9
|
v-model="formStore.SaleChanellPolicy"
|
|
10
|
-
:value="formStore.SaleChanellPolicy
|
|
10
|
+
:value="formStore.SaleChanellPolicy?.nameRu"
|
|
11
11
|
:readonly="isReadonly"
|
|
12
12
|
:clearable="!isReadonly"
|
|
13
13
|
:label="$dataStore.t('form.salesChanell')"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<base-panel-input
|
|
19
19
|
class="pl-1"
|
|
20
20
|
v-model="formStore.RegionPolicy"
|
|
21
|
-
:value="formStore.RegionPolicy
|
|
21
|
+
:value="formStore.RegionPolicy?.nameRu"
|
|
22
22
|
:readonly="isReadonly"
|
|
23
23
|
:clearable="!isReadonly"
|
|
24
24
|
:label="$dataStore.t('form.Region')"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
<base-panel-input
|
|
30
30
|
class="pl-1"
|
|
31
31
|
v-model="formStore.ManagerPolicy"
|
|
32
|
-
:value="formStore.ManagerPolicy
|
|
32
|
+
:value="formStore.ManagerPolicy?.nameRu"
|
|
33
33
|
:readonly="isReadonly"
|
|
34
34
|
:clearable="!isReadonly"
|
|
35
35
|
:label="$dataStore.t('form.manager')"
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
<base-panel-input
|
|
41
41
|
class="pl-1"
|
|
42
42
|
v-model="formStore.AgentData"
|
|
43
|
-
:value="formStore.AgentData
|
|
43
|
+
:value="formStore.AgentData?.fullName"
|
|
44
44
|
:readonly="isReadonly"
|
|
45
45
|
:clearable="!isReadonly"
|
|
46
46
|
:label="$dataStore.t('form.agent')"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
<base-form-input v-model="member.age" :label="$dataStore.t('form.age')" :readonly="disabled" :clearable="!disabled" :rules="$rules.numbers.concat($rules.age18)" />
|
|
52
52
|
<base-panel-input
|
|
53
53
|
v-model="member.gender"
|
|
54
|
-
:value="member.gender
|
|
54
|
+
:value="member.gender?.nameRu"
|
|
55
55
|
:readonly="disabled"
|
|
56
56
|
:clearable="!disabled"
|
|
57
57
|
:label="$dataStore.t('form.gender')"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
<base-form-section :title="$dataStore.t('form.placeRegistration')">
|
|
69
69
|
<base-panel-input
|
|
70
70
|
v-model="member.registrationCountry"
|
|
71
|
-
:value="member.registrationCountry
|
|
71
|
+
:value="member.registrationCountry?.nameRu"
|
|
72
72
|
:label="$dataStore.t('form.Country')"
|
|
73
73
|
:readonly="disabled"
|
|
74
74
|
:clearable="!disabled"
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
<div class="flex flex-col gap-[1px]" v-if="member.registrationCountry.nameRu === 'Казахстан' || member.registrationCountry.nameRu === null">
|
|
81
81
|
<base-panel-input
|
|
82
82
|
v-model="member.registrationProvince"
|
|
83
|
-
:value="member.registrationProvince
|
|
83
|
+
:value="member.registrationProvince?.nameRu"
|
|
84
84
|
:label="$dataStore.t('form.Province')"
|
|
85
85
|
:readonly="disabled"
|
|
86
86
|
:clearable="!disabled"
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
/>
|
|
91
91
|
<base-panel-input
|
|
92
92
|
v-model="member.registrationRegionType"
|
|
93
|
-
:value="member.registrationRegionType
|
|
93
|
+
:value="member.registrationRegionType?.nameRu"
|
|
94
94
|
:label="$dataStore.t('form.RegionType')"
|
|
95
95
|
:readonly="disabled"
|
|
96
96
|
:clearable="!disabled"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<base-panel-input
|
|
102
102
|
v-if="member.registrationRegionType.nameRu !== 'город'"
|
|
103
103
|
v-model="member.registrationRegion"
|
|
104
|
-
:value="member.registrationRegion
|
|
104
|
+
:value="member.registrationRegion?.nameRu"
|
|
105
105
|
:label="$dataStore.t('form.Region')"
|
|
106
106
|
:readonly="disabled"
|
|
107
107
|
:clearable="!disabled"
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
/>
|
|
112
112
|
<base-panel-input
|
|
113
113
|
v-model="member.registrationCity"
|
|
114
|
-
:value="member.registrationCity
|
|
114
|
+
:value="member.registrationCity?.nameRu"
|
|
115
115
|
:label="$dataStore.t('form.City')"
|
|
116
116
|
:readonly="disabled"
|
|
117
117
|
:clearable="!disabled"
|
|
@@ -136,7 +136,7 @@
|
|
|
136
136
|
<base-form-section :title="$dataStore.t('form.birthData')">
|
|
137
137
|
<base-panel-input
|
|
138
138
|
v-model="member.birthPlace"
|
|
139
|
-
:value="member.birthPlace
|
|
139
|
+
:value="member.birthPlace?.nameRu"
|
|
140
140
|
:label="$dataStore.t('form.Country')"
|
|
141
141
|
:readonly="disabled"
|
|
142
142
|
:clearable="!disabled"
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
<base-form-section :title="$dataStore.t('form.documentData')">
|
|
149
149
|
<base-panel-input
|
|
150
150
|
v-model="member.documentType"
|
|
151
|
-
:value="member.documentType
|
|
151
|
+
:value="member.documentType?.nameRu"
|
|
152
152
|
:label="$dataStore.t('form.documentType')"
|
|
153
153
|
:readonly="disabled"
|
|
154
154
|
:clearable="!disabled"
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
</base-empty-form-field> -->
|
|
165
165
|
<base-panel-input
|
|
166
166
|
v-model="member.documentIssuers"
|
|
167
|
-
:value="member.documentIssuers
|
|
167
|
+
:value="member.documentIssuers?.nameRu"
|
|
168
168
|
:label="$dataStore.t('form.documentIssuers')"
|
|
169
169
|
:readonly="disabled"
|
|
170
170
|
:clearable="!disabled"
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
</base-fade-transition>
|
|
196
196
|
<base-panel-input
|
|
197
197
|
v-model="member.signOfResidency"
|
|
198
|
-
:value="member.signOfResidency
|
|
198
|
+
:value="member.signOfResidency?.nameRu"
|
|
199
199
|
:label="$dataStore.t('form.signOfResidency')"
|
|
200
200
|
:readonly="disabled"
|
|
201
201
|
:clearable="!disabled"
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
/>
|
|
206
206
|
<base-panel-input
|
|
207
207
|
v-model="member.countryOfTaxResidency"
|
|
208
|
-
:value="member.countryOfTaxResidency
|
|
208
|
+
:value="member.countryOfTaxResidency?.nameRu"
|
|
209
209
|
:label="$dataStore.t('form.countryOfTaxResidency')"
|
|
210
210
|
:readonly="disabled"
|
|
211
211
|
:clearable="!disabled"
|
|
@@ -217,7 +217,7 @@
|
|
|
217
217
|
<base-panel-input
|
|
218
218
|
v-if="member.countryOfTaxResidency.ids === '500014.3'"
|
|
219
219
|
v-model="member.addTaxResidency"
|
|
220
|
-
:value="member.addTaxResidency
|
|
220
|
+
:value="member.addTaxResidency?.nameRu"
|
|
221
221
|
:label="$dataStore.t('form.addTaxResidency')"
|
|
222
222
|
:readonly="disabled"
|
|
223
223
|
:clearable="!disabled"
|
|
@@ -228,7 +228,7 @@
|
|
|
228
228
|
</base-fade-transition>
|
|
229
229
|
<base-panel-input
|
|
230
230
|
v-model="member.countryOfCitizenship"
|
|
231
|
-
:value="member.countryOfCitizenship
|
|
231
|
+
:value="member.countryOfCitizenship?.nameRu"
|
|
232
232
|
:label="$dataStore.t('form.countryOfCitizenship')"
|
|
233
233
|
:readonly="disabled"
|
|
234
234
|
:clearable="!disabled"
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
/>
|
|
239
239
|
<base-panel-input
|
|
240
240
|
v-model="member.economySectorCode"
|
|
241
|
-
:value="member.economySectorCode
|
|
241
|
+
:value="member.economySectorCode?.nameRu"
|
|
242
242
|
:label="$dataStore.t('form.economySectorCode')"
|
|
243
243
|
:readonly="disabled"
|
|
244
244
|
:clearable="!disabled"
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
<base-form-input v-model="member.age" :label="$dataStore.t('form.age')" :readonly="true" :clearable="!isDisabled" :rules="ageRule" />
|
|
83
83
|
<base-panel-input
|
|
84
84
|
v-model="member.gender"
|
|
85
|
-
:value="member.gender
|
|
85
|
+
:value="member.gender?.nameRu"
|
|
86
86
|
:readonly="isDisabled || isFromGBD"
|
|
87
87
|
:clearable="!isDisabled"
|
|
88
88
|
:label="$dataStore.t('form.gender')"
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
<base-panel-input
|
|
94
94
|
v-if="hasFamilyStatus"
|
|
95
95
|
v-model="member.familyStatus"
|
|
96
|
-
:value="member.familyStatus
|
|
96
|
+
:value="member.familyStatus?.nameRu"
|
|
97
97
|
:readonly="isDisabled"
|
|
98
98
|
:clearable="!isDisabled"
|
|
99
99
|
:label="$dataStore.t('form.familyStatus')"
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
<base-panel-input
|
|
105
105
|
v-if="(whichForm === formStore.beneficiaryFormKey || whichForm === formStore.insuredFormKey) && member.iin !== formStore.policyholderForm.iin"
|
|
106
106
|
v-model="member.relationDegree"
|
|
107
|
-
:value="member.relationDegree
|
|
107
|
+
:value="member.relationDegree?.nameRu"
|
|
108
108
|
:readonly="isDisabled"
|
|
109
109
|
:clearable="!isDisabled"
|
|
110
110
|
:label="$dataStore.t('form.relations')"
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
<base-form-toggle v-if="hasSameAddressToggle" v-model="sameAddress" :disabled="isDisabled" :has-border="false" :title="$dataStore.t('form.sameAddress')" />
|
|
241
241
|
<base-panel-input
|
|
242
242
|
v-model="member.registrationCountry"
|
|
243
|
-
:value="member.registrationCountry
|
|
243
|
+
:value="member.registrationCountry?.nameRu"
|
|
244
244
|
:readonly="isDisabled"
|
|
245
245
|
:clearable="!isDisabled"
|
|
246
246
|
:label="$dataStore.t('form.Country')"
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
<div class="flex flex-col gap-[1px]" v-if="member.registrationCountry.nameRu === 'Казахстан' || member.registrationCountry.nameRu === null">
|
|
253
253
|
<base-panel-input
|
|
254
254
|
v-model="member.registrationProvince"
|
|
255
|
-
:value="member.registrationProvince
|
|
255
|
+
:value="member.registrationProvince?.nameRu"
|
|
256
256
|
:label="$dataStore.t('form.Province')"
|
|
257
257
|
:readonly="isDisabled"
|
|
258
258
|
:clearable="!isDisabled"
|
|
@@ -262,7 +262,7 @@
|
|
|
262
262
|
/>
|
|
263
263
|
<base-panel-input
|
|
264
264
|
v-model="member.registrationRegionType"
|
|
265
|
-
:value="member.registrationRegionType
|
|
265
|
+
:value="member.registrationRegionType?.nameRu"
|
|
266
266
|
:label="$dataStore.t('form.RegionType')"
|
|
267
267
|
:readonly="isDisabled"
|
|
268
268
|
:clearable="!isDisabled"
|
|
@@ -273,7 +273,7 @@
|
|
|
273
273
|
<base-panel-input
|
|
274
274
|
v-if="member.registrationRegionType.nameRu !== 'город'"
|
|
275
275
|
v-model="member.registrationRegion"
|
|
276
|
-
:value="member.registrationRegion
|
|
276
|
+
:value="member.registrationRegion?.nameRu"
|
|
277
277
|
:label="$dataStore.t('form.Region')"
|
|
278
278
|
:readonly="isDisabled"
|
|
279
279
|
:clearable="!isDisabled"
|
|
@@ -283,7 +283,7 @@
|
|
|
283
283
|
/>
|
|
284
284
|
<base-panel-input
|
|
285
285
|
v-model="member.registrationCity"
|
|
286
|
-
:value="member.registrationCity
|
|
286
|
+
:value="member.registrationCity?.nameRu"
|
|
287
287
|
:label="$dataStore.t('form.City')"
|
|
288
288
|
:readonly="isDisabled"
|
|
289
289
|
:clearable="!isDisabled"
|
|
@@ -316,7 +316,7 @@
|
|
|
316
316
|
<base-form-section :title="$dataStore.t('form.birthData')" v-if="$dataStore.hasBirthSection(whichForm)">
|
|
317
317
|
<base-panel-input
|
|
318
318
|
v-model="member.birthPlace"
|
|
319
|
-
:value="member.birthPlace
|
|
319
|
+
:value="member.birthPlace?.nameRu"
|
|
320
320
|
:label="$dataStore.t('form.Country')"
|
|
321
321
|
:readonly="isDisabled"
|
|
322
322
|
:clearable="!isDisabled"
|
|
@@ -327,7 +327,7 @@
|
|
|
327
327
|
<!-- TODO -->
|
|
328
328
|
<!-- <base-panel-input
|
|
329
329
|
v-model="member.birthRegion"
|
|
330
|
-
:value="member.birthRegion
|
|
330
|
+
:value="member.birthRegion?.nameRu"
|
|
331
331
|
:label="$dataStore.t('form.Region')"
|
|
332
332
|
:readonly="isDisabled"
|
|
333
333
|
:clearable="!isDisabled"
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
<base-form-section :title="$dataStore.t('form.documentData')" v-if="$dataStore.hasDocumentSection(whichForm)">
|
|
340
340
|
<base-panel-input
|
|
341
341
|
v-model="member.documentType"
|
|
342
|
-
:value="member.documentType
|
|
342
|
+
:value="member.documentType?.nameRu"
|
|
343
343
|
:label="$dataStore.t('form.documentType')"
|
|
344
344
|
:readonly="isDisabled"
|
|
345
345
|
:clearable="!isDisabled"
|
|
@@ -361,7 +361,7 @@
|
|
|
361
361
|
</base-empty-form-field> -->
|
|
362
362
|
<base-panel-input
|
|
363
363
|
v-model="member.documentIssuers"
|
|
364
|
-
:value="member.documentIssuers
|
|
364
|
+
:value="member.documentIssuers?.nameRu"
|
|
365
365
|
:label="$dataStore.t('form.documentIssuers')"
|
|
366
366
|
:readonly="isDisabled"
|
|
367
367
|
:clearable="!isDisabled"
|
|
@@ -392,7 +392,7 @@
|
|
|
392
392
|
</base-fade-transition>
|
|
393
393
|
<base-panel-input
|
|
394
394
|
v-model="member.signOfResidency"
|
|
395
|
-
:value="member.signOfResidency
|
|
395
|
+
:value="member.signOfResidency?.nameRu"
|
|
396
396
|
:label="$dataStore.t('form.signOfResidency')"
|
|
397
397
|
:readonly="isDisabled"
|
|
398
398
|
:clearable="!isDisabled"
|
|
@@ -402,7 +402,7 @@
|
|
|
402
402
|
/>
|
|
403
403
|
<base-panel-input
|
|
404
404
|
v-model="member.countryOfTaxResidency"
|
|
405
|
-
:value="member.countryOfTaxResidency
|
|
405
|
+
:value="member.countryOfTaxResidency?.nameRu"
|
|
406
406
|
:label="$dataStore.t('form.countryOfTaxResidency')"
|
|
407
407
|
:readonly="isDisabled"
|
|
408
408
|
:clearable="!isDisabled"
|
|
@@ -414,7 +414,7 @@
|
|
|
414
414
|
<base-panel-input
|
|
415
415
|
v-if="member.countryOfTaxResidency.ids === '500014.3'"
|
|
416
416
|
v-model="member.addTaxResidency"
|
|
417
|
-
:value="member.addTaxResidency
|
|
417
|
+
:value="member.addTaxResidency?.nameRu"
|
|
418
418
|
:label="$dataStore.t('form.addTaxResidency')"
|
|
419
419
|
:readonly="isDisabled"
|
|
420
420
|
:clearable="!isDisabled"
|
|
@@ -426,7 +426,7 @@
|
|
|
426
426
|
<base-panel-input
|
|
427
427
|
v-if="hasSignOfIPDL"
|
|
428
428
|
v-model="member.signOfIPDL"
|
|
429
|
-
:value="member.signOfIPDL
|
|
429
|
+
:value="member.signOfIPDL?.nameRu"
|
|
430
430
|
:label="$dataStore.t('form.signOfIPDL')"
|
|
431
431
|
:readonly="isDisabled"
|
|
432
432
|
:clearable="!isDisabled"
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
/>
|
|
437
437
|
<base-panel-input
|
|
438
438
|
v-model="member.countryOfCitizenship"
|
|
439
|
-
:value="member.countryOfCitizenship
|
|
439
|
+
:value="member.countryOfCitizenship?.nameRu"
|
|
440
440
|
:label="$dataStore.t('form.countryOfCitizenship')"
|
|
441
441
|
:readonly="isDisabled"
|
|
442
442
|
:clearable="!isDisabled"
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
/>
|
|
447
447
|
<base-panel-input
|
|
448
448
|
v-model="member.economySectorCode"
|
|
449
|
-
:value="member.economySectorCode
|
|
449
|
+
:value="member.economySectorCode?.nameRu"
|
|
450
450
|
:label="$dataStore.t('form.economySectorCode')"
|
|
451
451
|
:readonly="isDisabled"
|
|
452
452
|
:clearable="!isDisabled"
|
|
@@ -457,7 +457,7 @@
|
|
|
457
457
|
<base-panel-input
|
|
458
458
|
v-if="hasInsurancePay"
|
|
459
459
|
v-model="member.insurancePay"
|
|
460
|
-
:value="member.insurancePay
|
|
460
|
+
:value="member.insurancePay?.nameRu"
|
|
461
461
|
:readonly="isDisabled"
|
|
462
462
|
:clearable="!isDisabled"
|
|
463
463
|
:rules="$rules.objectRequired"
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
<base-panel-input
|
|
102
102
|
v-if="hasRiskGroup"
|
|
103
103
|
v-model="productConditionsForm.riskGroup"
|
|
104
|
-
:value="productConditionsForm.riskGroup
|
|
104
|
+
:value="productConditionsForm.riskGroup?.nameRu"
|
|
105
105
|
:label="$dataStore.t('productConditionsForm.riskGroup')"
|
|
106
106
|
:clearable="isRecalculationDisabled === false"
|
|
107
107
|
:readonly="isRecalculationDisabled"
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
/>
|
|
131
131
|
<base-panel-input
|
|
132
132
|
v-model="productConditionsForm.gender"
|
|
133
|
-
:value="productConditionsForm.gender
|
|
133
|
+
:value="productConditionsForm.gender?.nameRu"
|
|
134
134
|
:readonly="isDisabled"
|
|
135
135
|
:clearable="!isDisabled"
|
|
136
136
|
:label="$dataStore.t('form.gender')"
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
<base-panel-input
|
|
151
151
|
v-if="hasPaymentPeriod"
|
|
152
152
|
v-model="productConditionsForm.paymentPeriod"
|
|
153
|
-
:value="productConditionsForm.paymentPeriod
|
|
153
|
+
:value="productConditionsForm.paymentPeriod?.nameRu"
|
|
154
154
|
:readonly="isDisabled"
|
|
155
155
|
:clearable="!isDisabled"
|
|
156
156
|
:rules="$rules.objectRequired"
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<base-panel-input
|
|
162
162
|
v-if="hasProcessIndexRate"
|
|
163
163
|
v-model="productConditionsForm.processIndexRate"
|
|
164
|
-
:value="productConditionsForm.processIndexRate
|
|
164
|
+
:value="productConditionsForm.processIndexRate?.nameRu"
|
|
165
165
|
:readonly="isDisabled"
|
|
166
166
|
:clearable="!isDisabled"
|
|
167
167
|
:rules="$rules.objectRequired"
|
|
@@ -240,7 +240,7 @@
|
|
|
240
240
|
/>
|
|
241
241
|
<base-panel-input
|
|
242
242
|
v-model="productConditionsForm.typeAnnuityInsurance"
|
|
243
|
-
:value="productConditionsForm.typeAnnuityInsurance
|
|
243
|
+
:value="productConditionsForm.typeAnnuityInsurance?.nameRu"
|
|
244
244
|
:readonly="isDisabled"
|
|
245
245
|
:clearable="!isDisabled"
|
|
246
246
|
:rules="$rules.objectRequired"
|
|
@@ -258,7 +258,7 @@
|
|
|
258
258
|
/>
|
|
259
259
|
<base-panel-input
|
|
260
260
|
v-model="productConditionsForm.periodAnnuityPayment"
|
|
261
|
-
:value="productConditionsForm.periodAnnuityPayment
|
|
261
|
+
:value="productConditionsForm.periodAnnuityPayment?.nameRu"
|
|
262
262
|
:readonly="isDisabled"
|
|
263
263
|
:clearable="!isDisabled"
|
|
264
264
|
:rules="$rules.objectRequired"
|
package/composables/styles.ts
CHANGED
package/locales/ru.json
CHANGED
|
@@ -299,6 +299,8 @@
|
|
|
299
299
|
"userFullName": "Исполнитель"
|
|
300
300
|
},
|
|
301
301
|
"agent": {
|
|
302
|
+
"currency": "Валюта",
|
|
303
|
+
"programName": "Программа",
|
|
302
304
|
"menu": "Меню",
|
|
303
305
|
"main": "Главное",
|
|
304
306
|
"reports": "Отчеты",
|
|
@@ -352,6 +354,7 @@
|
|
|
352
354
|
"unallocation": {
|
|
353
355
|
"paymentId": "ID платежа",
|
|
354
356
|
"voucherNumber": "Номер ваучера",
|
|
357
|
+
"voucherSum": "Сумма",
|
|
355
358
|
"voucherDate": "Дата ваучера",
|
|
356
359
|
"voucherStatus": "Статус ваучера"
|
|
357
360
|
},
|
|
@@ -389,6 +392,7 @@
|
|
|
389
392
|
"new": "Подать заявление"
|
|
390
393
|
},
|
|
391
394
|
"labels": {
|
|
395
|
+
"inAll": "Всего",
|
|
392
396
|
"sorting": "Сортировка",
|
|
393
397
|
"premiumSum": "Сумма премии",
|
|
394
398
|
"department": "Департамент",
|
package/package.json
CHANGED
package/store/data.store.ts
CHANGED
|
@@ -1330,6 +1330,11 @@ export const useDataStore = defineStore('data', {
|
|
|
1330
1330
|
getNumberWithSpaces(n: any) {
|
|
1331
1331
|
return n === null ? null : Number((typeof n === 'string' ? n : n.toFixed().toString()).replace(/[^0-9]+/g, '')).toLocaleString('ru');
|
|
1332
1332
|
},
|
|
1333
|
+
getNumberWithSpacesAfterComma(n: number) {
|
|
1334
|
+
let parts = n.toFixed(2).split('.');
|
|
1335
|
+
parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ' ');
|
|
1336
|
+
return parts.join(',');
|
|
1337
|
+
},
|
|
1333
1338
|
getNumberWithDot(n: any) {
|
|
1334
1339
|
return n === null ? null : n.toLocaleString('ru', { maximumFractionDigits: 2, minimumFractionDigits: 2 }).replace(/,/g, '.');
|
|
1335
1340
|
},
|