Hotfix: zones and order filters, ticket transfer #799

Merged
jsegarra merged 6 commits from Hotfix-ZoneOrderFilters into master 2024-10-05 09:02:47 +00:00
1 changed files with 22 additions and 15 deletions
Showing only changes of commit c3c2528342 - Show all commits

View File

@ -17,6 +17,7 @@ import VnUserLink from 'src/components/ui/VnUserLink.vue';
import VnTitle from 'src/components/common/VnTitle.vue'; import VnTitle from 'src/components/common/VnTitle.vue';
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue'; import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import VnSelect from 'src/components/common/VnSelect.vue'; import VnSelect from 'src/components/common/VnSelect.vue';
import { QVirtualScroll } from 'quasar';
const route = useRoute(); const route = useRoute();
const { notify } = useNotify(); const { notify } = useNotify();
@ -229,22 +230,28 @@ async function changeState(value) {
:url="ticketUrl + 'observation'" :url="ticketUrl + 'observation'"
:text="t('ticket.pageTitles.notes')" :text="t('ticket.pageTitles.notes')"
/> />
<VnLv <QVirtualScroll
v-for="note in entity.notes" :items="entity.notes"
:key="note.id" v-slot="{ item, index }"
:label="note.observationType.description" style="max-height: 300px"
:value="note.description" separator
>
<QItem
:key="index"
class="vn-label-value"
style="
display: inline-block;
padding: unset;
min-height: max-content;
"
>
<span class="label" style="margin-right: 4px">
{{ item.observationType.description }}:</span
>
<span>{{ item.description }}</span>
</QItem></QVirtualScroll
> >
<template #value>
<QInput
v-model="note.description"
filled
type="textarea"
class="notes"
readonly
/>
</template>
</VnLv>
</QCard> </QCard>
<QCard class="vn-one"> <QCard class="vn-one">
<VnTitle :text="t('ticket.summary.summaryAmount')" /> <VnTitle :text="t('ticket.summary.summaryAmount')" />