fix: refs #7301 unnecessary console logs from ItemLastEntries.vue
gitea/salix-front/pipeline/pr-dev Build queued... Details

This commit is contained in:
Pablo Natek 2024-12-12 09:31:33 +01:00
parent 52cacd8c16
commit 8bccb959ed
1 changed files with 0 additions and 5 deletions

View File

@ -50,9 +50,7 @@ const where = {
};
if (hideInventory.value) {
console.log('entra');
where.supplierFk = { neq: inventorySupplierFk };
console.log('where: ', where.supplierFk);
}
const arrayData = useArrayData('ItemLastEntries', {
@ -176,8 +174,6 @@ const getDate = (date, type) => {
};
const updateFilter = async () => {
console.log('updateFilter: ');
let filter;
if (!from.value && to.value) filter = { lte: to.value };
else if (from.value && !to.value) filter = { gte: from.value };
@ -188,7 +184,6 @@ const updateFilter = async () => {
userFilter.landed = filter;
if (hideInventory.value) userFilter.supplierFk = { neq: inventorySupplierFk };
else delete userFilter.supplierFk;
console.log('userFilter: ', userFilter);
await fetchItemLastEntries();
};