This commit is contained in:
William Buezas 2023-11-29 16:11:06 -03:00
commit 0d86fce3ea
2 changed files with 6 additions and 5 deletions

View File

@ -74,6 +74,7 @@ function viewSummary(id) {
<CardList2 <CardList2
v-for="row of rows" v-for="row of rows"
:key="row.id" :key="row.id"
:id="row.id"
:title="row.code" :title="row.code"
@click="navigate(row.id)" @click="navigate(row.id)"
> >
@ -93,16 +94,16 @@ function viewSummary(id) {
<QBtn <QBtn
:label="t('components.smartCard.openCard')" :label="t('components.smartCard.openCard')"
@click.stop="navigate(row.id)" @click.stop="navigate(row.id)"
color="primary" color="white"
type="submit" outline
type="reset"
/> />
<QBtn <QBtn
:label="t('components.smartCard.openSummary')" :label="t('components.smartCard.openSummary')"
@click.stop="viewSummary(row.id)" @click.stop="viewSummary(row.id)"
color="primary" color="primary"
flat
style="margin-top: 15px" style="margin-top: 15px"
type="reset" type="submit"
/> />
</template> </template>
</CardList2> </CardList2>

View File

@ -5,7 +5,7 @@ export default {
name: 'Shelving', name: 'Shelving',
meta: { meta: {
title: 'shelving', title: 'shelving',
icon: 'vn:trolley' icon: 'vn:inventory'
}, },
component: RouterView, component: RouterView,
redirect: { name: 'ShelvingMain' }, redirect: { name: 'ShelvingMain' },