2 Commits c7c1dcca48 ... 154b5192c5

Author SHA1 Message Date
  Sunny Feng 154b5192c5 冲突天 2 years ago
  Sunny Feng b51e3ca618 出票人 2 years ago
2 changed files with 7 additions and 7 deletions
  1. 1 1
      src/components/BillForm/BillForm.vue
  2. 6 6
      src/router/index.js

+ 1 - 1
src/components/BillForm/BillForm.vue

@@ -290,7 +290,7 @@ export default {
   },
   },
   watch:{
   watch:{
     value(val, old) {
     value(val, old) {
-      console.log('BillForm=', val)
+      //console.log('BillForm=', val)
       if(val){
       if(val){
         this.contractDrafts = val
         this.contractDrafts = val
       }
       }

+ 6 - 6
src/router/index.js

@@ -167,9 +167,9 @@ export const asyncRouterMap = [{
 		name: 'Form',
 		name: 'Form',
 		component: () => import('@/views/form/index'),
 		component: () => import('@/views/form/index'),
 		meta: {
 		meta: {
-			title: '出票人列表',
-			icon: 'el-icon-s-claim',
-			roles: ['admin', 'salesman']
+			title: '出票人列表',
+      icon: 'el-icon-s-claim',
+			roles: ['admin', 'salesman','supplier']
 		}
 		}
 	},
 	},
 	{
 	{
@@ -416,7 +416,7 @@ const router = createRouter()
 
 
 // //路由全局前置守卫
 // //路由全局前置守卫
 // router.beforeEach((to, from, next) => {
 // router.beforeEach((to, from, next) => {
-// 	/* 
+// 	/*
 // 	  to from 路由信息对象
 // 	  to from 路由信息对象
 // 	  to 到哪儿去
 // 	  to 到哪儿去
 // 	  from 从哪儿来
 // 	  from 从哪儿来
@@ -427,11 +427,11 @@ const router = createRouter()
 // 	if (token) {
 // 	if (token) {
 // 	  next()
 // 	  next()
 // 	} else {
 // 	} else {
-// 	  //如果没有token  1去登录直接放行 
+// 	  //如果没有token  1去登录直接放行
 // 	  if (to.path === '/login') {
 // 	  if (to.path === '/login') {
 // 		next()
 // 		next()
 // 	  } else {
 // 	  } else {
-// 		// 2不去登录跳到登录 
+// 		// 2不去登录跳到登录
 // 		next('/login')
 // 		next('/login')
 // 	  }
 // 	  }
 // 	}
 // 	}