diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 828238215..079fe6508 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -1125,6 +1125,7 @@ item: fixedPrice: Fixed prices 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 afb93a672..64a72ce54 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -1127,6 +1127,7 @@ item: tax: 'IVA' botanical: 'Botánico' barcode: 'Código de barras' + 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 1a079f438..ee5ab5d16 100644 --- a/src/router/modules/item.js +++ b/src/router/modules/item.js @@ -6,6 +6,7 @@ export default { meta: { title: 'items', icon: 'vn:item', + moduleName: 'Item', }, component: RouterView, redirect: { name: 'ItemMain' }, @@ -13,6 +14,7 @@ export default { main: ['ItemList', 'WasteBreakdown', 'ItemFixedPrice', 'ItemRequest'], card: [ 'ItemBasicData', + 'ItemLog', 'ItemDiary', 'ItemTags', 'ItemTax', @@ -101,7 +103,6 @@ export default { }, component: () => import('src/pages/Item/Card/ItemBasicData.vue'), }, - { path: 'tags', name: 'ItemTags', @@ -142,11 +143,20 @@ export default { path: 'diary', name: 'ItemDiary', meta: { - title: 'diary', - icon: 'vn:transaction', + title: 'basicData', + icon: 'vn:settings', }, component: () => import('src/pages/Item/Card/ItemDiary.vue'), }, + { + path: 'log', + name: 'ItemLog', + meta: { + title: 'log', + icon: 'history', + }, + component: () => import('src/pages/Item/Card/ItemLog.vue'), + }, ], }, ],