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