Item log #323

Merged
jsegarra merged 2 commits from :feature/ItemLog into dev 2024-04-26 06:37:23 +00:00
4 changed files with 22 additions and 3 deletions

View File

@ -1125,6 +1125,7 @@ item:
fixedPrice: Fixed prices fixedPrice: Fixed prices
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

@ -1127,6 +1127,7 @@ item:
tax: 'IVA' tax: 'IVA'
botanical: 'Botánico' botanical: 'Botánico'
barcode: 'Código de barras' barcode: 'Código de barras'
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,6 +6,7 @@ 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' },
@ -13,6 +14,7 @@ export default {
main: ['ItemList', 'WasteBreakdown', 'ItemFixedPrice', 'ItemRequest'], main: ['ItemList', 'WasteBreakdown', 'ItemFixedPrice', 'ItemRequest'],
card: [ card: [
'ItemBasicData', 'ItemBasicData',
'ItemLog',
'ItemDiary', 'ItemDiary',
'ItemTags', 'ItemTags',
'ItemTax', 'ItemTax',
@ -101,7 +103,6 @@ export default {
}, },
component: () => import('src/pages/Item/Card/ItemBasicData.vue'), component: () => import('src/pages/Item/Card/ItemBasicData.vue'),
}, },
{ {
path: 'tags', path: 'tags',
name: 'ItemTags', name: 'ItemTags',
@ -142,11 +143,20 @@ export default {
path: 'diary', path: 'diary',
name: 'ItemDiary', name: 'ItemDiary',
meta: { meta: {
title: 'diary', title: 'basicData',
icon: 'vn:transaction', icon: 'vn:settings',
}, },
component: () => import('src/pages/Item/Card/ItemDiary.vue'), 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'),
},
], ],
}, },
], ],