diff --git a/src/pages/03_customer-management/MainPage.vue b/src/pages/03_customer-management/MainPage.vue index df592675..6e3051d3 100644 --- a/src/pages/03_customer-management/MainPage.vue +++ b/src/pages/03_customer-management/MainPage.vue @@ -642,8 +642,8 @@ const emptyCreateDialog = ref(false); ? customerStats.map((v) => ({ count: v.name === 'CORP' - ? statsCustomerType?.CORP ?? 0 - : statsCustomerType?.PERS ?? 0, + ? (statsCustomerType?.CORP ?? 0) + : (statsCustomerType?.PERS ?? 0), label: v.name === 'CORP' ? 'customerLegalEntity' @@ -969,6 +969,17 @@ const emptyCreateDialog = ref(false); : '' " > + + {{ + (currentPageCustomer - 1) * pageSize + + props.rowIndex + + 1 + }} + + - {{ props.row.customerName || '-' }} + {{ props.row.firstName || '-' }} + {{ props.row.lastName || '-' }} - {{ props.row.customerNameEN || '-' }} + {{ props.row.firstNameEN || '-' }} + {{ props.row.lastNameEN || '-' }} - - - {{ - props.row.customerType === 'CORP' - ? $t('customerLegalEntity') - : $t('customerNaturalPerson') - }} - + + {{ props.row.businessTypePure || '-' }} - - {{ props.row.personName }} + + + {{ props.row.branch?.[0].address || '-' }} - - {{ props.row.branch[0]?.telephoneNo || '-' }} + + + {{ props.row.branch?.[0].workplace || '-' }} - - {{ props.row.branch[0]?.email || '-' }} + + + {{ props.row.branch?.[0].contactName || '-' }} + + + {{ props.row.branch?.[0].telephoneNo || '-' }} + +