forked from verdnatura/salix-front
small changes
This commit is contained in:
parent
45cf4498d3
commit
0ba415c0ea
|
@ -377,6 +377,7 @@ const moveTicketsAdvance = async () => {
|
||||||
const params = { tickets: ticketsToMove };
|
const params = { tickets: ticketsToMove };
|
||||||
await axios.post('Tickets/merge', params);
|
await axios.post('Tickets/merge', params);
|
||||||
arrayData.fetch({ append: false });
|
arrayData.fetch({ append: false });
|
||||||
|
selectedTickets.value = [];
|
||||||
if (ticketsToMove.length)
|
if (ticketsToMove.length)
|
||||||
notify(t('advanceTickets.moveTicketSuccess'), 'positive');
|
notify(t('advanceTickets.moveTicketSuccess'), 'positive');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
@ -533,11 +534,19 @@ onMounted(async () => {
|
||||||
>
|
>
|
||||||
<template #header="props">
|
<template #header="props">
|
||||||
<QTr :props="props">
|
<QTr :props="props">
|
||||||
<QTh class="horizontal-separator" colspan="7" translate>
|
<QTh
|
||||||
|
class="horizontal-separator text-uppercase color-vn-label"
|
||||||
|
colspan="7"
|
||||||
|
translate
|
||||||
|
>
|
||||||
{{ t('advanceTickets.origin') }}
|
{{ t('advanceTickets.origin') }}
|
||||||
{{ toDateFormat(userParams.dateToAdvance) }}
|
{{ toDateFormat(userParams.dateToAdvance) }}
|
||||||
</QTh>
|
</QTh>
|
||||||
<QTh class="horizontal-separator" colspan="9" translate>
|
<QTh
|
||||||
|
class="horizontal-separator text-uppercase color-vn-label"
|
||||||
|
colspan="9"
|
||||||
|
translate
|
||||||
|
>
|
||||||
{{ t('advanceTickets.destination') }}
|
{{ t('advanceTickets.destination') }}
|
||||||
{{ toDateFormat(userParams.dateFuture) }}
|
{{ toDateFormat(userParams.dateFuture) }}
|
||||||
</QTh>
|
</QTh>
|
||||||
|
|
Loading…
Reference in New Issue