fix bug โครงสร้าง

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-03 16:27:30 +07:00
parent daecd9524a
commit 62e7284d5d
6 changed files with 118 additions and 90 deletions

View file

@ -366,6 +366,10 @@ watch(
if (!modalDialogMMove.value) {
pagination.value.page = 1;
pagination.value.rowsPerPage = reqMaster.value.pageSize;
if (posMaster.value.length === 0) {
props.fetchDataTable?.(reqMaster.value.id, reqMaster.value.type, false);
}
}
}
);
@ -475,7 +479,7 @@ watch(
bordered
:paging="true"
dense
:rows-per-page-options="[10, 25, 50, 100]"
:rows-per-page-options="[1, 10, 25, 50, 100]"
@update:pagination="updatePagination"
class="tableTb"
v-model:pagination="pagination"
@ -682,6 +686,7 @@ watch(
:type="typeMove"
:rowId="rowId"
:mainTree="props.mainTree ? props.mainTree : []"
:fetchDataTable="props.fetchDataTable"
/>
<!-- ประวตำแหน -->