refactor: add required validation to quotation selection and enhance button disable logic in credit and debit note forms
This commit is contained in:
parent
a6a997e55f
commit
ea1c1b71fc
5 changed files with 8 additions and 3 deletions
|
|
@ -987,7 +987,6 @@ onMounted(async () => {
|
|||
/>
|
||||
|
||||
<!-- #TODO add openProductDialog at @add-product-->
|
||||
|
||||
<ProductExpansion
|
||||
v-if="view === null"
|
||||
:readonly
|
||||
|
|
@ -1179,6 +1178,9 @@ onMounted(async () => {
|
|||
|
||||
<SaveButton
|
||||
v-if="!readonly && pageState.mode === 'create'"
|
||||
:disabled="
|
||||
selectedWorkerItem.length === 0 && productService.length === 0
|
||||
"
|
||||
@click="submit"
|
||||
:label="true ? $t('debitNote.label.submit') : $t('general.save')"
|
||||
:icon="
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue