From 622afca9be3859ef2777b241d2b3c82d5d4034b6 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 10 Sep 2024 15:17:10 +0200 Subject: [PATCH] feat: CustomerSample to VnTable --- src/components/LeftMenuItem.vue | 2 +- src/components/VnTable/VnTable.vue | 6 +- .../Customer/Card/CustomerBillingData.vue | 4 +- src/pages/Customer/Card/CustomerGreuges.vue | 1 - src/pages/Customer/Card/CustomerSamples.vue | 80 ++++++----------- .../components/CustomerAddressCreate.vue | 4 +- .../components/CustomerAddressEdit.vue | 8 +- .../CustomerFileManagementCreate.vue | 12 +-- .../components/CustomerFileManagementEdit.vue | 10 +-- .../components/CustomerSamplesCreate.vue | 90 ++++++++----------- .../components/CustomerSummaryTable.vue | 1 + src/pages/Dashboard/DashboardMain.vue | 2 +- .../Department/Card/DepartmentBasicData.vue | 4 +- 13 files changed, 93 insertions(+), 131 deletions(-) diff --git a/src/components/LeftMenuItem.vue b/src/components/LeftMenuItem.vue index 9fe66e278..2a6de5e2e 100644 --- a/src/components/LeftMenuItem.vue +++ b/src/components/LeftMenuItem.vue @@ -36,7 +36,7 @@ const itemComputed = computed(() => { {{ t(itemComputed.title) }} - {{ 'Ctrl + Alt + ' + item.keyBinding.toUpperCase() }} + {{ 'Ctrl + Alt + ' + item?.keyBinding?.toUpperCase() }} diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 4ba7d0227..964dafabe 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -363,7 +363,7 @@ function handleOnDataSaved(_, res) { - + - {{ createForm.title }} + {{ createForm?.title }} diff --git a/src/pages/Customer/Card/CustomerBillingData.vue b/src/pages/Customer/Card/CustomerBillingData.vue index 290bde909..e375846c9 100644 --- a/src/pages/Customer/Card/CustomerBillingData.vue +++ b/src/pages/Customer/Card/CustomerBillingData.vue @@ -31,8 +31,8 @@ const getBankEntities = (data, formData) => {