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">
|
<div class="surface-1 q-pa-md full-width">
|
||||||
<UploadFileSection
|
<UploadFileSection
|
||||||
:readonly="
|
:readonly="
|
||||||
(view !== View.Quotation && view !== View.Invoice) ||
|
{
|
||||||
(quotationFormData.quotationStatus !== 'Issued' &&
|
quotation: quotationFormState.mode !== 'edit',
|
||||||
quotationFormData.quotationStatus !== 'Accepted')
|
invoice: false,
|
||||||
|
accepted: true,
|
||||||
|
}[view]
|
||||||
"
|
"
|
||||||
v-model:file-data="attachmentData"
|
v-model:file-data="attachmentData"
|
||||||
:label="
|
:label="
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue