feat: QPopupProxy updateNegativeOrigin
This commit is contained in:
parent
3979a328e9
commit
a53f4bd957
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue