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')" />
<QInput <QCheckbox v-model="data.hasKgPrice" :label="t('basicData.hasKgPrice')" />
:label="t('entry.basicData.observation')" <div>
type="textarea"
v-model="data.observation"
:maxlength="45"
counter
fill-input
/>
</div>
</VnRow> -->
<!-- <VnRow class="row q-gutter-md q-mb-md">
<div class="col">
<QCheckbox <QCheckbox
v-model="data.isOrdered" v-model="data.isFragile"
:label="t('entry.basicData.ordered')" :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>
<div class="col"> <div>
<QCheckbox <QCheckbox
v-model="data.isConfirmed" v-model="data.isPhotoRequested"
:label="t('entry.basicData.confirmed')" :label="t('basicData.isPhotoRequested')"
class="q-mr-sm"
/> />
<QIcon name="info" class="cursor-pointer" size="xs">
<QTooltip>
{{ t('basicData.isPhotoRequestedTooltip') }}
</QTooltip>
</QIcon>
</div> </div>
<div class="col"> </VnRow>
<QCheckbox <VnRow class="row q-gutter-md q-mb-md">
v-model="data.isExcludedFromAvailable" <QInput
:label="t('entry.basicData.excludedFromAvailable')" :label="t('basicData.description')"
/> type="textarea"
</div> v-model="data.description"
<div class="col"> fill-input
<QCheckbox v-model="data.isRaid" :label="t('entry.basicData.raid')" /> />
</div> </VnRow>
<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