0
0
Fork 0

Item basic data

This commit is contained in:
William Buezas 2024-05-02 11:51:04 -03:00
parent 554b9e814b
commit d68934a526
3 changed files with 44 additions and 36 deletions

View File

@ -192,48 +192,42 @@ const onIntrastatCreated = (response, formData) => {
type="number" type="number"
/> />
</VnRow> </VnRow>
<!-- <VnRow class="row q-gutter-md q-mb-md"> <VnRow class="row q-gutter-md q-mb-md">
<div class="col"> <QCheckbox v-model="data.isActive" :label="t('basicData.isActive')" />
<QCheckbox v-model="data.hasKgPrice" :label="t('basicData.hasKgPrice')" />
<div>
<QCheckbox
v-model="data.isFragile"
:label="t('basicData.isFragile')"
class="q-mr-sm"
/>
<QIcon name="info" class="cursor-pointer" size="xs">
<QTooltip max-width="300px">
{{ t('basicData.isFragileTooltip') }}
</QTooltip>
</QIcon>
</div>
<div>
<QCheckbox
v-model="data.isPhotoRequested"
:label="t('basicData.isPhotoRequested')"
class="q-mr-sm"
/>
<QIcon name="info" class="cursor-pointer" size="xs">
<QTooltip>
{{ t('basicData.isPhotoRequestedTooltip') }}
</QTooltip>
</QIcon>
</div>
</VnRow>
<VnRow class="row q-gutter-md q-mb-md">
<QInput <QInput
:label="t('entry.basicData.observation')" :label="t('basicData.description')"
type="textarea" type="textarea"
v-model="data.observation" v-model="data.description"
:maxlength="45"
counter
fill-input fill-input
/> />
</div> </VnRow>
</VnRow> -->
<!-- <VnRow class="row q-gutter-md q-mb-md">
<div class="col">
<QCheckbox
v-model="data.isOrdered"
:label="t('entry.basicData.ordered')"
/>
</div>
<div class="col">
<QCheckbox
v-model="data.isConfirmed"
:label="t('entry.basicData.confirmed')"
/>
</div>
<div class="col">
<QCheckbox
v-model="data.isExcludedFromAvailable"
:label="t('entry.basicData.excludedFromAvailable')"
/>
</div>
<div class="col">
<QCheckbox v-model="data.isRaid" :label="t('entry.basicData.raid')" />
</div>
<div class="col">
<QCheckbox
v-if="isAdministrative()"
v-model="data.isBooked"
:label="t('entry.basicData.booked')"
/>
</div>
</VnRow> -->
</template> </template>
</FormModel> </FormModel>
</template> </template>

View File

@ -24,6 +24,13 @@ basicData:
boxUnits: Units/Box boxUnits: Units/Box
recycledPlastic: Recycled plastic recycledPlastic: Recycled plastic
nonRecycledPlastic: Non recycled plastic nonRecycledPlastic: Non recycled plastic
description: Description
isActive: Active
hasKgPrice: Price in kg
isFragile: Fragile
isFragileTooltip: Is shown at website, app that this item cannot travel (wreath, palms, ...)
isPhotoRequested: Do photo
isPhotoRequestedTooltip: This item does need a photo
createIntrastatForm: createIntrastatForm:
title: New intrastat title: New intrastat
identifier: Identifier identifier: Identifier

View File

@ -24,6 +24,13 @@ basicData:
boxUnits: Unidades/caja boxUnits: Unidades/caja
recycledPlastic: Plástico reciclado recycledPlastic: Plástico reciclado
nonRecycledPlastic: Plástico no reciclado nonRecycledPlastic: Plástico no reciclado
description: Descripción
isActive: Activo
hasKgPrice: Precio en kg
isFragile: Frágil
isFragileTooltip: Se muestra en la web app, que este artículo no puede viajar (coronas, palmas, ...)
isPhotoRequested: Hacer foto
isPhotoRequestedTooltip: Este artículo necesita una foto
createIntrastatForm: createIntrastatForm:
title: Nuevo intrastat title: Nuevo intrastat
identifier: Identificador identifier: Identificador