diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 07992f616..95b4b5866 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -314,7 +314,19 @@ function handleSelection({ evt, added, rows: selectedRows }, rows) { show-if-above > - + + + {{ formatFn(tag.value) }} + diff --git a/src/pages/Customer/Card/CustomerCard.vue b/src/pages/Customer/Card/CustomerCard.vue index 139917d05..f46884834 100644 --- a/src/pages/Customer/Card/CustomerCard.vue +++ b/src/pages/Customer/Card/CustomerCard.vue @@ -1,25 +1,12 @@ + diff --git a/src/pages/Customer/Card/CustomerConsumptionFilter.vue b/src/pages/Customer/Card/CustomerConsumptionFilter.vue deleted file mode 100644 index 289b2eb08..000000000 --- a/src/pages/Customer/Card/CustomerConsumptionFilter.vue +++ /dev/null @@ -1,177 +0,0 @@ - - - -en: - params: - item: Item id - buyer: Buyer - type: Type - category: Category - itemId: Item id - buyerId: Buyer - typeId: Type - categoryId: Category - from: From - to: To - campaignId: Campaña - valentinesDay: Valentine's Day - mothersDay: Mother's Day - allSaints: All Saints' Day -es: - params: - item: Id artículo - buyer: Comprador - type: Tipo - category: Categoría - itemId: Id Artículo - buyerId: Comprador - typeId: Tipo - categoryId: Reino - from: Desde - to: Hasta - campaignId: Campaña - valentinesDay: Día de San Valentín - mothersDay: Día de la Madre - allSaints: Día de Todos los Santos - diff --git a/src/pages/Customer/CustomerList.vue b/src/pages/Customer/CustomerList.vue index bd2947cfc..f6458fd64 100644 --- a/src/pages/Customer/CustomerList.vue +++ b/src/pages/Customer/CustomerList.vue @@ -5,18 +5,19 @@ import { useRouter } from 'vue-router'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import { toDate } from 'src/filters'; -import RightMenu from 'src/components/common/RightMenu.vue'; import CustomerSummary from './Card/CustomerSummary.vue'; import CustomerFilter from './CustomerFilter.vue'; import VnTable from 'components/VnTable/VnTable.vue'; import VnLocation from 'src/components/common/VnLocation.vue'; -import VnSearchbar from 'components/ui/VnSearchbar.vue'; import VnLinkPhone from 'src/components/ui/VnLinkPhone.vue'; import VnSelectWorker from 'src/components/common/VnSelectWorker.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const { t } = useI18n(); const router = useRouter(); const tableRef = ref(); +const dataKey = 'CustomerList'; + const columns = computed(() => [ { align: 'left', @@ -398,82 +399,91 @@ function handleLocation(data, location) {