add traslation the title (#556)
							parent
							
								
									20b9d90f18
								
							
						
					
					
						commit
						ac8dd05cb6
					
				| 
						 | 
				
			
			@ -15,7 +15,8 @@ export default {
 | 
			
		|||
    role: 'Role',
 | 
			
		||||
    organization: 'Organization',
 | 
			
		||||
    warehouse: 'Warehouse',
 | 
			
		||||
    reportViewer: 'Report Viewer'
 | 
			
		||||
    reportViewer: 'Report Viewer',
 | 
			
		||||
    PriceChecking: 'Price checking'
 | 
			
		||||
  },
 | 
			
		||||
  notifications: {
 | 
			
		||||
    // simplex
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,7 +15,8 @@ export default {
 | 
			
		|||
    role: 'Rol',
 | 
			
		||||
    organization: 'Organización',
 | 
			
		||||
    warehouse: 'Almacén',
 | 
			
		||||
    reportViewer: 'Visor de Reportes'
 | 
			
		||||
    reportViewer: 'Visor de Reportes',
 | 
			
		||||
    PriceChecking: 'Consulta del precio'
 | 
			
		||||
  },
 | 
			
		||||
  notifications: {
 | 
			
		||||
    // simplex
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -100,9 +100,15 @@ export default {
 | 
			
		|||
  },
 | 
			
		||||
  computed: {
 | 
			
		||||
    formTitle() {
 | 
			
		||||
      if (this.$route.meta.title === 'PriceChecking') {
 | 
			
		||||
        return this.$t('route.PriceChecking')
 | 
			
		||||
      } else if (this.$route.meta.title === 'ProductInfo') {
 | 
			
		||||
        return this.$t('route.ProductInfo')
 | 
			
		||||
      }
 | 
			
		||||
      return this.formMetadata.name || this.$route.meta.title
 | 
			
		||||
    },
 | 
			
		||||
    fromFileName() {
 | 
			
		||||
      console.log(this.$route)
 | 
			
		||||
      return this.formMetadata.fileName || this.$route.meta.title
 | 
			
		||||
    },
 | 
			
		||||
    getterForm() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue