fix: update order in SupplierConsumption data fetching

This commit is contained in:
Javier Segarra 2025-05-20 09:10:38 +02:00
parent e6a73d7b42
commit 361183357b
1 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,8 @@ const { notify } = useNotify();
const totalRows = ref({});
const arrayData = useArrayData('SupplierConsumption', {
url: 'Suppliers/consumption',
order: ['itemTypeFk', 'itemName', 'itemSize'],
order: ['shipped', 'itemTypeFk', 'itemName', 'itemSize'],
limit: 0,
userFilter: { where: { supplierFk: route.params.id } },
});
const headerColumns = computed(() => [