feat: move call Docuware when onMounted #1702

Open
jsegarra wants to merge 3 commits from hotfix_hasDocuware_call into master
1 changed files with 3 additions and 3 deletions
Showing only changes of commit 60aee5469d - Show all commits

View File

@ -27,7 +27,8 @@ const props = defineProps({
});
onMounted(() => {
restoreTicket();
restoreTicket();
hasDocuware();
Outdated
Review

Ante Salix estaba al hacer click para abrir el menu. Pq así podían haberlo enviado a la tablet. Y luego lo volvían a abrir por si querían verlo.

Ponerlo en el onMounted te obliga a que si lo tenias ya abierto, y no tenia salía, a hacer F5

Ante Salix estaba al hacer click para abrir el menu. Pq así podían haberlo enviado a la tablet. Y luego lo volvían a abrir por si querían verlo. Ponerlo en el onMounted te obliga a que si lo tenias ya abierto, y no tenia salía, a hacer F5

Si si, eso he visto, pero la petición no se hacia

Si si, eso he visto, pero la petición no se hacia

Revisando la docu de QMenu, no hay evento de click https://quasar.dev/vue-components/menu/

Revisando la docu de QMenu, no hay evento de click https://quasar.dev/vue-components/menu/
});
watch(
@ -607,7 +608,6 @@ async function ticketToRestore() {
self="top start"
auto-close
bordered
Review

He cambiado click por before-show

He cambiado click por before-show
@click="hasDocuware()"
>
<QList>
<QItem @click="openDeliveryNote('deliveryNote')" v-ripple clickable>
@ -642,7 +642,7 @@ async function ticketToRestore() {
<QItemSection side>
<QIcon name="keyboard_arrow_right" />
</QItemSection>
<QMenu anchor="top end" self="top start" auto-close @click="hasDocuware()">
<QMenu anchor="top end" self="top start" auto-close>
<QList>
<QItem
@click="sendDeliveryNoteConfirmation('deliveryNote')"