refactor: handle upload file
This commit is contained in:
parent
6f39d6ac2b
commit
ebc9c3e773
1 changed files with 5 additions and 3 deletions
|
|
@ -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="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue