fix: refs #7301 unnecessary console logs from ItemLastEntries.vue
gitea/salix-front/pipeline/pr-dev Build queued...
Details
gitea/salix-front/pipeline/pr-dev Build queued...
Details
This commit is contained in:
parent
52cacd8c16
commit
8bccb959ed
|
@ -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();
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue