WIP: 28213bcc
minor i18n updates
This commit is contained in:
parent
28213bcce6
commit
3979a328e9
|
@ -105,6 +105,7 @@ globals:
|
||||||
agency: Agency
|
agency: Agency
|
||||||
workCenters: Work centers
|
workCenters: Work centers
|
||||||
modes: Modes
|
modes: Modes
|
||||||
|
negative: Tickets negative
|
||||||
zones: Zones
|
zones: Zones
|
||||||
zonesList: Zones
|
zonesList: Zones
|
||||||
deliveryDays: Delivery days
|
deliveryDays: Delivery days
|
||||||
|
|
|
@ -106,6 +106,7 @@ globals:
|
||||||
agency: Agencia
|
agency: Agencia
|
||||||
workCenters: Centros de trabajo
|
workCenters: Centros de trabajo
|
||||||
modes: Modos
|
modes: Modos
|
||||||
|
negative: Tickets negativos
|
||||||
zones: Zonas
|
zones: Zonas
|
||||||
zonesList: Zonas
|
zonesList: Zonas
|
||||||
deliveryDays: Días de entrega
|
deliveryDays: Días de entrega
|
||||||
|
|
|
@ -505,7 +505,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
|
||||||
:disable="!isTicketEditable || !selectedSales.length"
|
:disable="!isTicketEditable || !selectedSales.length"
|
||||||
@click="setTransferParams()"
|
@click="setTransferParams()"
|
||||||
>
|
>
|
||||||
<QTooltip>{{ t('Transfer lines') }}</QTooltip>
|
<QTooltip>{{ t('ticketSale.transferLines') }}</QTooltip>
|
||||||
<TicketTransfer
|
<TicketTransfer
|
||||||
:transfer="transfer"
|
:transfer="transfer"
|
||||||
:ticket="store.data"
|
:ticket="store.data"
|
||||||
|
@ -768,5 +768,4 @@ es:
|
||||||
Continue anyway?: ¿Continuar de todas formas?
|
Continue anyway?: ¿Continuar de todas formas?
|
||||||
You are going to delete lines of the ticket: Vas a eliminar lineas del ticket
|
You are going to delete lines of the ticket: Vas a eliminar lineas del ticket
|
||||||
Add item: Añadir artículo
|
Add item: Añadir artículo
|
||||||
Transfer lines: Transferir líneas
|
|
||||||
</i18n>
|
</i18n>
|
||||||
|
|
|
@ -365,7 +365,7 @@ const replaceItem = () => {
|
||||||
</QTooltip>
|
</QTooltip>
|
||||||
</QBtn> -->
|
</QBtn> -->
|
||||||
<QBtn color="primary" icon="vn:splitline" @click="setTransferParams()">
|
<QBtn color="primary" icon="vn:splitline" @click="setTransferParams()">
|
||||||
<QTooltip>{{ t('Transfer lines') }}</QTooltip>
|
<QTooltip>{{ t('ticketSale.transferLines') }}</QTooltip>
|
||||||
<TicketTransfer></TicketTransfer
|
<TicketTransfer></TicketTransfer
|
||||||
></QBtn>
|
></QBtn>
|
||||||
<QBtn color="primary" @click="showProposalDialog = true">
|
<QBtn color="primary" @click="showProposalDialog = true">
|
||||||
|
|
|
@ -2,29 +2,16 @@
|
||||||
import { computed, ref, reactive } from 'vue';
|
import { computed, ref, reactive } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useStateStore } from 'stores/useStateStore';
|
import { useStateStore } from 'stores/useStateStore';
|
||||||
// import VnPaginate from 'components/ui/VnPaginate.vue';
|
|
||||||
// import TicketLackFilter from 'pages/Ticket/Negative/TicketLackFilter.vue';
|
|
||||||
// import TicketLackDetail from 'pages/Ticket/Negative/TicketLackDetail.vue';
|
|
||||||
// import FetchData from 'components/FetchData.vue';
|
|
||||||
import VnTable from 'components/VnTable/VnTable.vue';
|
import VnTable from 'components/VnTable/VnTable.vue';
|
||||||
|
|
||||||
import NegativeOriginDialog from 'pages/Ticket/Negative/components/NegativeOriginDialog.vue';
|
import NegativeOriginDialog from 'pages/Ticket/Negative/components/NegativeOriginDialog.vue';
|
||||||
// import TotalNegativeOriginDialog from 'pages/Ticket/Negative/components/TotalNegativeOriginDialog.vue';
|
|
||||||
// import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
|
|
||||||
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue';
|
||||||
import { onBeforeMount } from 'vue';
|
import { onBeforeMount } from 'vue';
|
||||||
import { dashIfEmpty, toDate, toHour } from 'src/filters';
|
import { dashIfEmpty, toDate, toHour } from 'src/filters';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
// import { useUserConfig } from 'src/composables/useUserConfig';
|
|
||||||
import { useState } from 'src/composables/useState';
|
import { useState } from 'src/composables/useState';
|
||||||
import { useRole } from 'src/composables/useRole';
|
import { useRole } from 'src/composables/useRole';
|
||||||
|
import TicketMassiveUpdate from '../Card/TicketMassiveUpdate.vue';
|
||||||
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
|
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
|
||||||
// import TicketLackDetail from './TicketLackDetail.vue';
|
|
||||||
// import { useSummaryDialog } from 'src/composables/useSummaryDialog';
|
|
||||||
|
|
||||||
// const { viewSummary } = useSummaryDialog();
|
|
||||||
|
|
||||||
// const DEFAULT_WAREHOUSE = 'Algemesi';
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
|
|
||||||
const stateStore = useStateStore();
|
const stateStore = useStateStore();
|
||||||
|
@ -184,6 +171,15 @@ onBeforeMount(() => {
|
||||||
<VnSubToolbar class="bg-vn-dark justify-end">
|
<VnSubToolbar class="bg-vn-dark justify-end">
|
||||||
<template #st-actions>
|
<template #st-actions>
|
||||||
<QBtnGroup push style="column-gap: 1px" v-if="!currentRow">
|
<QBtnGroup push style="column-gap: 1px" v-if="!currentRow">
|
||||||
|
<TicketMassiveUpdate
|
||||||
|
label="negative.buttonsUpdate.state"
|
||||||
|
tooltip="negative.detail.modal.changeState.title"
|
||||||
|
>
|
||||||
|
<NegativeOriginDialog
|
||||||
|
ref="originDialogRef"
|
||||||
|
:selected-rows="selectedRows"
|
||||||
|
></NegativeOriginDialog>
|
||||||
|
</TicketMassiveUpdate>
|
||||||
<QBtn
|
<QBtn
|
||||||
color="primary"
|
color="primary"
|
||||||
:disable="!selectedRows?.length"
|
:disable="!selectedRows?.length"
|
||||||
|
@ -217,38 +213,13 @@ onBeforeMount(() => {
|
||||||
:use-model="true"
|
:use-model="true"
|
||||||
:row-click="redirectToCreateView"
|
:row-click="redirectToCreateView"
|
||||||
v-model:selected="selectedRows"
|
v-model:selected="selectedRows"
|
||||||
:q-table="{
|
:table="{
|
||||||
'row-key': 'itemFk',
|
'row-key': 'itemFk',
|
||||||
selection: 'multiple',
|
selection: 'multiple',
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
</VnTable>
|
</VnTable>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div v-if="currentRow" class="list">
|
|
||||||
<TicketLackDetail
|
|
||||||
ref="ticketDetailRef"
|
|
||||||
:item="currentRow"
|
|
||||||
@close="(evt) => (currentRow = null)"
|
|
||||||
></TicketLackDetail>
|
|
||||||
</div> -->
|
|
||||||
|
|
||||||
<!-- <TotalNegativeOriginDialog
|
|
||||||
ref="totalNegativeDialogRef"
|
|
||||||
v-model="showTotalNegativeOriginDialog"
|
|
||||||
@hide="onDialogHide"
|
|
||||||
></TotalNegativeOriginDialog> -->
|
|
||||||
<NegativeOriginDialog
|
|
||||||
ref="originDialogRef"
|
|
||||||
@hide="onDialogHide"
|
|
||||||
v-model="showNegativeOriginDialog"
|
|
||||||
:selected-rows="selectedRows"
|
|
||||||
>
|
|
||||||
</NegativeOriginDialog>
|
|
||||||
<!-- <QDrawer v-model="stateStore.rightDrawer" side="right" :width="256" show-if-above>
|
|
||||||
<QScrollArea class="fit text-grey-8">
|
|
||||||
<TicketLackFilter data-key="NegativeList" />
|
|
||||||
</QScrollArea>
|
|
||||||
</QDrawer> -->
|
|
||||||
</QPage>
|
</QPage>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
|
@ -32,53 +32,51 @@ const update = async () => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<QDialog
|
<!-- <QDialog
|
||||||
ref="dialogRef"
|
ref="dialogRef"
|
||||||
@hide="onDialogHide"
|
@hide="onDialogHide"
|
||||||
v-model="showNegativeOriginDialog"
|
v-model="showNegativeOriginDialog"
|
||||||
full-width
|
full-width
|
||||||
>
|
> -->
|
||||||
<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">
|
||||||
<QAvatar
|
<QAvatar
|
||||||
:icon="icon"
|
:icon="icon"
|
||||||
color="primary"
|
color="primary"
|
||||||
text-color="white"
|
text-color="white"
|
||||||
size="xl"
|
size="xl"
|
||||||
v-if="icon"
|
v-if="icon"
|
||||||
/>
|
/>
|
||||||
<span class="text-h6 text-grey">{{
|
<span class="text-h6 text-grey">{{ t('negative.modalOrigin.title') }}</span>
|
||||||
t('negative.modalOrigin.title')
|
<QSpace />
|
||||||
}}</span>
|
<QBtn icon="close" flat round dense v-close-popup />
|
||||||
<QSpace />
|
</QCardSection>
|
||||||
<QBtn icon="close" flat round dense v-close-popup />
|
<QCardSection class="row items-center justify-center column items-stretch">
|
||||||
</QCardSection>
|
<span>{{ t('negative.modalOrigin.question') }}</span>
|
||||||
<QCardSection class="row items-center justify-center column items-stretch">
|
<QSelect
|
||||||
<span>{{ t('negative.modalOrigin.question') }}</span>
|
:label="t('globals.reason')"
|
||||||
<QSelect
|
v-model="reason"
|
||||||
:label="t('globals.reason')"
|
:options="[
|
||||||
v-model="reason"
|
'FALTAS',
|
||||||
:options="[
|
'CONTENEDOR',
|
||||||
'FALTAS',
|
'ENTRADAS',
|
||||||
'CONTENEDOR',
|
'OVERBOOKING',
|
||||||
'ENTRADAS',
|
'SUSTITUCION',
|
||||||
'OVERBOOKING',
|
]"
|
||||||
'SUSTITUCION',
|
/>
|
||||||
]"
|
</QCardSection>
|
||||||
/>
|
<QCardActions align="right">
|
||||||
</QCardSection>
|
<QBtn :label="t('globals.cancel')" color="primary" flat v-close-popup />
|
||||||
<QCardActions align="right">
|
<QBtn
|
||||||
<QBtn :label="t('globals.cancel')" color="primary" flat v-close-popup />
|
:label="t('globals.confirm')"
|
||||||
<QBtn
|
color="primary"
|
||||||
:label="t('globals.confirm')"
|
:disable="!reason"
|
||||||
color="primary"
|
@click="update()"
|
||||||
:disable="!reason"
|
unelevated
|
||||||
@click="update()"
|
autofocus
|
||||||
unelevated
|
/> </QCardActions
|
||||||
autofocus
|
></QCard>
|
||||||
/> </QCardActions
|
<!-- </QDialog> -->
|
||||||
></QCard>
|
|
||||||
</QDialog>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
|
@ -38,6 +38,7 @@ ticketSale:
|
||||||
shipped: Shipped
|
shipped: Shipped
|
||||||
agency: Agency
|
agency: Agency
|
||||||
address: Address
|
address: Address
|
||||||
|
transferLines: Transfer lines
|
||||||
advanceTickets:
|
advanceTickets:
|
||||||
origin: Origin
|
origin: Origin
|
||||||
destination: Destination
|
destination: Destination
|
||||||
|
|
|
@ -164,6 +164,7 @@ ticketSale:
|
||||||
shipped: F. Envío
|
shipped: F. Envío
|
||||||
agency: Agencia
|
agency: Agencia
|
||||||
address: Consignatario
|
address: Consignatario
|
||||||
|
transferLines: Transferir líneas
|
||||||
ticketComponents:
|
ticketComponents:
|
||||||
item: Artículo
|
item: Artículo
|
||||||
description: Descripción
|
description: Descripción
|
||||||
|
|
Loading…
Reference in New Issue