refactor: add uploadFileList

This commit is contained in:
Net 2024-08-27 12:53:44 +07:00 committed by Methapon Metanipat
parent ae88c19964
commit b36a92c050

View file

@ -12,6 +12,8 @@ import {
DeleteButton,
UndoButton,
} from 'components/button';
import UploadFile from 'src/components/upload-file/UploadFile.vue';
import { uploadFileList } from '../../constant';
const item = defineModel<NonNullable<CustomerCreate['customerBranch']>[number]>(
'customerBranch',
@ -160,10 +162,16 @@ defineProps<{
/>
</q-tab-panel>
<q-tab-panel name="attachment">
<EmployerFormAttachment
<UploadFile
:dropdown-list="uploadFileList"
v-model:file="item.file"
hide-action
/>
<!-- <EmployerFormAttachment
:readonly="readonly"
v-model:attachment="item.file"
/>
/> -->
</q-tab-panel>
</q-tab-panels>
</div>