0
0
Fork 0
This commit is contained in:
William Buezas 2024-04-24 10:38:00 -03:00
parent 036dcaadd2
commit 726699bbc5
4 changed files with 20 additions and 1 deletions

View File

@ -1119,6 +1119,7 @@ item:
tags: Tags tags: Tags
wasteBreakdown: Waste breakdown wasteBreakdown: Waste breakdown
itemCreate: New item itemCreate: New item
log: Log
descriptor: descriptor:
item: Item item: Item
buyer: Buyer buyer: Buyer

View File

@ -1118,6 +1118,7 @@ item:
tags: Etiquetas tags: Etiquetas
wasteBreakdown: Deglose de mermas wasteBreakdown: Deglose de mermas
itemCreate: Nuevo artículo itemCreate: Nuevo artículo
log: Historial
descriptor: descriptor:
item: Artículo item: Artículo
buyer: Comprador buyer: Comprador

View File

@ -0,0 +1,7 @@
<script setup>
import VnLog from 'src/components/common/VnLog.vue';
</script>
<template>
<VnLog model="Item" url="/ItemLogs"></VnLog>
</template>

View File

@ -6,12 +6,13 @@ export default {
meta: { meta: {
title: 'items', title: 'items',
icon: 'vn:item', icon: 'vn:item',
moduleName: 'Item',
}, },
component: RouterView, component: RouterView,
redirect: { name: 'ItemMain' }, redirect: { name: 'ItemMain' },
menus: { menus: {
main: ['ItemList', 'WasteBreakdown'], main: ['ItemList', 'WasteBreakdown'],
card: ['ItemBasicData'], card: ['ItemBasicData', 'ItemLog'],
}, },
children: [ children: [
{ {
@ -94,6 +95,15 @@ export default {
}, },
component: () => import('src/pages/Item/Card/ItemBasicData.vue'), 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'),
},
], ],
}, },
], ],