fix: แก้ type fieldSelected
This commit is contained in:
parent
7fd7df5a1b
commit
283ae2d1b0
1 changed files with 6 additions and 6 deletions
|
|
@ -134,12 +134,12 @@ const beforeBranch = ref<{ id: string; code: string }>({
|
||||||
|
|
||||||
const inputSearch = ref<string>('');
|
const inputSearch = ref<string>('');
|
||||||
const fieldBranch = ref(['all', 'branchHQLabel', 'branchLabel']);
|
const fieldBranch = ref(['all', 'branchHQLabel', 'branchLabel']);
|
||||||
const fieldDisplay = ref([
|
const fieldDisplay = ref<
|
||||||
'branchLabelTel',
|
('branchLabelAddress' | 'branchLabelTel' | 'branchLabelType')[]
|
||||||
'branchLabelAddress',
|
>(['branchLabelTel', 'branchLabelAddress', 'branchLabelType']);
|
||||||
'branchLabelType',
|
const fieldSelected = ref<
|
||||||
]);
|
('branchLabelAddress' | 'branchLabelTel' | 'branchLabelType')[]
|
||||||
const fieldSelected = ref<string[]>(fieldDisplay.value);
|
>(fieldDisplay.value);
|
||||||
const fieldSelectedBranch = ref<{
|
const fieldSelectedBranch = ref<{
|
||||||
label: string;
|
label: string;
|
||||||
value: string;
|
value: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue