fix: by ค่าของสาขา
This commit is contained in:
parent
7def527426
commit
cd153aa3e4
1 changed files with 3 additions and 2 deletions
|
|
@ -56,9 +56,10 @@ onMounted(async () => {
|
|||
customerId: prop.customerId,
|
||||
page: 1,
|
||||
pageSize: pageSizeBranch.value,
|
||||
includeCustomer: true,
|
||||
});
|
||||
if (result) {
|
||||
currentCustomerName.value = 'dasd';
|
||||
currentCustomerName.value = result.result[0].customer?.customerName;
|
||||
maxPageBranch.value = Math.ceil(result.total / pageSizeBranch.value);
|
||||
branch.value = result.result;
|
||||
}
|
||||
|
|
@ -192,7 +193,7 @@ watch(currentPageBranch, async () => {
|
|||
telephone: br.telephoneNo,
|
||||
businessTypePure: br.bussinessType,
|
||||
status: 'ดำเนินการอยู่',
|
||||
totalEmployee: 0,
|
||||
totalEmployee: br._count?.employee,
|
||||
}"
|
||||
@view-detail="emit('viewDetail', [br])"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue