forked from verdnatura/salix-front
feat: #6321 i18n to yml
This commit is contained in:
parent
91c5d7092d
commit
5779d37bbd
|
@ -417,6 +417,7 @@ ticket:
|
|||
boxing: Boxing
|
||||
sms: Sms
|
||||
notes: Notes
|
||||
negative: Tickets negative
|
||||
list:
|
||||
nickname: Nickname
|
||||
state: State
|
||||
|
|
|
@ -415,6 +415,7 @@ ticket:
|
|||
boxing: Encajado
|
||||
sms: Sms
|
||||
notes: Notas
|
||||
negative: Tickets negativos
|
||||
list:
|
||||
nickname: Alias
|
||||
state: Estado
|
||||
|
|
|
@ -43,13 +43,13 @@ const updateNegativeOrigin = async () => {
|
|||
v-if="icon"
|
||||
/>
|
||||
<span class="text-h6 text-grey">{{
|
||||
t('ticket.negative.modalOrigin.title')
|
||||
t('negative.modalOrigin.title')
|
||||
}}</span>
|
||||
<QSpace />
|
||||
<QBtn icon="close" flat round dense v-close-popup />
|
||||
</QCardSection>
|
||||
<QCardSection class="row items-center justify-center column items-stretch">
|
||||
<span>{{ t('ticket.negative.modalOrigin.question') }}</span>
|
||||
<span>{{ t('negative.modalOrigin.question') }}</span>
|
||||
<QSelect
|
||||
:label="t('globals.reason')"
|
||||
v-model="reasonegativeOriginDialog"
|
||||
|
|
|
@ -160,75 +160,75 @@ const tableColumnComponents = computed(() => ({
|
|||
const columns = computed(() => [
|
||||
{
|
||||
name: 'ticketFk',
|
||||
label: t('ticket.negative.detail.ticketFk'),
|
||||
label: t('negative.detail.ticketFk'),
|
||||
field: 'ticketFk',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'shipped',
|
||||
label: t('ticket.negative.detail.shipped'),
|
||||
label: t('negative.detail.shipped'),
|
||||
field: 'shipped',
|
||||
align: 'left',
|
||||
format: (val) => toDate(val),
|
||||
},
|
||||
{
|
||||
name: 'theoreticalhour',
|
||||
label: t('ticket.negative.detail.theoreticalhour'),
|
||||
label: t('negative.detail.theoreticalhour'),
|
||||
field: 'theoreticalhour',
|
||||
align: 'left',
|
||||
format: (val) => toHour(val),
|
||||
},
|
||||
{
|
||||
name: 'state',
|
||||
label: t('ticket.negative.detail.state'),
|
||||
label: t('negative.detail.state'),
|
||||
field: 'code',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'agName',
|
||||
label: t('ticket.negative.detail.agName'),
|
||||
label: t('negative.detail.agName'),
|
||||
field: 'agName',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'zoneName',
|
||||
label: t('ticket.negative.detail.zoneName'),
|
||||
label: t('negative.detail.zoneName'),
|
||||
field: 'zoneName',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'nickname',
|
||||
label: t('ticket.negative.detail.nickname'),
|
||||
label: t('negative.detail.nickname'),
|
||||
field: 'nickname',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'quantity',
|
||||
label: t('ticket.negative.detail.quantity'),
|
||||
label: t('negative.detail.quantity'),
|
||||
field: 'quantity',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'alertLevelCode',
|
||||
label: t('ticket.negative.detail.alertLevelCode'),
|
||||
label: t('negative.detail.alertLevelCode'),
|
||||
field: 'alertLevelCode',
|
||||
align: 'left',
|
||||
},
|
||||
{
|
||||
name: 'isRookie',
|
||||
label: t('ticket.negative.detail.isRookie'),
|
||||
label: t('negative.detail.isRookie'),
|
||||
field: 'isRookie',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
name: 'turno',
|
||||
label: t('ticket.negative.detail.turno'),
|
||||
label: t('negative.detail.turno'),
|
||||
field: 'turno',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
name: 'peticionCompra',
|
||||
label: t('ticket.negative.detail.peticionCompra'),
|
||||
label: t('negative.detail.peticionCompra'),
|
||||
field: 'peticionCompra',
|
||||
align: 'center',
|
||||
},
|
||||
|
|
|
@ -33,18 +33,14 @@ const warehouses = ref();
|
|||
<QList dense class="q-gutter-y-sm q-mt-sm">
|
||||
<QItem>
|
||||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.id"
|
||||
:label="t('ticket.negative.id')"
|
||||
dense
|
||||
/>
|
||||
<VnInput v-model="params.id" :label="t('negative.id')" dense />
|
||||
</QItemSection>
|
||||
</QItem>
|
||||
<QItem>
|
||||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.producer"
|
||||
:label="t('ticket.negative.producer')"
|
||||
:label="t('negative.producer')"
|
||||
dense
|
||||
/>
|
||||
</QItemSection>
|
||||
|
@ -53,7 +49,7 @@ const warehouses = ref();
|
|||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.colour"
|
||||
:label="t('ticket.negative.colour')"
|
||||
:label="t('negative.colour')"
|
||||
dense
|
||||
/>
|
||||
</QItemSection>
|
||||
|
@ -62,7 +58,7 @@ const warehouses = ref();
|
|||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.size"
|
||||
:label="t('ticket.negative.size')"
|
||||
:label="t('negative.size')"
|
||||
dense
|
||||
/>
|
||||
</QItemSection>
|
||||
|
@ -71,7 +67,7 @@ const warehouses = ref();
|
|||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.origen"
|
||||
:label="t('ticket.negative.origen')"
|
||||
:label="t('negative.origen')"
|
||||
dense
|
||||
/>
|
||||
</QItemSection>
|
||||
|
@ -80,7 +76,7 @@ const warehouses = ref();
|
|||
<QItemSection>
|
||||
<VnInput
|
||||
v-model="params.lack"
|
||||
:label="t('ticket.negative.value')"
|
||||
:label="t('negative.value')"
|
||||
dense
|
||||
/>
|
||||
</QItemSection>
|
||||
|
|
|
@ -29,19 +29,19 @@ const totalNegativeDialogRef = ref();
|
|||
const columns = computed(() => [
|
||||
{
|
||||
name: 'minTimed',
|
||||
label: t('ticket.negative.minTimed'),
|
||||
label: t('negative.minTimed'),
|
||||
field: ({ minTimed }) => minTimed,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'itemFk',
|
||||
label: t('ticket.negative.id'),
|
||||
label: t('negative.id'),
|
||||
field: ({ itemFk }) => itemFk,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'longName',
|
||||
label: t('ticket.negative.longName'),
|
||||
label: t('negative.longName'),
|
||||
field: ({ longName }) => longName,
|
||||
align: 'center',
|
||||
sortable: true,
|
||||
|
@ -49,32 +49,32 @@ const columns = computed(() => [
|
|||
},
|
||||
{
|
||||
name: 'producer',
|
||||
label: t('ticket.negative.supplier'),
|
||||
label: t('negative.supplier'),
|
||||
field: ({ producer }) => producer,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'inkFk',
|
||||
label: t('ticket.negative.colour'),
|
||||
label: t('negative.colour'),
|
||||
field: ({ inkFk }) => inkFk,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'size',
|
||||
label: t('ticket.negative.size'),
|
||||
label: t('negative.size'),
|
||||
field: ({ size }) => size,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'category',
|
||||
label: t('ticket.negative.origen'),
|
||||
label: t('negative.origen'),
|
||||
field: ({ category }) => category,
|
||||
align: 'left',
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'lack',
|
||||
label: t('ticket.negative.lack'),
|
||||
label: t('negative.lack'),
|
||||
field: ({ lack }) => lack,
|
||||
align: 'center',
|
||||
sortable: true,
|
||||
|
@ -115,16 +115,16 @@ const columns = computed(() => [
|
|||
color="primary"
|
||||
:disable="!selectedRows?.length"
|
||||
@click="showNegativeOriginDialog = true"
|
||||
:label="t('ticket.negative.negativeAction')"
|
||||
:label="t('negative.negativeAction')"
|
||||
>
|
||||
<QTooltip>{{ t('ticket.negative.negativeAction') }}</QTooltip>
|
||||
<QTooltip>{{ t('negative.negativeAction') }}</QTooltip>
|
||||
</QBtn>
|
||||
<QBtn
|
||||
color="primary"
|
||||
@click="showTotalNegativeOriginDialog = true"
|
||||
:label="t('ticket.negative.totalNegative')"
|
||||
:label="t('negative.totalNegative')"
|
||||
>
|
||||
<QTooltip>{{ t('ticket.negative.totalNegative') }}</QTooltip>
|
||||
<QTooltip>{{ t('negative.totalNegative') }}</QTooltip>
|
||||
</QBtn>
|
||||
</QBtnGroup>
|
||||
<!-- </div> -->
|
||||
|
@ -161,9 +161,7 @@ const columns = computed(() => [
|
|||
<QBadge
|
||||
:id="value ? 'true' : 'false'"
|
||||
:label="
|
||||
value
|
||||
? t('ticket.negative.true')
|
||||
: t('ticket.negative.false')
|
||||
value ? t('negative.true') : t('negative.false')
|
||||
"
|
||||
/>
|
||||
</QTd>
|
||||
|
|
|
@ -12,31 +12,31 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent();
|
|||
const columns = computed(() => [
|
||||
{
|
||||
name: 'id',
|
||||
label: t('ticket.negative.id'),
|
||||
label: t('negative.id'),
|
||||
field: ({ id }) => id,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'itemFk',
|
||||
label: t('ticket.negative.detail.itemFk'),
|
||||
label: t('negative.detail.itemFk'),
|
||||
field: ({ itemFk }) => itemFk,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'type',
|
||||
label: t('ticket.negative.type'),
|
||||
label: t('negative.type'),
|
||||
field: ({ type }) => type,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'dated',
|
||||
label: t('ticket.negative.detail.shipped'),
|
||||
label: t('negative.detail.shipped'),
|
||||
field: ({ dated }) => dated,
|
||||
sortable: true,
|
||||
},
|
||||
{
|
||||
name: 'quantity',
|
||||
label: t('ticket.negative.detail.quantity'),
|
||||
label: t('negative.detail.quantity'),
|
||||
field: ({ quantity }) => quantity,
|
||||
sortable: true,
|
||||
},
|
||||
|
@ -47,9 +47,7 @@ const columns = computed(() => [
|
|||
<QDialog ref="dialogRef" @hide="onDialogHide" v-model="showTotalNegativeOriginDialog">
|
||||
<QCard class="q-pa-sm">
|
||||
<QCardSection class="row items-center q-pb-none">
|
||||
<span class="text-h6 text-grey">{{
|
||||
t('ticket.negative.totalNegative')
|
||||
}}</span>
|
||||
<span class="text-h6 text-grey">{{ t('negative.totalNegative') }}</span>
|
||||
<QSpace />
|
||||
<QBtn icon="close" flat round dense v-close-popup />
|
||||
</QCardSection>
|
||||
|
|
|
@ -0,0 +1,40 @@
|
|||
negative:
|
||||
hour: 'Hour'
|
||||
id: 'Id Article'
|
||||
longName: 'Article'
|
||||
supplier: 'Supplier'
|
||||
colour: 'Colour'
|
||||
size: 'Size'
|
||||
origen: 'Origin'
|
||||
value: 'Negative'
|
||||
itemFk: 'Article'
|
||||
warehouseFk: 'Warehouse'
|
||||
producer: 'Producer'
|
||||
category: 'category'
|
||||
warehouse: 'warehouse'
|
||||
lack: 'Negative'
|
||||
inkFk: 'inkFk'
|
||||
timed: 'timed'
|
||||
minTimed: 'minTimed'
|
||||
type: 'Type'
|
||||
negativeAction: 'Negative'
|
||||
totalNegative: 'Total negatives'
|
||||
modalOrigin:
|
||||
title: 'Update negatives'
|
||||
question: 'Select a state to update'
|
||||
detail:
|
||||
itemFk: 'Article'
|
||||
ticketFk: 'Id_Ticket'
|
||||
code: 'Code'
|
||||
nickname: 'Alias'
|
||||
name: 'Name'
|
||||
zoneName: 'Agency name'
|
||||
shipped: 'Date'
|
||||
theoreticalhour: 'Theoretical hour'
|
||||
agName: 'Agency'
|
||||
quantity: 'Quantity'
|
||||
alertLevelCode: 'Group state'
|
||||
state: 'State'
|
||||
peticionCompra: 'Ticket request'
|
||||
isRookie: 'Is rookie'
|
||||
turno: 'Turn line'
|
|
@ -0,0 +1,40 @@
|
|||
negative:
|
||||
hour: 'Hora'
|
||||
id: 'Id Articulo'
|
||||
longName: 'Articulo'
|
||||
supplier: 'Productor'
|
||||
colour: 'Color'
|
||||
size: 'Medida'
|
||||
origen: 'Origen'
|
||||
value: 'Negativo'
|
||||
warehouseFk: 'Almacen'
|
||||
producer: 'Producer'
|
||||
category: 'Categoria'
|
||||
warehouse: 'Almacen'
|
||||
lack: 'Negativo'
|
||||
inkFk: 'Color'
|
||||
timed: 'Timed'
|
||||
minTimed: 'Hora'
|
||||
type: 'Tipo'
|
||||
negativeAction: 'Negativo'
|
||||
totalNegative: 'Total negativos'
|
||||
modalOrigin:
|
||||
title: 'Actualizar negativos'
|
||||
question: 'Seleccione un estado para guardar'
|
||||
|
||||
detail:
|
||||
itemFk: 'Articulo'
|
||||
ticketFk: 'Id_Ticket'
|
||||
code: 'code'
|
||||
nickname: 'Alias'
|
||||
name: 'Nombre'
|
||||
zoneName: 'Nombre Agencia'
|
||||
shipped: 'Fecha'
|
||||
theoreticalhour: 'Hora teórica'
|
||||
agName: 'Agencia'
|
||||
quantity: 'Cantidad'
|
||||
alertLevelCode: 'Estado agrupado'
|
||||
state: 'Estado'
|
||||
peticionCompra: 'Petición compra'
|
||||
isRookie: 'Cliente nuevo'
|
||||
turno: 'Linea turno'
|
Loading…
Reference in New Issue