diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 538a20f0..a579e02e 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -134,12 +134,12 @@ const beforeBranch = ref<{ id: string; code: string }>({ const inputSearch = ref(''); const fieldBranch = ref(['all', 'branchHQLabel', 'branchLabel']); -const fieldDisplay = ref([ - 'branchLabelTel', - 'branchLabelAddress', - 'branchLabelType', -]); -const fieldSelected = ref(fieldDisplay.value); +const fieldDisplay = ref< + ('branchLabelAddress' | 'branchLabelTel' | 'branchLabelType')[] +>(['branchLabelTel', 'branchLabelAddress', 'branchLabelType']); +const fieldSelected = ref< + ('branchLabelAddress' | 'branchLabelTel' | 'branchLabelType')[] +>(fieldDisplay.value); const fieldSelectedBranch = ref<{ label: string; value: string;