|  | @@ -615,6 +615,7 @@ export default {
 | 
	
		
			
				|  |  |        storageNameList: [],
 | 
	
		
			
				|  |  |        surplusRouteQuantityOption: [],
 | 
	
		
			
				|  |  |        saveLoading: false,
 | 
	
		
			
				|  |  | +      userInfo:null,
 | 
	
		
			
				|  |  |        disabled: false,
 | 
	
		
			
				|  |  |        form: {
 | 
	
		
			
				|  |  |          corpId: null,
 | 
	
	
		
			
				|  | @@ -1428,6 +1429,7 @@ export default {
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        this.routerTag = window.location.hash.slice(1);
 | 
	
		
			
				|  |  |      })
 | 
	
		
			
				|  |  | +    this.userInfo = localStorage.getItem('saber-userInfo') && JSON.parse(localStorage.getItem('saber-userInfo')).content.role_name.split(',').includes('admin');
 | 
	
		
			
				|  |  |    },
 | 
	
		
			
				|  |  |    filters: {
 | 
	
		
			
				|  |  |      IntegerFormat(num) {
 | 
	
	
		
			
				|  | @@ -1465,6 +1467,16 @@ export default {
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |      let roleName = 'admin'
 | 
	
		
			
				|  |  |      this.judgeNew()
 | 
	
		
			
				|  |  | +    //是管理员才能看返利价格
 | 
	
		
			
				|  |  | +    if (!this.roleName.includes('admin')) {
 | 
	
		
			
				|  |  | +      console.log('45654645');
 | 
	
		
			
				|  |  | +      this.customerContact.column.forEach(item => {
 | 
	
		
			
				|  |  | +        if (item.prop == 'purchaseRebatePrice') {
 | 
	
		
			
				|  |  | +          item.hide = true;
 | 
	
		
			
				|  |  | +          item.showColumn = false;
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +      })
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  |      if (this.roleName == 'salesman') {
 | 
	
		
			
				|  |  |        this.customerContact.column.forEach(item => {
 | 
	
		
			
				|  |  |          if (item.prop == 'purchaseAmount') {
 |