|  |  | @ -194,6 +194,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.inputRef.focus(); |  |  |  |           this.$refs.inputRef.focus(); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.inputRef.select(); |  |  |  |           this.$refs.inputRef.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.udiCode = response.data; |  |  |  |           this.udiCode = response.data; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           this.originCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.addCode(event); |  |  |  |           this.addCode(event); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code == 502) { |  |  |  |           if (response.code == 502) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -241,7 +242,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     addCode() { |  |  |  |     addCode(event) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       if (this.$isBlank(this.udiCode)) { |  |  |  |       if (this.$isBlank(this.udiCode)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.$message.error("UDI码不能为空!"); |  |  |  |         this.$message.error("UDI码不能为空!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
	
		
		
			
				
					|  |  | @ -250,6 +251,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderDetailEntities: this.detailList, |  |  |  |         orderDetailEntities: this.detailList, | 
			
		
	
		
		
			
				
					
					|  |  |  |         code: this.udiCode, |  |  |  |         code: this.udiCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       acceptAddCode(postQuery) |  |  |  |       acceptAddCode(postQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (response.code == 20000) { |  |  |  |           if (response.code == 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -268,10 +271,16 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else { |  |  |  |             } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |               this.$message.success("匹配成功!"); |  |  |  |               this.$message.success("匹配成功!"); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               if (event == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               } else event.target.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               this.$refs.inputRef.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |           } else { |  |  |  |           } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.$message.error(response.message); |  |  |  |             this.$message.error(response.message); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (event == null) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } else event.target.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.$refs.inputRef.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -289,7 +298,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     checkFinish() { |  |  |  |     checkFinish() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderId: this.orderQuery.billNo, |  |  |  |         orderId: this.orderQuery.billNo, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
	
		
		
			
				
					|  |  | @ -309,6 +317,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     finishAccept(tip) { |  |  |  |     finishAccept(tip) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.$confirm(tip, '提示', { |  |  |  |       this.$confirm(tip, '提示', { | 
			
		
	
		
		
			
				
					
					|  |  |  |         confirmButtonText: '确定', |  |  |  |         confirmButtonText: '确定', | 
			
		
	
	
		
		
			
				
					|  |  | @ -316,11 +325,12 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         type: 'warning' |  |  |  |         type: 'warning' | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).then(() => { |  |  |  |       }).then(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.postAccept(); |  |  |  |         this.postAccept(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |       }).catch(() => { |  |  |  |       }).catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         // this.$message.info('回退失败'); | 
			
		
	
		
		
			
				
					
					|  |  |  |       }); |  |  |  |       }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     postAccept() { |  |  |  |     postAccept() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         orderId: this.orderQuery.billNo, |  |  |  |         orderId: this.orderQuery.billNo, | 
			
		
	
	
		
		
			
				
					|  |  | @ -339,7 +349,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         }); |  |  |  |         }); | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     renewAccept() { |  |  |  |     renewAccept() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let query = { |  |  |  |       let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         billNo: this.orderQuery.billNo, |  |  |  |         billNo: this.orderQuery.billNo, | 
			
		
	
	
		
		
			
				
					|  |  | @ -414,6 +423,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }; |  |  |  |     }; | 
			
		
	
		
		
			
				
					
					|  |  |  |     inputer.focus(); |  |  |  |     inputer.focus(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | 
 |