feat: QPopupProxy updateNegativeOrigin

This commit is contained in:
Javier Segarra 2024-07-22 20:22:32 +02:00
parent 3979a328e9
commit a53f4bd957
1 changed files with 18 additions and 20 deletions

View File

@ -170,32 +170,30 @@ onBeforeMount(() => {
<!-- <FetchData url="Warehouses" @on-fetch="handleWarehouses" auto-load /> --> <!-- <FetchData url="Warehouses" @on-fetch="handleWarehouses" auto-load /> -->
<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 <QBtn
label="negative.buttonsUpdate.state" color="primary"
tooltip="negative.detail.modal.changeState.title" :disable="!selectedRows?.length"
> @click="showNegativeOriginDialog = true"
<NegativeOriginDialog :label="t('negative.negativeAction')"
ref="originDialogRef" >
:selected-rows="selectedRows" <QPopupProxy ref="popupProxyRef" style="max-width: none">
></NegativeOriginDialog> <QCard>
</TicketMassiveUpdate> <NegativeOriginDialog
<QBtn ref="originDialogRef"
color="primary" :selected-rows="selectedRows"
:disable="!selectedRows?.length" /> </QCard
@click="showNegativeOriginDialog = true" ></QPopupProxy>
:label="t('negative.negativeAction')" <QTooltip>{{ t('negative.negativeAction') }}</QTooltip>
> </QBtn>
<QTooltip>{{ t('negative.negativeAction') }}</QTooltip> <!-- <QBtn
</QBtn>
<!-- <QBtn
color="primary" color="primary"
@click="showTotalNegativeOriginDialog = true" @click="showTotalNegativeOriginDialog = true"
:label="t('negative.totalNegative')" :label="t('negative.totalNegative')"
> >
<QTooltip>{{ t('negative.totalNegative') }}</QTooltip> <QTooltip>{{ t('negative.totalNegative') }}</QTooltip>
</QBtn> --> </QBtn> -->
</QBtnGroup> <!-- </QBtnGroup> -->
</template> </template>
</VnSubToolbar> </VnSubToolbar>
<div class="list"> <div class="list">