fix: แก้จำนวนสาขาไม่อัป
This commit is contained in:
parent
bab5f0631f
commit
5a6c020d77
1 changed files with 14 additions and 0 deletions
|
|
@ -420,6 +420,20 @@ async function onSubmit() {
|
||||||
modal.value = false;
|
modal.value = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const _stats = await branchStore.stats();
|
||||||
|
|
||||||
|
if (_stats) {
|
||||||
|
stats.value[0] = {
|
||||||
|
count: _stats.hq,
|
||||||
|
label: 'branchHQLabel',
|
||||||
|
};
|
||||||
|
|
||||||
|
stats.value[1] = {
|
||||||
|
count: _stats.br,
|
||||||
|
label: 'branchLabel',
|
||||||
|
};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function changeTitle(
|
function changeTitle(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue