From 4347075d4adc6aa7b04e361cfbe4c0401b697ba1 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Wed, 10 Sep 2025 08:58:23 +0700 Subject: [PATCH] fix: bug total data position --- src/modules/02_organization/components/MainView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/modules/02_organization/components/MainView.vue b/src/modules/02_organization/components/MainView.vue index 97840779a..90eb0bb6e 100644 --- a/src/modules/02_organization/components/MainView.vue +++ b/src/modules/02_organization/components/MainView.vue @@ -117,6 +117,7 @@ async function fetchDataTable(id: string, level: number, action: boolean) { }) .then(async (res) => { const dataMain: PosMaster[] = []; + totalData.value = res.data.result.total; totalPage.value = Math.ceil(res.data.result.total / reqMaster.pageSize); res.data.result.data.forEach((e: PosMaster) => { const p = e.positions;