Waste breakdown
gitea/salix-front/pipeline/pr-dev This commit looks good Details

This commit is contained in:
William Buezas 2024-04-15 09:02:35 -03:00
parent 32382622e4
commit d9d868a6af
3 changed files with 1162 additions and 1146 deletions

View File

@ -1097,6 +1097,7 @@ item:
diary: Diary diary: Diary
tags: Tags tags: Tags
create: Create create: Create
wasteBreakdown: Waste breakdown
descriptor: descriptor:
item: Item item: Item
buyer: Buyer buyer: Buyer

View File

@ -1094,6 +1094,7 @@ item:
diary: Histórico diary: Histórico
tags: Etiquetas tags: Etiquetas
create: Crear create: Crear
wasteBreakdown: Deglose de mermas
descriptor: descriptor:
item: Artículo item: Artículo
buyer: Comprador buyer: Comprador

View File

@ -10,7 +10,7 @@ export default {
component: RouterView, component: RouterView,
redirect: { name: 'ItemMain' }, redirect: { name: 'ItemMain' },
menus: { menus: {
main: ['ItemList'], main: ['ItemList', 'WasteBreakdown'],
card: [], card: [],
}, },
children: [ children: [
@ -37,6 +37,20 @@ export default {
}, },
component: () => import('src/pages/Item/ItemCreate.vue'), component: () => import('src/pages/Item/ItemCreate.vue'),
}, },
{
path: 'waste-breakdown',
name: 'WasteBreakdown',
meta: {
title: 'wasteBreakdown',
icon: 'vn:claims',
},
beforeEnter: (to, from, next) => {
next({ name: 'ItemList' });
window.location.href =
'https://grafana.verdnatura.es/d/TTNXQAxVk';
},
component: () => import('src/pages/Item/ItemCreate.vue'),
},
], ],
}, },
{ {