diff --git a/src/pages/Supplier/Card/SupplierConsumption.vue b/src/pages/Supplier/Card/SupplierConsumption.vue index ca6d1557f..be3d4a992 100644 --- a/src/pages/Supplier/Card/SupplierConsumption.vue +++ b/src/pages/Supplier/Card/SupplierConsumption.vue @@ -33,14 +33,12 @@ const arrayData = useArrayData('SupplierConsumption', { const store = arrayData.store; -watch(() => route.query); - onUnmounted(() => state.unset('SupplierConsumption')); const dateRanges = computed(() => { const { from, to } = arrayData.store?.userParams || {}; return { from, to }; }); -console.log('dataRanges', dateRanges); + const reportParams = computed(() => ({ recipientId: Number(route.params.id), ...dateRanges.value, @@ -127,9 +125,6 @@ onMounted(async () => { stateStore.rightDrawer = true; await getSupplierConsumptionData(); }); - -console.log('dateRange From', dateRanges.value.from); -console.log('dateRange value', dateRanges.value);