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
|
boxing: Boxing
|
||||||
sms: Sms
|
sms: Sms
|
||||||
notes: Notes
|
notes: Notes
|
||||||
|
negative: Tickets negative
|
||||||
list:
|
list:
|
||||||
nickname: Nickname
|
nickname: Nickname
|
||||||
state: State
|
state: State
|
||||||
|
|
|
@ -415,6 +415,7 @@ ticket:
|
||||||
boxing: Encajado
|
boxing: Encajado
|
||||||
sms: Sms
|
sms: Sms
|
||||||
notes: Notas
|
notes: Notas
|
||||||
|
negative: Tickets negativos
|
||||||
list:
|
list:
|
||||||
nickname: Alias
|
nickname: Alias
|
||||||
state: Estado
|
state: Estado
|
||||||
|
|
|
@ -43,13 +43,13 @@ const updateNegativeOrigin = async () => {
|
||||||
v-if="icon"
|
v-if="icon"
|
||||||
/>
|
/>
|
||||||
<span class="text-h6 text-grey">{{
|
<span class="text-h6 text-grey">{{
|
||||||
t('ticket.negative.modalOrigin.title')
|
t('negative.modalOrigin.title')
|
||||||
}}</span>
|
}}</span>
|
||||||
<QSpace />
|
<QSpace />
|
||||||
<QBtn icon="close" flat round dense v-close-popup />
|
<QBtn icon="close" flat round dense v-close-popup />
|
||||||
</QCardSection>
|
</QCardSection>
|
||||||
<QCardSection class="row items-center justify-center column items-stretch">
|
<QCardSection class="row items-center justify-center column items-stretch">
|
||||||
<span>{{ t('ticket.negative.modalOrigin.question') }}</span>
|
<span>{{ t('negative.modalOrigin.question') }}</span>
|
||||||
<QSelect
|
<QSelect
|
||||||
:label="t('globals.reason')"
|
:label="t('globals.reason')"
|
||||||
v-model="reasonegativeOriginDialog"
|
v-model="reasonegativeOriginDialog"
|
||||||
|
|
|
@ -160,75 +160,75 @@ const tableColumnComponents = computed(() => ({
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
{
|
{
|
||||||
name: 'ticketFk',
|
name: 'ticketFk',
|
||||||
label: t('ticket.negative.detail.ticketFk'),
|
label: t('negative.detail.ticketFk'),
|
||||||
field: 'ticketFk',
|
field: 'ticketFk',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'shipped',
|
name: 'shipped',
|
||||||
label: t('ticket.negative.detail.shipped'),
|
label: t('negative.detail.shipped'),
|
||||||
field: 'shipped',
|
field: 'shipped',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
format: (val) => toDate(val),
|
format: (val) => toDate(val),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'theoreticalhour',
|
name: 'theoreticalhour',
|
||||||
label: t('ticket.negative.detail.theoreticalhour'),
|
label: t('negative.detail.theoreticalhour'),
|
||||||
field: 'theoreticalhour',
|
field: 'theoreticalhour',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
format: (val) => toHour(val),
|
format: (val) => toHour(val),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'state',
|
||||||
label: t('ticket.negative.detail.state'),
|
label: t('negative.detail.state'),
|
||||||
field: 'code',
|
field: 'code',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'agName',
|
name: 'agName',
|
||||||
label: t('ticket.negative.detail.agName'),
|
label: t('negative.detail.agName'),
|
||||||
field: 'agName',
|
field: 'agName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'zoneName',
|
name: 'zoneName',
|
||||||
label: t('ticket.negative.detail.zoneName'),
|
label: t('negative.detail.zoneName'),
|
||||||
field: 'zoneName',
|
field: 'zoneName',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'nickname',
|
name: 'nickname',
|
||||||
label: t('ticket.negative.detail.nickname'),
|
label: t('negative.detail.nickname'),
|
||||||
field: 'nickname',
|
field: 'nickname',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'quantity',
|
name: 'quantity',
|
||||||
label: t('ticket.negative.detail.quantity'),
|
label: t('negative.detail.quantity'),
|
||||||
field: 'quantity',
|
field: 'quantity',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'alertLevelCode',
|
name: 'alertLevelCode',
|
||||||
label: t('ticket.negative.detail.alertLevelCode'),
|
label: t('negative.detail.alertLevelCode'),
|
||||||
field: 'alertLevelCode',
|
field: 'alertLevelCode',
|
||||||
align: 'left',
|
align: 'left',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'isRookie',
|
name: 'isRookie',
|
||||||
label: t('ticket.negative.detail.isRookie'),
|
label: t('negative.detail.isRookie'),
|
||||||
field: 'isRookie',
|
field: 'isRookie',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'turno',
|
name: 'turno',
|
||||||
label: t('ticket.negative.detail.turno'),
|
label: t('negative.detail.turno'),
|
||||||
field: 'turno',
|
field: 'turno',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'peticionCompra',
|
name: 'peticionCompra',
|
||||||
label: t('ticket.negative.detail.peticionCompra'),
|
label: t('negative.detail.peticionCompra'),
|
||||||
field: 'peticionCompra',
|
field: 'peticionCompra',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
|
|
|
@ -33,18 +33,14 @@ const warehouses = ref();
|
||||||
<QList dense class="q-gutter-y-sm q-mt-sm">
|
<QList dense class="q-gutter-y-sm q-mt-sm">
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput v-model="params.id" :label="t('negative.id')" dense />
|
||||||
v-model="params.id"
|
|
||||||
:label="t('ticket.negative.id')"
|
|
||||||
dense
|
|
||||||
/>
|
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
</QItem>
|
</QItem>
|
||||||
<QItem>
|
<QItem>
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="params.producer"
|
v-model="params.producer"
|
||||||
:label="t('ticket.negative.producer')"
|
:label="t('negative.producer')"
|
||||||
dense
|
dense
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
|
@ -53,7 +49,7 @@ const warehouses = ref();
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="params.colour"
|
v-model="params.colour"
|
||||||
:label="t('ticket.negative.colour')"
|
:label="t('negative.colour')"
|
||||||
dense
|
dense
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
|
@ -62,7 +58,7 @@ const warehouses = ref();
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="params.size"
|
v-model="params.size"
|
||||||
:label="t('ticket.negative.size')"
|
:label="t('negative.size')"
|
||||||
dense
|
dense
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
|
@ -71,7 +67,7 @@ const warehouses = ref();
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="params.origen"
|
v-model="params.origen"
|
||||||
:label="t('ticket.negative.origen')"
|
:label="t('negative.origen')"
|
||||||
dense
|
dense
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
|
@ -80,7 +76,7 @@ const warehouses = ref();
|
||||||
<QItemSection>
|
<QItemSection>
|
||||||
<VnInput
|
<VnInput
|
||||||
v-model="params.lack"
|
v-model="params.lack"
|
||||||
:label="t('ticket.negative.value')"
|
:label="t('negative.value')"
|
||||||
dense
|
dense
|
||||||
/>
|
/>
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
|
|
|
@ -29,19 +29,19 @@ const totalNegativeDialogRef = ref();
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
{
|
{
|
||||||
name: 'minTimed',
|
name: 'minTimed',
|
||||||
label: t('ticket.negative.minTimed'),
|
label: t('negative.minTimed'),
|
||||||
field: ({ minTimed }) => minTimed,
|
field: ({ minTimed }) => minTimed,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'itemFk',
|
name: 'itemFk',
|
||||||
label: t('ticket.negative.id'),
|
label: t('negative.id'),
|
||||||
field: ({ itemFk }) => itemFk,
|
field: ({ itemFk }) => itemFk,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'longName',
|
name: 'longName',
|
||||||
label: t('ticket.negative.longName'),
|
label: t('negative.longName'),
|
||||||
field: ({ longName }) => longName,
|
field: ({ longName }) => longName,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
|
@ -49,32 +49,32 @@ const columns = computed(() => [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'producer',
|
name: 'producer',
|
||||||
label: t('ticket.negative.supplier'),
|
label: t('negative.supplier'),
|
||||||
field: ({ producer }) => producer,
|
field: ({ producer }) => producer,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'inkFk',
|
name: 'inkFk',
|
||||||
label: t('ticket.negative.colour'),
|
label: t('negative.colour'),
|
||||||
field: ({ inkFk }) => inkFk,
|
field: ({ inkFk }) => inkFk,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'size',
|
name: 'size',
|
||||||
label: t('ticket.negative.size'),
|
label: t('negative.size'),
|
||||||
field: ({ size }) => size,
|
field: ({ size }) => size,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'category',
|
name: 'category',
|
||||||
label: t('ticket.negative.origen'),
|
label: t('negative.origen'),
|
||||||
field: ({ category }) => category,
|
field: ({ category }) => category,
|
||||||
align: 'left',
|
align: 'left',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'lack',
|
name: 'lack',
|
||||||
label: t('ticket.negative.lack'),
|
label: t('negative.lack'),
|
||||||
field: ({ lack }) => lack,
|
field: ({ lack }) => lack,
|
||||||
align: 'center',
|
align: 'center',
|
||||||
sortable: true,
|
sortable: true,
|
||||||
|
@ -115,16 +115,16 @@ const columns = computed(() => [
|
||||||
color="primary"
|
color="primary"
|
||||||
:disable="!selectedRows?.length"
|
:disable="!selectedRows?.length"
|
||||||
@click="showNegativeOriginDialog = true"
|
@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>
|
||||||
<QBtn
|
<QBtn
|
||||||
color="primary"
|
color="primary"
|
||||||
@click="showTotalNegativeOriginDialog = true"
|
@click="showTotalNegativeOriginDialog = true"
|
||||||
:label="t('ticket.negative.totalNegative')"
|
:label="t('negative.totalNegative')"
|
||||||
>
|
>
|
||||||
<QTooltip>{{ t('ticket.negative.totalNegative') }}</QTooltip>
|
<QTooltip>{{ t('negative.totalNegative') }}</QTooltip>
|
||||||
</QBtn>
|
</QBtn>
|
||||||
</QBtnGroup>
|
</QBtnGroup>
|
||||||
<!-- </div> -->
|
<!-- </div> -->
|
||||||
|
@ -161,9 +161,7 @@ const columns = computed(() => [
|
||||||
<QBadge
|
<QBadge
|
||||||
:id="value ? 'true' : 'false'"
|
:id="value ? 'true' : 'false'"
|
||||||
:label="
|
:label="
|
||||||
value
|
value ? t('negative.true') : t('negative.false')
|
||||||
? t('ticket.negative.true')
|
|
||||||
: t('ticket.negative.false')
|
|
||||||
"
|
"
|
||||||
/>
|
/>
|
||||||
</QTd>
|
</QTd>
|
||||||
|
|
|
@ -12,31 +12,31 @@ const { dialogRef, onDialogHide } = useDialogPluginComponent();
|
||||||
const columns = computed(() => [
|
const columns = computed(() => [
|
||||||
{
|
{
|
||||||
name: 'id',
|
name: 'id',
|
||||||
label: t('ticket.negative.id'),
|
label: t('negative.id'),
|
||||||
field: ({ id }) => id,
|
field: ({ id }) => id,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'itemFk',
|
name: 'itemFk',
|
||||||
label: t('ticket.negative.detail.itemFk'),
|
label: t('negative.detail.itemFk'),
|
||||||
field: ({ itemFk }) => itemFk,
|
field: ({ itemFk }) => itemFk,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'type',
|
name: 'type',
|
||||||
label: t('ticket.negative.type'),
|
label: t('negative.type'),
|
||||||
field: ({ type }) => type,
|
field: ({ type }) => type,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'dated',
|
name: 'dated',
|
||||||
label: t('ticket.negative.detail.shipped'),
|
label: t('negative.detail.shipped'),
|
||||||
field: ({ dated }) => dated,
|
field: ({ dated }) => dated,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'quantity',
|
name: 'quantity',
|
||||||
label: t('ticket.negative.detail.quantity'),
|
label: t('negative.detail.quantity'),
|
||||||
field: ({ quantity }) => quantity,
|
field: ({ quantity }) => quantity,
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
|
@ -47,9 +47,7 @@ const columns = computed(() => [
|
||||||
<QDialog ref="dialogRef" @hide="onDialogHide" v-model="showTotalNegativeOriginDialog">
|
<QDialog ref="dialogRef" @hide="onDialogHide" v-model="showTotalNegativeOriginDialog">
|
||||||
<QCard class="q-pa-sm">
|
<QCard class="q-pa-sm">
|
||||||
<QCardSection class="row items-center q-pb-none">
|
<QCardSection class="row items-center q-pb-none">
|
||||||
<span class="text-h6 text-grey">{{
|
<span class="text-h6 text-grey">{{ t('negative.totalNegative') }}</span>
|
||||||
t('ticket.negative.totalNegative')
|
|
||||||
}}</span>
|
|
||||||
<QSpace />
|
<QSpace />
|
||||||
<QBtn icon="close" flat round dense v-close-popup />
|
<QBtn icon="close" flat round dense v-close-popup />
|
||||||
</QCardSection>
|
</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