feat: refs #8298 add price optimum input and update translations for bonus and price optimum
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Javi Gallego 2025-01-08 10:32:15 +01:00
parent c0d909b3e8
commit 3e06f604bb
3 changed files with 20 additions and 4 deletions

View File

@ -100,6 +100,16 @@ const agencyOptions = ref([]);
required="true" required="true"
clearable clearable
/> />
<VnInput
v-model="data.priceOptimum"
:label="t('Price optimum')"
type="number"
min="0"
required="true"
clearable
/>
</VnRow>
<VnRow>
<VnInput <VnInput
v-model="data.bonus" v-model="data.bonus"
:label="t('Bonus')" :label="t('Bonus')"
@ -107,8 +117,6 @@ const agencyOptions = ref([]);
min="0" min="0"
clearable clearable
/> />
</VnRow>
<VnRow>
<VnSelect <VnSelect
:label="t('Distribution point')" :label="t('Distribution point')"
v-model="data.addressFk" v-model="data.addressFk"
@ -152,6 +160,7 @@ es:
Traveling days: Dias de viaje Traveling days: Dias de viaje
Closing: Cierre Closing: Cierre
Price: Precio Price: Precio
Price optimum: Precio óptimo
Bonus: Bonificación Bonus: Bonificación
Inflation: Inflación Inflation: Inflación
Volumetric: Volumétrico Volumetric: Volumétrico

View File

@ -182,13 +182,19 @@ onMounted(() => {
min="0" min="0"
/> />
<VnInput <VnInput
v-model="eventInclusionFormData.bonus" v-model="eventInclusionFormData.priceOptimum"
:label="t('zone.bonus')" :label="t('list.priceOptimum')"
type="number" type="number"
min="0" min="0"
/> />
</VnRow> </VnRow>
<VnRow> <VnRow>
<VnInput
v-model="eventInclusionFormData.bonus"
:label="t('zone.bonus')"
type="number"
min="0"
/>
<VnInput <VnInput
v-model="eventInclusionFormData.m3Max" v-model="eventInclusionFormData.m3Max"
:label="t('zone.m3Max')" :label="t('zone.m3Max')"

View File

@ -22,6 +22,7 @@ list:
agency: Agencia agency: Agencia
close: Cierre close: Cierre
price: Precio price: Precio
priceOptimum: Precio óptimo
create: Crear zona create: Crear zona
openSummary: Detalles openSummary: Detalles
searchZone: Buscar zonas searchZone: Buscar zonas