From 8b55044891bec8bc074a9d175e4ad2ea6a64bc68 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 29 Apr 2024 08:56:35 +0200 Subject: [PATCH 1/4] feat: refs #6336 add ItemDescriptor --- src/pages/Claim/Card/ClaimAction.vue | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/pages/Claim/Card/ClaimAction.vue b/src/pages/Claim/Card/ClaimAction.vue index 13cc211fe..367b5249c 100644 --- a/src/pages/Claim/Card/ClaimAction.vue +++ b/src/pages/Claim/Card/ClaimAction.vue @@ -2,7 +2,7 @@ import { ref, computed, onMounted } from 'vue'; import { useQuasar } from 'quasar'; import { useI18n } from 'vue-i18n'; -import { useRoute, useRouter } from 'vue-router'; +import { useRoute } from 'vue-router'; import axios from 'axios'; import { useStateStore } from 'src/stores/useStateStore'; import { toDate, toPercentage, toCurrency } from 'filters/index'; @@ -10,14 +10,13 @@ import { tMobile } from 'src/composables/tMobile'; import CrudModel from 'src/components/CrudModel.vue'; import FetchData from 'src/components/FetchData.vue'; import VnSelect from 'src/components/common/VnSelect.vue'; -import VnConfirm from 'src/components/ui/VnConfirm.vue'; +import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue'; import TicketDescriptorProxy from 'src/pages/Ticket/Card/TicketDescriptorProxy.vue'; import { useArrayData } from 'composables/useArrayData'; const { t } = useI18n(); const quasar = useQuasar(); const route = useRoute(); -const router = useRouter(); const stateStore = computed(() => useStateStore()); const claim = ref(null); const claimRef = ref(); @@ -41,7 +40,7 @@ const multiplicatorValue = ref(); const columns = computed(() => [ { - name: 'Id', + name: 'id', label: t('Id item'), field: (row) => row.itemFk, }, @@ -292,6 +291,14 @@ async function importToNewRefundTicket() { v-model:selected="selectedRows" :grid="$q.screen.lt.md" > +