6897-entryMigration2 #504

Merged
carlossa merged 18 commits from 6897-entryMigration2 into dev 2024-07-03 10:15:11 +00:00
3 changed files with 66 additions and 59 deletions
Showing only changes of commit b05528ae14 - Show all commits

View File

@ -413,6 +413,7 @@ entry:
landed: Landed
warehouseOut: Warehouse Out
latestBuys:
tableVisibleColumns:
picture: Picture
itemFk: Item ID
packing: Packing

View File

@ -412,9 +412,10 @@ entry:
landed: F. entrega
warehouseOut: Alm. salida
latestBuys:
tableVisibleColumns:
picture: Foto
itemFk: ID Artículo
packing: Packing
itemFk: Id Artículo
packing: packing
grouping: Grouping
quantity: Cantidad
size: Medida

View File

@ -11,7 +11,7 @@ import { useArrayData } from 'composables/useArrayData';
const router = useRouter();
const stateStore = useStateStore();
const { t } = useI18n();
import { toDate } from 'src/filters';
const rowsFetchDataRef = ref(null);
const editTableCellDialogRef = ref(null);
const allColumnNames = ref([]);
@ -222,7 +222,12 @@ const columns = computed(() => [
{
align: 'left',
label: t('entry.latestBuys.tableVisibleColumns.landing'),
name: 'landing'
name: 'landing',
component: 'date',
columnField: {
component: null,
},
format: (row, dashIfEmpty) => dashIfEmpty(toDate(row.landing))
},
]);
@ -277,7 +282,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
url="Buys/latestBuysFilter"
order="id DESC"
:columns="columns"
redirect="buy"
redirect="entry"
default-mode="table"
auto-load
:right-search="false"