refactor: handle upload file
This commit is contained in:
parent
4fbdbcb2b8
commit
8ae7e88659
1 changed files with 6 additions and 1 deletions
|
|
@ -1040,6 +1040,7 @@ async function getWorkerFromCriteria(
|
|||
/>
|
||||
|
||||
<div class="column surface-0 fullscreen">
|
||||
{{ quotationFormData.quotationStatus }}
|
||||
<div class="color-bar">
|
||||
<div class="orange-segment"></div>
|
||||
<div class="yellow-segment"></div>
|
||||
|
|
@ -1444,7 +1445,11 @@ async function getWorkerFromCriteria(
|
|||
|
||||
<div class="surface-1 q-pa-md full-width">
|
||||
<UploadFileSection
|
||||
:readonly="view !== View.Quotation && view !== View.Invoice"
|
||||
:readonly="
|
||||
(view !== View.Quotation && view !== View.Invoice) ||
|
||||
(quotationFormData.quotationStatus !== 'Issued' &&
|
||||
quotationFormData.quotationStatus !== 'Accepted')
|
||||
"
|
||||
v-model:file-data="attachmentData"
|
||||
:label="
|
||||
$t('general.upload', { msg: $t('general.attachment') })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue