fix: field name typo

This commit is contained in:
Methapon Metanipat 2024-11-15 11:12:32 +07:00
parent c617349a89
commit c2b3fe68f6

View file

@ -508,7 +508,7 @@ watch(
v-if="branchFieldSelected.includes('businessTypePure')"
class="text-left"
>
{{ useOptionStore().mapOption(props.row.bussinessType) || '-' }}
{{ useOptionStore().mapOption(props.row.businessType) || '-' }}
</q-td>
<q-td
v-if="branchFieldSelected.includes('totalEmployee')"
@ -624,7 +624,7 @@ watch(
: `${props.row.address || ''} ${props.row.subDistrict?.name || ''} ${props.row.district?.name || ''} ${props.row.province?.name || ''}`,
telephone: props.row.telephoneNo,
businessTypePure: useOptionStore().mapOption(
props.row.bussinessType,
props.row.businessType,
),
totalEmployee: props.row._count?.employee,
}"