| 
					
				 | 
			
			
				@@ -8,6 +8,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     remote 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     :remote-method="remoteMethod" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @change = "onChange" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @focus="cancelReadOnly" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @hook:mounted="cancelReadOnly" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    @visible-change="cancelReadOnly" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     style="width: 200px"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <el-option 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       v-for="item in options" 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -102,6 +105,17 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           this.value = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.$emit('materialSelected', this.options.find(item1 => item1.value === item)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      cancelReadOnly (onOff) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.$nextTick(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if (!onOff) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const input = this.$refs.select.$el.querySelector('.el-input__inner') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            const timer = setTimeout(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              input.removeAttribute('readonly') 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              clearTimeout(timer) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }, 200) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   } 
			 |