fix: get contact number and name

This commit is contained in:
Thanaphon Frappet 2025-08-22 14:03:48 +07:00 committed by Methapon2001
parent e5b2114984
commit 764d9bab3f
2 changed files with 19 additions and 0 deletions

View file

@ -1,4 +1,6 @@
<script setup lang="ts">
import { CustomerBranch } from 'src/stores/customer';
import SelectCustomer from '../shared/select/SelectCustomer.vue';
import SelectBranch from '../shared/select/SelectBranch.vue';
@ -7,6 +9,10 @@ const customerBranchId = defineModel<string>('customerBranchId');
const agentPrice = defineModel<boolean>('agentPrice');
const special = defineModel<boolean>('special');
const customerBranchOption = defineModel<CustomerBranch>(
'customerBranchOption',
);
defineProps<{
outlined?: boolean;
readonly?: boolean;
@ -71,6 +77,7 @@ defineEmits<{
id="about-select-customer-branch-id"
for="about-select-customer-branch-id"
v-model:value="customerBranchId"
v-model:value-option="customerBranchOption"
:label="$t('quotation.customer')"
:creatable-disabled-text="`(${$t('form.error.selectField', {
field: $t('quotation.branchVirtual'),