refactor: send creatable disabled

This commit is contained in:
Thanaphon Frappet 2024-12-12 11:57:57 +07:00 committed by Methapon2001
parent 3e7aead548
commit af3aa005a3

View file

@ -68,6 +68,7 @@ defineEmits<{
:label="$t('quotation.customer')"
@create="$emit('addCustomer')"
class="col-md-6 col-12"
:creatable-disabled="branchId === undefined"
:creatable="!inputOnly"
simple
required