diff --git a/src/components/ListPanel/counter/CounterReportsEditModal.vue b/src/components/ListPanel/counter/CounterReportsEditModal.vue index 56e24be2e..0ef388bad 100644 --- a/src/components/ListPanel/counter/CounterReportsEditModal.vue +++ b/src/components/ListPanel/counter/CounterReportsEditModal.vue @@ -33,6 +33,10 @@ function getReportParams(formSubmitValues) { for (const [key, value] of Object.entries(formSubmitValues)) { switch (key) { case 'customer_id': + if (parseInt(value, 10) >= 0) { + params[key] = value; + } + break; case 'begin_date': case 'end_date': case 'yop':