Merge branch 'develop' of https://github.com/Frappet/bma-ehr-frontend into develop

This commit is contained in:
setthawutttty 2025-09-10 11:10:36 +07:00
commit 68227116d0
2 changed files with 1 additions and 0 deletions

View file

@ -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;