fix bug โครงสร้าง
This commit is contained in:
parent
daecd9524a
commit
62e7284d5d
6 changed files with 118 additions and 90 deletions
|
|
@ -106,6 +106,7 @@ async function fetchDataTable(id: string, level: number, action: boolean) {
|
|||
: store.historyId;
|
||||
isLoad.value = true;
|
||||
}
|
||||
posMaster.value = [];
|
||||
|
||||
await http
|
||||
.post(config.API.orgPosMasterList, {
|
||||
|
|
@ -113,7 +114,6 @@ async function fetchDataTable(id: string, level: number, action: boolean) {
|
|||
keyword: reqMaster.keyword.trim(),
|
||||
})
|
||||
.then(async (res) => {
|
||||
posMaster.value = [];
|
||||
const dataMain: PosMaster[] = [];
|
||||
totalPage.value = Math.ceil(res.data.result.total / reqMaster.pageSize);
|
||||
res.data.result.data.forEach((e: PosMaster) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue