From ae6c1fd285f4869c0b77dccbeee964f50b7e3e8a Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 4 Oct 2024 13:23:28 +0700 Subject: [PATCH] feat: disable some field --- src/pages/05_quotation/QuotationFormInfo.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/pages/05_quotation/QuotationFormInfo.vue b/src/pages/05_quotation/QuotationFormInfo.vue index 3f132aca..a435fff5 100644 --- a/src/pages/05_quotation/QuotationFormInfo.vue +++ b/src/pages/05_quotation/QuotationFormInfo.vue @@ -112,7 +112,8 @@ watch( for="input-quotation" :label="$t('general.itemNo', { msg: $t('quotation.title') })" :readonly - v-model="quotationNo" + :model-value="!quotationNo ? $t('general.generated') : quotationNo" + disable class="col-12" dense outlined @@ -122,6 +123,7 @@ watch( :label="$t('quotation.actor')" :readonly v-model="actor" + disable class="col-12" dense outlined