refs #6321 feat: i18n improves

This commit is contained in:
Javier Segarra 2024-03-13 14:27:21 +01:00
parent 80b881edb5
commit 322c195175
5 changed files with 12 additions and 12 deletions

View File

@ -504,7 +504,7 @@ export default {
value: 'Negative',
itemFk: 'itemFk',
warehouseFk: 'warehouseFk',
producer: 'producer',
producer: 'Producer',
category: 'category',
warehouse: 'warehouse',
lack: 'Negative',

View File

@ -453,21 +453,21 @@ export default {
value:'Negativo',
itemFk: 'itemFk',
warehouseFk: 'warehouseFk',
producer: 'producer',
producer: 'Producer',
category: 'category',
warehouse: 'warehouse',
lack: 'Negativo',
inkFk: 'inkFk',
inkFk: 'Color',
timed: 'timed',
minTimed: 'minTimed',
detail:{
itemFk:'Articulo',
ticketFk:'Id_Ticket',
code:'code',
nickname:'nickname',
name:'name',
nickname:'Usuario',
name:'Nombre',
quantity:'Cantidad',
alertLevel:'alertLevel',
alertLevel:'Nivel de alerta',
alertLevelCode:'Estado de Alerta',
state:'Estado',
peticionCompra:'Petición compra',

View File

@ -202,13 +202,13 @@ const columns = computed(() => [
},
{
name: 'code',
label: t('ticket.negative.detail.Code'),
label: t('ticket.negative.detail.code'),
field: 'code',
align: 'left',
},
{
name: 'nickname',
label: t('ticket.negative.detail.Nickname'),
label: t('ticket.negative.detail.nickname'),
field: 'nickname',
align: 'left',
},

View File

@ -40,7 +40,7 @@ const agencies = ref();
>
<template #tags="{ tag, formatFn }">
<div class="q-gutter-x-xs">
<strong>{{ t(`params.${tag.label}`) }}: </strong>
<strong>{{ t(`ticket.negative.${tag.label}`) }}: </strong>
<span>{{ formatFn(tag.value) }}</span>
</div>
</template>
@ -68,7 +68,7 @@ const agencies = ref();
<QItem>
<QItemSection>
<VnInput
v-model="params.color"
v-model="params.inkFk"
:label="t('ticket.negative.colour')"
is-outlined
/>

View File

@ -4,7 +4,7 @@ import { useI18n } from 'vue-i18n';
import { useStateStore } from 'stores/useStateStore';
import VnPaginate from 'components/ui/VnPaginate.vue';
import { useSession } from 'src/composables/useSession';
import TicketFilter from 'pages/Ticket/Negative/TicketLackFilter.vue';
import TicketLackFilter from 'pages/Ticket/Negative/TicketLackFilter.vue';
import TicketDescriptorDialog from 'pages/Ticket/Negative/TicketLackDescriptorDialog.vue';
import { useQuasar } from 'quasar';
const session = useSession();
@ -216,7 +216,7 @@ const columns = computed(() => [
</VnConfirm> -->
<QDrawer v-model="stateStore.rightDrawer" side="right" :width="256" show-if-above>
<QScrollArea class="fit text-grey-8">
<TicketFilter data-key="NegativeList" />
<TicketLackFilter data-key="NegativeList" />
</QScrollArea>
</QDrawer>
</div>