|  |  | @ -543,7 +543,20 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error('未添加条码'); |  |  |  |                 this.$message.error('未添加条码'); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return; |  |  |  |                 return; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (this.formData.action == null || this.formData.action == '') { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.$message.error('未选择扫码单据类型'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             debugger | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (this.formData.fromCorp == null || this.formData.fromCorp == '') { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.$message.error('往来信息不能为空'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             if (this.formData.invWarehouseCode == null || this.formData.invWarehouseCode == '') { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.$message.error('当前分库不能为空'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             let tQuery = { |  |  |  |             let tQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 orderId: this.idQuery.id, |  |  |  |                 orderId: this.idQuery.id, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 locStorageCode: this.formData.locStorageCode, |  |  |  |                 locStorageCode: this.formData.locStorageCode, | 
			
		
	
	
		
		
			
				
					|  |  | @ -576,7 +589,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error('未选择扫码单据类型'); |  |  |  |                 this.$message.error('未选择扫码单据类型'); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 return |  |  |  |                 return | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             if (this.formData.fromCorp == null || this.formData.fromCorp == '') { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.$message.error('往来信息不能为空'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.formData.invWarehouseCode == null || this.formData.invWarehouseCode == '') { |  |  |  |             if (this.formData.invWarehouseCode == null || this.formData.invWarehouseCode == '') { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.$message.error('当前分库不能为空'); |  |  |  |                 this.$message.error('当前分库不能为空'); | 
			
		
	
	
		
		
			
				
					|  |  | @ -697,7 +713,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     return; |  |  |  |                     return; | 
			
		
	
		
		
			
				
					
					|  |  |  |                 } |  |  |  |                 } | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |             if (this.formData.fromCorp == null || this.formData.fromCorp == '') { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 this.$message.error('往来信息不能为空'); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 return | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.$isBlank(this.formData.corpOrderId)) { |  |  |  |             if (this.$isBlank(this.formData.corpOrderId)) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 let date = new Date(); |  |  |  |                 let date = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.formData.corpOrderId = parseTime(date, '{y}{m}{d}{h}{i}{s}') + Math.ceil(Math.random() * 89 + 10); |  |  |  |                 this.formData.corpOrderId = parseTime(date, '{y}{m}{d}{h}{i}{s}') + Math.ceil(Math.random() * 89 + 10); | 
			
		
	
	
		
		
			
				
					|  |  | @ -866,6 +885,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.query.orderId = this.idQuery.id; |  |  |  |             this.query.orderId = this.idQuery.id; | 
			
		
	
		
		
			
				
					
					|  |  |  |             errorCodeList(this.query) //查找该单号下的所有条码 |  |  |  |             errorCodeList(this.query) //查找该单号下的所有条码 | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .then((response) => { |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     debugger | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.codeArray = response.data.list || []; |  |  |  |                     this.codeArray = response.data.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.total = response.data.total || 0; |  |  |  |                     this.total = response.data.total || 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     for (let i = 0; i < this.codeArray.length; i++) { |  |  |  |                     for (let i = 0; i < this.codeArray.length; i++) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1186,6 +1206,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     created() { |  |  |  |     created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         debugger | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.code = ''; |  |  |  |         this.formData.code = ''; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.actDate = new Date(); |  |  |  |         this.formData.actDate = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeArray = []; |  |  |  |         this.codeArray = []; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |