feat: updates ItemProposal

This commit is contained in:
Javier Segarra 2024-09-11 23:29:59 +02:00
parent 9ec1c5ff4b
commit ff918b8a1c
2 changed files with 16 additions and 14 deletions

View File

@ -6,6 +6,7 @@ import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import FetchedTags from 'components/ui/FetchedTags.vue'; import FetchedTags from 'components/ui/FetchedTags.vue';
import { useSession } from 'src/composables/useSession'; import { useSession } from 'src/composables/useSession';
import VnLv from 'src/components/ui/VnLv.vue'; import VnLv from 'src/components/ui/VnLv.vue';
import VnImg from 'src/components/ui/VnImg.vue';
import { toCurrency } from 'filters/index'; import { toCurrency } from 'filters/index';
import VnStockValueDisplay from 'src/components/ui/VnStockValueDisplay.vue'; import VnStockValueDisplay from 'src/components/ui/VnStockValueDisplay.vue';
import { useDialogPluginComponent } from 'quasar'; import { useDialogPluginComponent } from 'quasar';
@ -321,24 +322,25 @@ onUnmounted(() => {});
</QTd> </QTd>
</QTr> --> </QTr> -->
</template> </template>
<template #column-longName="{ row, value }"> <template #column-longName="{ row }">
<!-- <QTd align="left" class="text-primary"> --> <!-- <QTd align="left" class="text-primary"> -->
<QTooltip> <QTooltip>
{{ row.id }} {{ row.id }}
</QTooltip> </QTooltip>
<QImg <!-- <QBtn flat color="blue" dense>{{ }}</QBtn> -->
:src="`/api/Images/catalog/50x50/${row.id}/download?access_token=${token}`" <p class="link">{{ row.longName }}</p>
<ItemDescriptorProxy :id="row.id" />
<div style="display: flex">
<VnImg
:id="row.id"
spinner-color="primary" spinner-color="primary"
:ratio="1" :ratio="1"
height="50px" height="50px"
width="50px" width="50px"
class="image remove-bg" class="image remove-bg"
:alt="'asdads'"
/> />
<QBtn flat color="blue" dense>{{ value }}</QBtn> <FetchedTags :item="row" />
</div>
<ItemDescriptorProxy :id="row.id" />
<FetchedTags :item="row" :max-length="5" />
<!-- </QTd> --> <!-- </QTd> -->
</template> </template>
<template #column-status="{ value }"> <template #column-status="{ value }">

View File

@ -244,7 +244,7 @@ const replaceItem = () => {
{{ item.longName }} {{ item.longName }}
<ItemDescriptorProxy :id="entityId" /> <ItemDescriptorProxy :id="entityId" />
</QBtn> </QBtn>
<FetchedTags class="q-ml-md" :item="item" :max-length="5" /> <FetchedTags class="q-ml-md" :item="item" />
</div> </div>
<!-- {{ rows }} --> <!-- {{ rows }} -->
<!-- </template> <!-- </template>