feat: #6514 create supplierDms lilium #258

Merged
alexm merged 4 commits from 6514-gestDocSupplier into dev 2024-03-28 07:33:20 +00:00
5 changed files with 25 additions and 0 deletions

View File

@ -198,9 +198,11 @@ function addDefaultData(data) {
en: en:
contentTypesInfo: Allowed file types {allowedContentTypes} contentTypesInfo: Allowed file types {allowedContentTypes}
EntryDmsDescription: Reference {reference} EntryDmsDescription: Reference {reference}
SupplierDmsDescription: Reference {reference}
es: es:
Generate identifier for original file: Generar identificador para archivo original Generate identifier for original file: Generar identificador para archivo original
contentTypesInfo: Tipos de archivo permitidos {allowedContentTypes} contentTypesInfo: Tipos de archivo permitidos {allowedContentTypes}
EntryDmsDescription: Referencia {reference} EntryDmsDescription: Referencia {reference}
SupplierDmsDescription: Referencia {reference}
</i18n> </i18n>

View File

@ -1035,6 +1035,7 @@ export default {
addresses: 'Addresses', addresses: 'Addresses',
consumption: 'Consumption', consumption: 'Consumption',
agencyTerm: 'Agency agreement', agencyTerm: 'Agency agreement',
dms: 'File management',
}, },
list: { list: {
payMethod: 'Pay method', payMethod: 'Pay method',

View File

@ -1034,6 +1034,7 @@ export default {
addresses: 'Direcciones', addresses: 'Direcciones',
consumption: 'Consumo', consumption: 'Consumo',
agencyTerm: 'Acuerdo agencia', agencyTerm: 'Acuerdo agencia',
dms: 'Gestión documental',
}, },
list: { list: {
payMethod: 'Método de pago', payMethod: 'Método de pago',

View File

@ -0,0 +1,11 @@
<script setup>
import VnDmsList from 'src/components/common/VnDmsList.vue';
</script>
<template>
<VnDmsList
model="SupplierDms"
update-model="SupplierDms"
default-dms-code="supplier"
filter="supplierFk"
/>
</template>

View File

@ -22,6 +22,7 @@ export default {
'SupplierAddresses', 'SupplierAddresses',
'SupplierConsumption', 'SupplierConsumption',
'SupplierAgencyTerm', 'SupplierAgencyTerm',
'SupplierDms',
], ],
}, },
children: [ children: [
@ -161,6 +162,15 @@ export default {
component: () => component: () =>
import('src/pages/Supplier/Card/SupplierAgencyTerm.vue'), import('src/pages/Supplier/Card/SupplierAgencyTerm.vue'),
}, },
{
path: 'dms',
name: 'SupplierDms',
meta: {
title: 'dms',
icon: 'smb_share',
},
component: () => import('src/pages/Supplier/Card/SupplierDms.vue'),
},
{ {
path: 'agency-term/create', path: 'agency-term/create',
name: 'SupplierAgencyTermCreate', name: 'SupplierAgencyTermCreate',