refactor: กดย้อนกลับ

This commit is contained in:
Net 2024-07-09 17:17:08 +07:00
parent 7b89fd7cb6
commit 726ba370ad
2 changed files with 479 additions and 404 deletions

View file

@ -151,7 +151,18 @@ async function calculateStats() {
onMounted(async () => {
utilsStore.currentTitle.title = 'branchManagement';
utilsStore.currentTitle.path = [{ text: 'branchManagementCaption' }];
utilsStore.currentTitle.path = [
{
text: 'branchManagementCaption',
handler: () => {
fieldSelectedBranch.value.value = 'branchHQLabel';
currentHq.value = {
id: '',
code: '',
};
},
},
];
await branchStore.fetchList({ pageSize: 99999 });
await calculateStats();

File diff suppressed because it is too large Load diff