feat: use before-show
gitea/salix-front/pipeline/pr-master This commit is unstable
Details
gitea/salix-front/pipeline/pr-master This commit is unstable
Details
This commit is contained in:
parent
60aee5469d
commit
7611573f06
|
@ -27,8 +27,7 @@ const props = defineProps({
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
restoreTicket();
|
restoreTicket();
|
||||||
hasDocuware();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(
|
watch(
|
||||||
|
@ -608,6 +607,7 @@ async function ticketToRestore() {
|
||||||
self="top start"
|
self="top start"
|
||||||
auto-close
|
auto-close
|
||||||
bordered
|
bordered
|
||||||
|
@before-show="hasDocuware()"
|
||||||
>
|
>
|
||||||
<QList>
|
<QList>
|
||||||
<QItem @click="openDeliveryNote('deliveryNote')" v-ripple clickable>
|
<QItem @click="openDeliveryNote('deliveryNote')" v-ripple clickable>
|
||||||
|
@ -642,7 +642,7 @@ async function ticketToRestore() {
|
||||||
<QItemSection side>
|
<QItemSection side>
|
||||||
<QIcon name="keyboard_arrow_right" />
|
<QIcon name="keyboard_arrow_right" />
|
||||||
</QItemSection>
|
</QItemSection>
|
||||||
<QMenu anchor="top end" self="top start" auto-close>
|
<QMenu anchor="top end" self="top start" auto-close @click="hasDocuware()">
|
||||||
<QList>
|
<QList>
|
||||||
<QItem
|
<QItem
|
||||||
@click="sendDeliveryNoteConfirmation('deliveryNote')"
|
@click="sendDeliveryNoteConfirmation('deliveryNote')"
|
||||||
|
|
Loading…
Reference in New Issue