refactor: handle upload file

This commit is contained in:
Thanaphon Frappet 2024-11-27 11:20:55 +07:00
parent 6f39d6ac2b
commit ebc9c3e773

View file

@ -1467,9 +1467,11 @@ async function getWorkerFromCriteria(
<div class="surface-1 q-pa-md full-width">
<UploadFileSection
:readonly="
(view !== View.Quotation && view !== View.Invoice) ||
(quotationFormData.quotationStatus !== 'Issued' &&
quotationFormData.quotationStatus !== 'Accepted')
{
quotation: quotationFormState.mode !== 'edit',
invoice: false,
accepted: true,
}[view]
"
v-model:file-data="attachmentData"
:label="