|  |  |  | @ -21,7 +21,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |         <el-row> | 
			
		
	
		
			
				
					|  |  |  |  |           <el-col :span="18"> | 
			
		
	
		
			
				
					|  |  |  |  |             <el-form-item prop="fromCorp" label="单据编号:"> | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input v-model="formData.billNo" auto-complete="off" | 
			
		
	
		
			
				
					|  |  |  |  |               <el-input v-model="formData.billNo" auto-complete="off"    ref='inputRef' | 
			
		
	
		
			
				
					|  |  |  |  |                         @keypress.enter.native="orderEnterKey($event)" | 
			
		
	
		
			
				
					|  |  |  |  |               ></el-input> | 
			
		
	
		
			
				
					|  |  |  |  |             </el-form-item> | 
			
		
	
	
		
			
				
					|  |  |  | @ -88,7 +88,7 @@ | 
			
		
	
		
			
				
					|  |  |  |  |                 placeholder="请输入UDI码" | 
			
		
	
		
			
				
					|  |  |  |  |                 @focus="getInputFocus($event)" | 
			
		
	
		
			
				
					|  |  |  |  |                 @keypress.enter.native="enterKey($event)" | 
			
		
	
		
			
				
					|  |  |  |  |                 ref='inputRef' | 
			
		
	
		
			
				
					|  |  |  |  |                 ref='inputRef1' | 
			
		
	
		
			
				
					|  |  |  |  |                 style="ime-mode:disabled" | 
			
		
	
		
			
				
					|  |  |  |  |                 type="tel" | 
			
		
	
		
			
				
					|  |  |  |  |                 v-model="udiCode" | 
			
		
	
	
		
			
				
					|  |  |  | @ -216,8 +216,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |       enterCodeWeb(tQuery).then((response) => { | 
			
		
	
		
			
				
					|  |  |  |  |         if (response.code === 20000) { | 
			
		
	
		
			
				
					|  |  |  |  |           this.$refs.inputRef.focus(); | 
			
		
	
		
			
				
					|  |  |  |  |           this.$refs.inputRef.select(); | 
			
		
	
		
			
				
					|  |  |  |  |           this.$refs.inputRef1.focus(); | 
			
		
	
		
			
				
					|  |  |  |  |           this.$refs.inputRef1.select(); | 
			
		
	
		
			
				
					|  |  |  |  |           this.udiCode = response.data.code; | 
			
		
	
		
			
				
					|  |  |  |  |           this.originCode = ''; | 
			
		
	
		
			
				
					|  |  |  |  |           this.addCode(); | 
			
		
	
	
		
			
				
					|  |  |  | @ -253,8 +253,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |               type: 'warning', | 
			
		
	
		
			
				
					|  |  |  |  |               closeOnClickModal: true, | 
			
		
	
		
			
				
					|  |  |  |  |               callback: action => { | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$refs.inputRef.focus(); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$refs.inputRef.select(); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$refs.inputRef1.focus(); | 
			
		
	
		
			
				
					|  |  |  |  |                 this.$refs.inputRef1.select(); | 
			
		
	
		
			
				
					|  |  |  |  |               } | 
			
		
	
		
			
				
					|  |  |  |  |             }); | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
	
		
			
				
					|  |  |  | @ -264,6 +264,7 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |     }, | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |     searchOrder() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |       let query = { | 
			
		
	
		
			
				
					|  |  |  |  |         billNo: this.formData.billNo | 
			
		
	
		
			
				
					|  |  |  |  |       }; | 
			
		
	
	
		
			
				
					|  |  |  | @ -275,7 +276,10 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |             this.formData = response.data.orderEntity; | 
			
		
	
		
			
				
					|  |  |  |  |             this.orderQuery = this.formData; | 
			
		
	
		
			
				
					|  |  |  |  |             this.isEntrust = response.data.entrust; | 
			
		
	
		
			
				
					|  |  |  |  |             this.$refs.inputRef1.focus() | 
			
		
	
		
			
				
					|  |  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |  |             this.formData.billNo = null | 
			
		
	
		
			
				
					|  |  |  |  |             this.$refs.inputRef.focus() | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -323,14 +327,14 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |               this.$message.success("匹配成功!"); | 
			
		
	
		
			
				
					|  |  |  |  |               if (event == null) { | 
			
		
	
		
			
				
					|  |  |  |  |               } else event.target.select(); | 
			
		
	
		
			
				
					|  |  |  |  |               this.$refs.inputRef.select(); | 
			
		
	
		
			
				
					|  |  |  |  |               this.$refs.inputRef1.select(); | 
			
		
	
		
			
				
					|  |  |  |  |             } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |           } else { | 
			
		
	
		
			
				
					|  |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
			
				
					|  |  |  |  |             if (event == null) { | 
			
		
	
		
			
				
					|  |  |  |  |             } else event.target.select(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.$refs.inputRef.select(); | 
			
		
	
		
			
				
					|  |  |  |  |             this.$refs.inputRef1.select(); | 
			
		
	
		
			
				
					|  |  |  |  |           } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | @ -498,6 +502,8 @@ export default { | 
			
		
	
		
			
				
					|  |  |  |  |       } | 
			
		
	
		
			
				
					|  |  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  |  |     inputer.focus(); | 
			
		
	
		
			
				
					|  |  |  |  |     this.$refs.inputRef.focus(); | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   }, | 
			
		
	
		
			
				
					|  |  |  |  |   created() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |