0
0
Fork 0

feat: myEntries

This commit is contained in:
Javier Segarra 2024-07-01 19:05:59 +02:00
parent 68298b9ba6
commit f2304ab6f0
1 changed files with 2 additions and 9 deletions

View File

@ -8,6 +8,7 @@ import { toDate } from 'src/filters/index';
import RightMenu from 'src/components/common/RightMenu.vue'; import RightMenu from 'src/components/common/RightMenu.vue';
import { useQuasar } from 'quasar'; import { useQuasar } from 'quasar';
import EntryBuysTableDialog from './EntryBuysTableDialog.vue'; import EntryBuysTableDialog from './EntryBuysTableDialog.vue';
import VnTable from 'components/VnTable/VnTable.vue';
const stateStore = useStateStore(); const stateStore = useStateStore();
const { t } = useI18n(); const { t } = useI18n();
@ -43,7 +44,7 @@ const columns = computed(() => [
name: 'landed', name: 'landed',
isTitle: false, isTitle: false,
create: true, create: true,
cardVisible: true, cardVisible: false,
format: ({ landed }) => toDate(landed), format: ({ landed }) => toDate(landed),
}, },
{ {
@ -56,7 +57,6 @@ const columns = computed(() => [
}, },
{ {
align: 'right', align: 'right',
label: '',
name: 'tableActions', name: 'tableActions',
computed, computed,
actions: [ actions: [
@ -77,7 +77,6 @@ const printBuys = (rowId) => {
}, },
}); });
}; };
import VnTable from 'components/VnTable/VnTable.vue';
</script> </script>
<template> <template>
<VnSearchbar <VnSearchbar
@ -100,12 +99,8 @@ import VnTable from 'components/VnTable/VnTable.vue';
:order="['landed DESC', 'id DESC']" :order="['landed DESC', 'id DESC']"
:columns="columns" :columns="columns"
default-mode="card" default-mode="card"
redirect="customer"
auto-load auto-load
:options="[]"
:right-search="false"
> >
<template #top-left></template>
</VnTable> </VnTable>
</div> </div>
</QPage> </QPage>
@ -113,8 +108,6 @@ import VnTable from 'components/VnTable/VnTable.vue';
<i18n> <i18n>
es: es:
Inventory entry: Es inventario
Virtual entry: Es una redada
Search entries: Buscar entradas Search entries: Buscar entradas
You can search by entry reference: Puedes buscar por referencia de la entrada You can search by entry reference: Puedes buscar por referencia de la entrada
</i18n> </i18n>