fix(03): mode view branch table

This commit is contained in:
puriphatt 2024-07-30 09:45:09 +00:00
parent 2eac88cf70
commit efb31ab582

View file

@ -22,6 +22,7 @@ const inputSearch = ref<string>('');
const branch = defineModel<CustomerBranch[]>('branch');
const currentCustomerName = defineModel<string>('currentCustomerName');
const modeView = defineModel<boolean>('modeView');
const currentCustomerUrlImage = defineModel<string | null>(
'currentCustomerUrlImage',
@ -30,7 +31,6 @@ const currentCustomerUrlImage = defineModel<string | null>(
const currentStatus = ref<Status | 'All'>('All');
const totalBranch = ref(0);
const modeView = ref(false);
const currentPageBranch = ref<number>(1);
const maxPageBranch = ref<number>(1);
const pageSizeBranch = ref<number>(30);
@ -207,7 +207,6 @@ watch([inputSearch, currentStatus], async () => {
option-value="value"
option-label="label"
class="col q-pl-sm"
:class="{ 'offset-md-5': modeView }"
map-options
emit-value
:hide-dropdown-icon="$q.screen.lt.sm"