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
wasteBreakdown: Waste breakdown
itemCreate: New item
log: Log
descriptor:
item: Item
buyer: Buyer

View File

@ -1127,6 +1127,7 @@ item:
tax: 'IVA'
botanical: 'Botánico'
barcode: 'Código de barras'
log: Historial
descriptor:
item: Artículo
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: {
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'),
},
],
},
],