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 /> -->
<VnSubToolbar class="bg-vn-dark justify-end">
<template #st-actions>
<QBtnGroup push style="column-gap: 1px" v-if="!currentRow">
<TicketMassiveUpdate
label="negative.buttonsUpdate.state"
tooltip="negative.detail.modal.changeState.title"
>
<NegativeOriginDialog
ref="originDialogRef"
:selected-rows="selectedRows"
></NegativeOriginDialog>
</TicketMassiveUpdate>
<QBtn
color="primary"
:disable="!selectedRows?.length"
@click="showNegativeOriginDialog = true"
:label="t('negative.negativeAction')"
>
<QTooltip>{{ t('negative.negativeAction') }}</QTooltip>
</QBtn>
<!-- <QBtn
<!-- <QBtnGroup push style="column-gap: 1px" v-if="!currentRow"> -->
<QBtn
color="primary"
:disable="!selectedRows?.length"
@click="showNegativeOriginDialog = true"
:label="t('negative.negativeAction')"
>
<QPopupProxy ref="popupProxyRef" style="max-width: none">
<QCard>
<NegativeOriginDialog
ref="originDialogRef"
:selected-rows="selectedRows"
/> </QCard
></QPopupProxy>
<QTooltip>{{ t('negative.negativeAction') }}</QTooltip>
</QBtn>
<!-- <QBtn
color="primary"
@click="showTotalNegativeOriginDialog = true"
:label="t('negative.totalNegative')"
>
<QTooltip>{{ t('negative.totalNegative') }}</QTooltip>
</QBtn> -->
</QBtnGroup>
<!-- </QBtnGroup> -->
</template>
</VnSubToolbar>
<div class="list">