fix: สาขาที่ลงทะเบียนไม่ แสดง

This commit is contained in:
Net 2024-07-05 09:34:07 +07:00
parent 1aeb48e9d7
commit 47c6a7dc2d

View file

@ -1800,7 +1800,7 @@ watch([inputSearch, currentStatus], async () => {
"
@dialog="dialogInputCustomerBranchForm = true"
@viewDetail="
(v) => {
async (v) => {
currentBranchId = v[0].id;
statusToggle = v[0].status === 'INACTIVE' ? false : true;
@ -1812,6 +1812,8 @@ watch([inputSearch, currentStatus], async () => {
if (currentCustomer) assignFormData(currentCustomer.id);
await fetchListOfOptionBranch();
infoDrawerBranch = true;
}
"
@ -2697,6 +2699,8 @@ watch([inputSearch, currentStatus], async () => {
separator
:readonly="true"
:type-customer="customerType"
:options-branch="branchOption"
v-model:registered-branch-id="formData.registeredBranchId"
v-model:customer-name="formData.customerName"
v-model:customer-name-en="formData.customerNameEN"
v-model:person-name="formData.personName"