forked from verdnatura/salix-front
fix: refs #7283 basicData locale
This commit is contained in:
parent
27e7d30158
commit
6f771c7ae6
|
@ -73,7 +73,7 @@ const onIntrastatCreated = (response, formData) => {
|
||||||
<template #form="{ data }">
|
<template #form="{ data }">
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnSelect
|
<VnSelect
|
||||||
:label="t('basic_data.type')"
|
:label="t('itemBasicData.type')"
|
||||||
v-model="data.typeFk"
|
v-model="data.typeFk"
|
||||||
:options="itemTypesOptions"
|
:options="itemTypesOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
|
@ -92,17 +92,17 @@ const onIntrastatCreated = (response, formData) => {
|
||||||
</QItem>
|
</QItem>
|
||||||
</template>
|
</template>
|
||||||
</VnSelect>
|
</VnSelect>
|
||||||
<VnInput :label="t('basic_data.reference')" v-model="data.comment" />
|
<VnInput :label="t('itemBasicData.reference')" v-model="data.comment" />
|
||||||
<VnInput :label="t('basic_data.relevancy')" v-model="data.relevancy" />
|
<VnInput :label="t('itemBasicData.relevancy')" v-model="data.relevancy" />
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnInput :label="t('basic_data.stems')" v-model="data.stems" />
|
<VnInput :label="t('itemBasicData.stems')" v-model="data.stems" />
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('basic_data.multiplier')"
|
:label="t('itemBasicData.multiplier')"
|
||||||
v-model="data.stemMultiplier"
|
v-model="data.stemMultiplier"
|
||||||
/>
|
/>
|
||||||
<VnSelectDialog
|
<VnSelectDialog
|
||||||
:label="t('basic_data.generic')"
|
:label="t('itemBasicData.generic')"
|
||||||
v-model="data.genericFk"
|
v-model="data.genericFk"
|
||||||
:options="itemsWithNameOptions"
|
:options="itemsWithNameOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
|
@ -129,7 +129,7 @@ const onIntrastatCreated = (response, formData) => {
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnSelectDialog
|
<VnSelectDialog
|
||||||
:label="t('basic_data.intrastat')"
|
:label="t('itemBasicData.intrastat')"
|
||||||
v-model="data.intrastatFk"
|
v-model="data.intrastatFk"
|
||||||
:options="intrastatsOptions"
|
:options="intrastatsOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
|
@ -156,7 +156,7 @@ const onIntrastatCreated = (response, formData) => {
|
||||||
</VnSelectDialog>
|
</VnSelectDialog>
|
||||||
<div class="col">
|
<div class="col">
|
||||||
<VnSelect
|
<VnSelect
|
||||||
:label="t('basic_data.expense')"
|
:label="t('itemBasicData.expense')"
|
||||||
v-model="data.expenseFk"
|
v-model="data.expenseFk"
|
||||||
:options="expensesOptions"
|
:options="expensesOptions"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
|
@ -168,64 +168,64 @@ const onIntrastatCreated = (response, formData) => {
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('basic_data.weightByPiece')"
|
:label="t('itemBasicData.weightByPiece')"
|
||||||
v-model.number="data.weightByPiece"
|
v-model.number="data.weightByPiece"
|
||||||
:min="0"
|
:min="0"
|
||||||
type="number"
|
type="number"
|
||||||
/>
|
/>
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('basic_data.boxUnits')"
|
:label="t('itemBasicData.boxUnits')"
|
||||||
v-model.number="data.packingOut"
|
v-model.number="data.packingOut"
|
||||||
:min="0"
|
:min="0"
|
||||||
type="number"
|
type="number"
|
||||||
/>
|
/>
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('basic_data.recycledPlastic')"
|
:label="t('itemBasicData.recycledPlastic')"
|
||||||
v-model.number="data.recycledPlastic"
|
v-model.number="data.recycledPlastic"
|
||||||
:min="0"
|
:min="0"
|
||||||
type="number"
|
type="number"
|
||||||
/>
|
/>
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('basic_data.nonRecycledPlastic')"
|
:label="t('itemBasicData.nonRecycledPlastic')"
|
||||||
v-model.number="data.nonRecycledPlastic"
|
v-model.number="data.nonRecycledPlastic"
|
||||||
:min="0"
|
:min="0"
|
||||||
type="number"
|
type="number"
|
||||||
/>
|
/>
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<QCheckbox v-model="data.isActive" :label="t('basic_data.isActive')" />
|
<QCheckbox v-model="data.isActive" :label="t('itemBasicData.isActive')" />
|
||||||
<QCheckbox
|
<QCheckbox
|
||||||
v-model="data.hasKgPrice"
|
v-model="data.hasKgPrice"
|
||||||
:label="t('basic_data.hasKgPrice')"
|
:label="t('itemBasicData.hasKgPrice')"
|
||||||
/>
|
/>
|
||||||
<div>
|
<div>
|
||||||
<QCheckbox
|
<QCheckbox
|
||||||
v-model="data.isFragile"
|
v-model="data.isFragile"
|
||||||
:label="t('basic_data.isFragile')"
|
:label="t('itemBasicData.isFragile')"
|
||||||
class="q-mr-sm"
|
class="q-mr-sm"
|
||||||
/>
|
/>
|
||||||
<QIcon name="info" class="cursor-pointer" size="xs">
|
<QIcon name="info" class="cursor-pointer" size="xs">
|
||||||
<QTooltip max-width="300px">
|
<QTooltip max-width="300px">
|
||||||
{{ t('basic_data.isFragileTooltip') }}
|
{{ t('itemBasicData.isFragileTooltip') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QIcon>
|
</QIcon>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<QCheckbox
|
<QCheckbox
|
||||||
v-model="data.isPhotoRequested"
|
v-model="data.isPhotoRequested"
|
||||||
:label="t('basic_data.isPhotoRequested')"
|
:label="t('itemBasicData.isPhotoRequested')"
|
||||||
class="q-mr-sm"
|
class="q-mr-sm"
|
||||||
/>
|
/>
|
||||||
<QIcon name="info" class="cursor-pointer" size="xs">
|
<QIcon name="info" class="cursor-pointer" size="xs">
|
||||||
<QTooltip>
|
<QTooltip>
|
||||||
{{ t('basic_data.isPhotoRequestedTooltip') }}
|
{{ t('itemBasicData.isPhotoRequestedTooltip') }}
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QIcon>
|
</QIcon>
|
||||||
</div>
|
</div>
|
||||||
</VnRow>
|
</VnRow>
|
||||||
<VnRow>
|
<VnRow>
|
||||||
<VnInput
|
<VnInput
|
||||||
:label="t('basic_data.description')"
|
:label="t('itemBasicData.description')"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
v-model="data.description"
|
v-model="data.description"
|
||||||
fill-input
|
fill-input
|
||||||
|
|
|
@ -25,7 +25,7 @@ itemDiary:
|
||||||
showBefore: Show what's before the inventory
|
showBefore: Show what's before the inventory
|
||||||
since: Since
|
since: Since
|
||||||
warehouse: Warehouse
|
warehouse: Warehouse
|
||||||
basic_data:
|
itemBasicData:
|
||||||
type: Type
|
type: Type
|
||||||
reference: Reference
|
reference: Reference
|
||||||
relevancy: Relevancy
|
relevancy: Relevancy
|
||||||
|
|
|
@ -25,7 +25,7 @@ itemDiary:
|
||||||
showBefore: Mostrar lo anterior al inventario
|
showBefore: Mostrar lo anterior al inventario
|
||||||
since: Desde
|
since: Desde
|
||||||
warehouse: Almacén
|
warehouse: Almacén
|
||||||
basic_data:
|
itemBasicData:
|
||||||
type: Tipo
|
type: Tipo
|
||||||
reference: Referencia
|
reference: Referencia
|
||||||
relevancy: Relevancia
|
relevancy: Relevancia
|
||||||
|
|
Loading…
Reference in New Issue