From 726699bbc5c884a3a2c3b6955d8f680953a0472c Mon Sep 17 00:00:00 2001 From: wbuezas Date: Wed, 24 Apr 2024 10:38:00 -0300 Subject: [PATCH] Item log --- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Item/Card/ItemLog.vue | 7 +++++++ src/router/modules/item.js | 12 +++++++++++- 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 src/pages/Item/Card/ItemLog.vue diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 3ac3d18a0..c36903e20 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -1119,6 +1119,7 @@ item: tags: Tags wasteBreakdown: Waste breakdown itemCreate: New item + log: Log descriptor: item: Item buyer: Buyer diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 4ecbcdbc0..b20b189e4 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1118,6 +1118,7 @@ item: tags: Etiquetas wasteBreakdown: Deglose de mermas itemCreate: Nuevo artículo + log: Historial descriptor: item: Artículo buyer: Comprador diff --git a/src/pages/Item/Card/ItemLog.vue b/src/pages/Item/Card/ItemLog.vue new file mode 100644 index 000000000..4da8063c5 --- /dev/null +++ b/src/pages/Item/Card/ItemLog.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/router/modules/item.js b/src/router/modules/item.js index 41f3ec92a..aadb114f7 100644 --- a/src/router/modules/item.js +++ b/src/router/modules/item.js @@ -6,12 +6,13 @@ export default { meta: { title: 'items', icon: 'vn:item', + moduleName: 'Item', }, component: RouterView, redirect: { name: 'ItemMain' }, menus: { main: ['ItemList', 'WasteBreakdown'], - card: ['ItemBasicData'], + card: ['ItemBasicData', 'ItemLog'], }, children: [ { @@ -94,6 +95,15 @@ export default { }, component: () => import('src/pages/Item/Card/ItemBasicData.vue'), }, + { + path: 'log', + name: 'ItemLog', + meta: { + title: 'log', + icon: 'history', + }, + component: () => import('src/pages/Item/Card/ItemLog.vue'), + }, ], }, ], -- 2.40.1