| 
					
				 | 
			
			
				@@ -80,7 +80,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot="menuLeft" slot-scope="{ size }"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="success" :size="size" style="font-size: 12px;" @click="copyOrder" :disabled="single">复制单据</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          <el-button type="info" :size="size" style="font-size: 12px;" icon="el-icon-printer" @click="exportExcel">导 出</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button type="info" :size="size" style="font-size: 12px;" v-if="saberUserInfo.role_name.indexOf('业务员') == -1" icon="el-icon-printer" @click="exportExcel">导 出</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <el-button type="info" size="small" style="font-size: 12px;" icon="el-icon-download" @click="exportHandle">库 存</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <template slot-scope="scope" slot="menu"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -141,6 +141,7 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        saberUserInfo:{}, // 当前登录人数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       loading: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       configuration: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         multipleChoices: false, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -180,6 +181,8 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   async created() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 获取缓存里的租户号信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.hctenantId = JSON.parse(localStorage.getItem('saber-tenantId')).content 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // 获取当前登录人的基本信息 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      this.saberUserInfo = JSON.parse(localStorage.getItem("saber-userInfo")).content 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     // this.search.businesDate = defaultDate(1); 
			 |