From 44294bb46a6e6c71f6f2e996c4baa9cc7ab78f9a Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Wed, 10 Jul 2024 09:56:37 +0200 Subject: [PATCH] feat: salesOrderTable --- src/pages/Monitor/SalesOrdersTable.vue | 128 +++++++++++++------------ 1 file changed, 66 insertions(+), 62 deletions(-) diff --git a/src/pages/Monitor/SalesOrdersTable.vue b/src/pages/Monitor/SalesOrdersTable.vue index bb7da98b6..f0c389aa6 100644 --- a/src/pages/Monitor/SalesOrdersTable.vue +++ b/src/pages/Monitor/SalesOrdersTable.vue @@ -5,7 +5,8 @@ import { useI18n } from 'vue-i18n'; import FetchData from 'components/FetchData.vue'; import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; -import VnPaginate from 'components/ui/VnPaginate.vue'; +import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; +import VnTable from 'components/VnTable/VnTable.vue'; import { toDateFormat, toDateTimeFormat } from 'src/filters/date.js'; import { toCurrency } from 'src/filters'; @@ -51,18 +52,21 @@ const columns = computed(() => [ field: 'dated', align: 'left', sortable: true, + cardVisible: true, }, { label: t('salesOrdersTable.client'), name: 'client', align: 'left', sortable: true, + cardVisible: true, }, { label: t('salesOrdersTable.salesPerson'), name: 'salesPerson', align: 'left', sortable: true, + cardVisible: true, }, ]); @@ -119,78 +123,78 @@ const redirectToOrderSummary = (orderId) => { @on-fetch="(data) => (clientsOptions = data)" /> + - - - + + + + +