fix: แก้เรียงข้อมูล

This commit is contained in:
Net 2024-06-13 15:15:41 +07:00
parent dff6eb190b
commit dfe61694a4

View file

@ -182,7 +182,11 @@ watch(currentPageBranch, async () => {
</div>
</div>
<div class="row q-pa-lg q-col-gutter-xl" style="min-height: 350px">
<div v-for="(br, i) in branch" :key="i" class="col-4">
<div
v-for="(br, i) in branch?.sort((a, b) => a.branchNo - b.branchNo)"
:key="i"
class="col-4"
>
<BranchCardCustomer
:color="customerType"
:badgeField="['status']"