diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 74791a1f..21b3bc20 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -909,7 +909,43 @@ watch(locale, () => { { 'app-text-muted': props.row.status === 'INACTIVE', }" :props="props" + @click=" + () => { + if (props.row.isHeadOffice) { + fieldSelectedBranch.value = ''; + inputSearch = ''; + currentHq = { + id: props.row.id, + code: props.row.code, + }; + beforeBranch = { + id: '', + code: '', + }; + } + } + " >