refactor: add required validation to quotation selection and enhance button disable logic in credit and debit note forms

This commit is contained in:
puriphatt 2025-02-20 13:46:06 +07:00
parent a6a997e55f
commit ea1c1b71fc
5 changed files with 8 additions and 3 deletions

View file

@ -29,6 +29,7 @@ const quotationId = defineModel<string>('quotationId', {
<section class="col-12 row q-col-gutter-sm">
<SelectQuotation
for="select-quotation"
required
class="col"
v-model:value="quotationId"
:label="$t('general.select', { msg: $t('quotation.title') })"

View file

@ -29,6 +29,7 @@ const quotationId = defineModel<string>('quotationId', {
<section class="col-12 row q-col-gutter-sm">
<SelectQuotation
for="select-quotation"
required
class="col"
v-model:value="quotationId"
:label="$t('general.select', { msg: $t('quotation.title') })"