forked from verdnatura/salix-front
Add descriptor and submodules to supplier card left menu
This commit is contained in:
parent
59e2e20827
commit
c4c344f07a
|
@ -558,7 +558,7 @@ export default {
|
|||
summary: 'Summary',
|
||||
basicData: 'Basic Data',
|
||||
catalog: 'Catalog',
|
||||
volume: 'Volume'
|
||||
volume: 'Volume',
|
||||
},
|
||||
field: {
|
||||
salesPersonFk: 'Sales Person',
|
||||
|
@ -769,6 +769,15 @@ export default {
|
|||
list: 'List',
|
||||
create: 'Create',
|
||||
summary: 'Summary',
|
||||
basicData: 'Basic Data',
|
||||
fiscalData: 'Fiscal Data',
|
||||
billingData: 'Billing Data',
|
||||
log: 'Log',
|
||||
accounts: 'Accounts',
|
||||
contacts: 'Contacts',
|
||||
addresses: 'Addresses',
|
||||
consumption: 'Consumption',
|
||||
agencyTerm: 'Agency Agreement',
|
||||
},
|
||||
list: {
|
||||
payMethod: 'Pay method',
|
||||
|
|
|
@ -769,6 +769,15 @@ export default {
|
|||
list: 'Listado',
|
||||
create: 'Crear',
|
||||
summary: 'Resumen',
|
||||
basicData: 'Datos básicos',
|
||||
fiscalData: 'Datos fiscales',
|
||||
billingData: 'Forma de pago',
|
||||
log: 'Historial',
|
||||
accounts: 'Cuentas',
|
||||
contacts: 'Contactos',
|
||||
addresses: 'Direcciones',
|
||||
consumption: 'Consumo',
|
||||
agencyTerm: 'Acuerdo agencia',
|
||||
},
|
||||
list: {
|
||||
payMethod: 'Método de pago',
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier accounts</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier addresses</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier agency term</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier basic data</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier billing data</template>
|
|
@ -2,6 +2,8 @@
|
|||
import { useI18n } from 'vue-i18n';
|
||||
import { useStateStore } from 'stores/useStateStore';
|
||||
import VnSearchbar from 'src/components/ui/VnSearchbar.vue';
|
||||
import LeftMenu from 'components/LeftMenu.vue';
|
||||
import SupplierDescriptor from './SupplierDescriptor.vue';
|
||||
|
||||
const stateStore = useStateStore();
|
||||
const { t } = useI18n();
|
||||
|
@ -18,7 +20,9 @@ const { t } = useI18n();
|
|||
</template>
|
||||
<QDrawer v-model="stateStore.leftDrawer" show-if-above :width="256">
|
||||
<QScrollArea class="fit">
|
||||
<!-- Aca iría left menu y descriptor -->
|
||||
<SupplierDescriptor />
|
||||
<QSeparator />
|
||||
<LeftMenu source="card" />
|
||||
</QScrollArea>
|
||||
</QDrawer>
|
||||
<QPageContainer>
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier consumption</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier contacts</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier fiscal data</template>
|
|
@ -0,0 +1 @@
|
|||
<template>Supplier log</template>
|
|
@ -11,7 +11,17 @@ export default {
|
|||
redirect: { name: 'SupplierMain' },
|
||||
menus: {
|
||||
main: ['SupplierList'],
|
||||
card: [],
|
||||
card: [
|
||||
'SupplierBasicData',
|
||||
'SupplierFiscalData',
|
||||
'SupplierBillingData',
|
||||
'SupplierLog',
|
||||
'SupplierAccounts',
|
||||
'SupplierContacts',
|
||||
'SupplierAddresses',
|
||||
'SupplierConsumption',
|
||||
'SupplierAgencyTerm',
|
||||
],
|
||||
},
|
||||
children: [
|
||||
{
|
||||
|
@ -55,6 +65,95 @@ export default {
|
|||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierSummary.vue'),
|
||||
},
|
||||
{
|
||||
path: 'basic-data',
|
||||
name: 'SupplierBasicData',
|
||||
meta: {
|
||||
title: 'basicData',
|
||||
icon: 'vn:settings',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierBasicData.vue'),
|
||||
},
|
||||
{
|
||||
path: 'fiscal-data',
|
||||
name: 'SupplierFiscalData',
|
||||
meta: {
|
||||
title: 'fiscalData',
|
||||
icon: 'vn:dfiscales',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierFiscalData.vue'),
|
||||
},
|
||||
{
|
||||
path: 'billing-data',
|
||||
name: 'SupplierBillingData',
|
||||
meta: {
|
||||
title: 'billingData',
|
||||
icon: 'vn:payment',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierBillingData.vue'),
|
||||
},
|
||||
{
|
||||
path: 'log',
|
||||
name: 'SupplierLog',
|
||||
meta: {
|
||||
title: 'log',
|
||||
icon: 'vn:History',
|
||||
},
|
||||
component: () => import('src/pages/Supplier/Card/SupplierLog.vue'),
|
||||
},
|
||||
{
|
||||
path: 'account',
|
||||
name: 'SupplierAccounts',
|
||||
meta: {
|
||||
title: 'accounts',
|
||||
icon: 'vn:account',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierAccounts.vue'),
|
||||
},
|
||||
{
|
||||
path: 'contact',
|
||||
name: 'SupplierContacts',
|
||||
meta: {
|
||||
title: 'contacts',
|
||||
icon: 'contact_phone',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierContacts.vue'),
|
||||
},
|
||||
{
|
||||
path: 'address',
|
||||
name: 'SupplierAddresses',
|
||||
meta: {
|
||||
title: 'addresses',
|
||||
icon: 'vn:delivery',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierAddresses.vue'),
|
||||
},
|
||||
{
|
||||
path: 'consumption',
|
||||
name: 'SupplierConsumption',
|
||||
meta: {
|
||||
title: 'consumption',
|
||||
icon: 'show_chart',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierConsumption.vue'),
|
||||
},
|
||||
{
|
||||
path: 'agency-term',
|
||||
name: 'SupplierAgencyTerm',
|
||||
meta: {
|
||||
title: 'agencyTerm',
|
||||
icon: 'vn:agency-term',
|
||||
},
|
||||
component: () =>
|
||||
import('src/pages/Supplier/Card/SupplierAgencyTerm.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue