|  |  | @ -631,14 +631,14 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     findFromInvList(val) { |  |  |  |     findFromInvList(val) { | 
			
		
	
		
		
			
				
					
					|  |  |  |       let cQuery = { |  |  |  |       let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |         corpType:  this.formDataVisible.consignee, |  |  |  |         corpType: this.formDataVisible.consignee, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         invCode: this.formData.invCode |  |  |  |         invCode: this.formData.invCode | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       findFromCorp(cQuery) |  |  |  |       findFromCorp(cQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (!isBlank(this.$route.query.busType) && this.formDataVisible.consignee == 2){ |  |  |  |           if (!isBlank(this.$route.query.busType) && this.formDataVisible.consignee == 2) { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |            this.invList = response.data || []; |  |  |  |             this.invList = response.data || []; | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           }else { |  |  |  |           } else { | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.fromInvOptions = response.data || []; |  |  |  |             this.fromInvOptions = response.data || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
	
		
		
			
				
					|  |  | @ -810,7 +810,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (!this.parseString(this.filterQuery.code)) { |  |  |  |         if (!this.parseString(this.filterQuery.code)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.inputRef.focus(); |  |  |  |           this.$refs.inputRef.focus(); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$refs.inputRef.select(); |  |  |  |           this.$refs.inputRef.select(); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error("非法产品编码"); |  |  |  |           this.$message.error("无效追溯码"); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           return; |  |  |  |           return; | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       let tQuery = { |  |  |  |       let tQuery = { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1108,7 +1108,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false |  |  |  |         this.loading = false | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code == 20000) { |  |  |  |         if (res.code == 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.reset() |  |  |  |           this.reset() | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.findCurOrder() |  |  |  |           if (this.formDataVisible.scanType != 1) | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.findCurOrder() | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else if (res.code == 502) { |  |  |  |         } else if (res.code == 502) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$confirm(res.message, '提示', { |  |  |  |           this.$confirm(res.message, '提示', { | 
			
		
	
		
		
			
				
					
					|  |  |  |             confirmButtonText: '确定', |  |  |  |             confirmButtonText: '确定', | 
			
		
	
	
		
		
			
				
					|  |  | @ -1274,7 +1275,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         resultParts.push("层级标识: " + data.udi); |  |  |  |         resultParts.push("层级标识: " + data.udi); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (data.cpmctymc) { |  |  |  |       if (data.cpmctymc) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         resultParts.push( data.productType == 2 ? "药品通用名称" : "产品通用名称: " + data.cpmctymc); |  |  |  |         resultParts.push(data.productType == 2 ? "药品通用名称" : "产品通用名称: " + data.cpmctymc); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (data.batchNo) { |  |  |  |       if (data.batchNo) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         resultParts.push("批次号: " + data.batchNo); |  |  |  |         resultParts.push("批次号: " + data.batchNo); | 
			
		
	
	
		
		
			
				
					|  |  | @ -1288,11 +1289,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (data.serialNo) { |  |  |  |       if (data.serialNo) { | 
			
		
	
		
		
			
				
					
					|  |  |  |         resultParts.push("序列号: " + data.serialNo); |  |  |  |         resultParts.push("序列号: " + data.serialNo); | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       if (data.productType == 2){ |  |  |  |       if (data.productType == 2) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         if (data.bzgg) { |  |  |  |         if (data.bzgg) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           resultParts.push("包装规格: " + data.bzgg); |  |  |  |           resultParts.push("包装规格: " + data.bzgg); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |       }else { |  |  |  |       } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         if (data.ggxh) { |  |  |  |         if (data.ggxh) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           resultParts.push("规格型号: " + data.ggxh); |  |  |  |           resultParts.push("规格型号: " + data.ggxh); | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
	
		
		
			
				
					|  |  | @ -1392,6 +1393,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     clearCode() { |  |  |  |     clearCode() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.originCode = ""; |  |  |  |       this.originCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.formData.code = ""; |  |  |  |       this.formData.code = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.formData.billNo = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.formData.shipper = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.formData.fromCorp = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.scanCode = ""; |  |  |  |       this.scanCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.scanTitle = "扫码结果:"; |  |  |  |       this.scanTitle = "扫码结果:"; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.result = ""; |  |  |  |       this.result = ""; | 
			
		
	
	
		
		
			
				
					|  |  | @ -1443,9 +1447,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       getInvListByUser(query) |  |  |  |       getInvListByUser(query) | 
			
		
	
		
		
			
				
					
					|  |  |  |         .then((response) => { |  |  |  |         .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |           if (!isBlank(this.$route.query.busType) && this.formDataVisible.consignee == 2){ |  |  |  |           if (!isBlank(this.$route.query.busType) && this.formDataVisible.consignee == 2) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.fromInvOptions = response.data || []; |  |  |  |             this.fromInvOptions = response.data || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |           }else { |  |  |  |           } else { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.invList = response.data || [] |  |  |  |             this.invList = response.data || [] | 
			
		
	
		
		
			
				
					
					|  |  |  |           } |  |  |  |           } | 
			
		
	
		
		
			
				
					
					|  |  |  |         }) |  |  |  |         }) | 
			
		
	
	
		
		
			
				
					|  |  | 
 |