fix fetch ช้อมูลรายการออกคำสั่ง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-07-18 16:43:51 +07:00
parent 5fb8c24263
commit f1c056fc8d
31 changed files with 69 additions and 32 deletions

View file

@ -187,6 +187,7 @@ async function getData() {
const data = await res.data.result;
rows.value = data;
rowsData.value = data;
await onSearch();
})
.catch((e) => {
messageError($q, e);
@ -249,7 +250,7 @@ function closeModal() {
filterKeyword2.value = "";
}
function onSearch() {
async function onSearch() {
rows.value = onSearchDataTable(
filterKeyword.value,
rowsData.value,