forked from verdnatura/salix-front
feat: myEntries
This commit is contained in:
parent
68298b9ba6
commit
f2304ab6f0
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue