From 09582ab6a895a7a763dc24812bc30ac7238cb957 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 13 Mar 2024 09:05:23 -0300 Subject: [PATCH 01/22] WIP --- src/i18n/en/index.js | 16 + src/i18n/es/index.js | 16 + src/pages/Item/ItemList.vue | 550 ++++++++++++++++++++++++++++++- src/router/modules/item.js | 4 +- src/stores/useNavigationStore.js | 1 + 5 files changed, 584 insertions(+), 3 deletions(-) diff --git a/src/i18n/en/index.js b/src/i18n/en/index.js index 94d552be3..6c4cc34f3 100644 --- a/src/i18n/en/index.js +++ b/src/i18n/en/index.js @@ -1164,6 +1164,22 @@ export default { warehouseText: 'Calculated on the warehouse of { warehouseName }', itemDiary: 'Item diary', }, + list: { + id: 'Identifier', + grouping: 'Grouping', + description: 'Description', + stems: 'Stems', + category: 'Category', + type: 'Type', + intrastat: 'Intrastat', + size: 'Size', + origin: 'Origin', + userName: 'Buyer', + weightByPiece: 'Weight/Piece', + multiplier: 'Multiplier', + producer: 'Producer', + landed: 'Landed', + }, }, components: { topbar: {}, diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index bcd780f5b..4ad9a1d5c 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -1164,6 +1164,22 @@ export default { warehouseText: 'Calculado sobre el almacén de { warehouseName }', itemDiary: 'Registro de compra-venta', }, + list: { + id: 'Identificador', + grouping: 'Grouping', + description: 'Descripción', + stems: 'Tallos', + category: 'Reino', + type: 'Tipo', + intrastat: 'Intrastat', + size: 'Medida', + origin: 'Origen', + weightByPiece: 'Peso (gramos)/tallo', + userName: 'Comprador', + multiplier: 'Multiplicador', + producer: 'Productor', + landed: 'F. entrega', + }, }, components: { topbar: {}, diff --git a/src/pages/Item/ItemList.vue b/src/pages/Item/ItemList.vue index 49a5dbb64..14549296b 100644 --- a/src/pages/Item/ItemList.vue +++ b/src/pages/Item/ItemList.vue @@ -1 +1,549 @@ - + + + + + +es: + New item: Nuevo artículo + diff --git a/src/router/modules/item.js b/src/router/modules/item.js index d3462e15c..700278617 100644 --- a/src/router/modules/item.js +++ b/src/router/modules/item.js @@ -10,7 +10,7 @@ export default { component: RouterView, redirect: { name: 'ItemMain' }, menus: { - main: [], + main: ['ItemList'], card: [], }, children: [ @@ -18,7 +18,7 @@ export default { path: '', name: 'ItemMain', component: () => import('src/pages/Item/ItemMain.vue'), - redirect: { name: 'Itemlist' }, + redirect: { name: 'ItemList' }, children: [ { path: 'list', diff --git a/src/stores/useNavigationStore.js b/src/stores/useNavigationStore.js index afd3af0c0..f075301f6 100644 --- a/src/stores/useNavigationStore.js +++ b/src/stores/useNavigationStore.js @@ -7,6 +7,7 @@ import routes from 'src/router/modules'; export const useNavigationStore = defineStore('navigationStore', () => { const modules = [ + 'item', 'shelving', 'order', 'customer', From 2f27b8537cacfc8842a8ba9a38e3d329ff17854a Mon Sep 17 00:00:00 2001 From: jcasado Date: Wed, 20 Mar 2024 12:50:47 +0100 Subject: [PATCH 02/22] refactor: #6946 add table and floating button --- src/components/ui/VnRow.vue | 6 +- src/pages/Entry/Card/EntryNotes.vue | 156 ++++++++++++++++++---------- 2 files changed, 105 insertions(+), 57 deletions(-) diff --git a/src/components/ui/VnRow.vue b/src/components/ui/VnRow.vue index f2d2b55de..a2f89ff3f 100644 --- a/src/components/ui/VnRow.vue +++ b/src/components/ui/VnRow.vue @@ -1,17 +1,17 @@