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