From b8dea8551d405215301729b66069006664b8a014 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 27 Aug 2024 12:04:33 +0200 Subject: [PATCH] perf: TicketTransferSale --- src/pages/Ticket/Card/TicketSale.vue | 2 +- src/pages/Ticket/Card/TicketTransfer.vue | 29 ++----- src/pages/Ticket/Card/TicketTransferForm.vue | 84 ++++++++++++++++++++ 3 files changed, 90 insertions(+), 25 deletions(-) create mode 100644 src/pages/Ticket/Card/TicketTransferForm.vue diff --git a/src/pages/Ticket/Card/TicketSale.vue b/src/pages/Ticket/Card/TicketSale.vue index f2c5228b4..b269c75d4 100644 --- a/src/pages/Ticket/Card/TicketSale.vue +++ b/src/pages/Ticket/Card/TicketSale.vue @@ -615,7 +615,7 @@ async function save(item) { diff --git a/src/pages/Ticket/Card/TicketTransfer.vue b/src/pages/Ticket/Card/TicketTransfer.vue index 9a22c764c..1944b80f4 100644 --- a/src/pages/Ticket/Card/TicketTransfer.vue +++ b/src/pages/Ticket/Card/TicketTransfer.vue @@ -4,6 +4,7 @@ import { useI18n } from 'vue-i18n'; import { useRouter } from 'vue-router'; import VnInput from 'src/components/common/VnInput.vue'; +import TicketTransferForm from './TicketTransferForm.vue'; import { toDateFormat } from 'src/filters/date.js'; import axios from 'axios'; @@ -135,9 +136,7 @@ onMounted(() => (_transfer.value = $props.transfer)); :columns="destinationTicketColumns" :title="t('Destination ticket')" row-key="id" - :pagination="{ rowsPerPage: 0 }" class="full-width q-mt-md" - :no-data-label="t('globals.noResults')" > + diff --git a/src/pages/Ticket/Card/TicketTransferForm.vue b/src/pages/Ticket/Card/TicketTransferForm.vue new file mode 100644 index 000000000..b5c4a660f --- /dev/null +++ b/src/pages/Ticket/Card/TicketTransferForm.vue @@ -0,0 +1,84 @@ + + + + + +es: + Sales to transfer: LĂ­neas a transferir + Destination ticket: Ticket destinatario + Transfer to ticket: Transferir a ticket + New ticket: Nuevo ticket +