diff --git a/src/components/03_customer-management/BasicInformation.vue b/src/components/03_customer-management/BasicInformation.vue
index 7bf39fd1..37fb8d9f 100644
--- a/src/components/03_customer-management/BasicInformation.vue
+++ b/src/components/03_customer-management/BasicInformation.vue
@@ -1,8 +1,9 @@
diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue
index 74cb192b..85c60e10 100644
--- a/src/pages/03_customer-management/MainPage.vue
+++ b/src/pages/03_customer-management/MainPage.vue
@@ -2133,7 +2133,8 @@ watch(isMainPage, () => {
round
flat
@click.stop="
- () => {
+ async () => {
+ await fetchListOfOptionBranch();
const { branch, ...payload } = props.row;
currentCustomer = payload;
@@ -2928,19 +2929,14 @@ watch(isMainPage, () => {
"
@viewDetail="
async (v, i) => {
+ await fetchListOfOptionBranch();
currentBranchId = v.id;
-
statusToggle = v.status === 'INACTIVE' ? false : true;
-
currentBranch = {
name: v.name,
code: v.code,
};
-
if (currentCustomer) assignFormData(currentCustomer.id, v, i);
-
- await fetchListOfOptionBranch();
-
infoDrawerBranch = true;
}
"