| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -365,7 +365,7 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                fromCorp: "医院",
 | 
					 | 
					 | 
					 | 
					                fromCorp: "医院",
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                fromType: null,
 | 
					 | 
					 | 
					 | 
					                fromType: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                locStorageCode: null,
 | 
					 | 
					 | 
					 | 
					                locStorageCode: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                invWarehouseCode:null,
 | 
					 | 
					 | 
					 | 
					                invWarehouseCode: null,
 | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                actDate: new Date(),
 | 
					 | 
					 | 
					 | 
					                actDate: new Date(),
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                billType: null,
 | 
					 | 
					 | 
					 | 
					                billType: null,
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                preCheck: false,
 | 
					 | 
					 | 
					 | 
					                preCheck: false,
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -455,6 +455,10 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.$message.error('当前仓库不能为空');
 | 
					 | 
					 | 
					 | 
					                this.$message.error('当前仓库不能为空');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return;
 | 
					 | 
					 | 
					 | 
					                return;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            if (this.formData.invWarehouseCode == null || this.formData.invWarehouseCode == '') {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                this.$message.error('当前分库不能为空');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                return;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            let tQuery = Object.assign(JSON.parse(JSON.stringify(this.formData)));
 | 
					 | 
					 | 
					 | 
					            let tQuery = Object.assign(JSON.parse(JSON.stringify(this.formData)));
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            tQuery.orderId = this.idQuery.id;
 | 
					 | 
					 | 
					 | 
					            tQuery.orderId = this.idQuery.id;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            tQuery.actDate = parseTime(this.formData.actDate, '{y}-{m}-{d} {h}:{i}:{s}');
 | 
					 | 
					 | 
					 | 
					            tQuery.actDate = parseTime(this.formData.actDate, '{y}-{m}-{d} {h}:{i}:{s}');
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -580,6 +584,10 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                this.$message.error('当前仓库不能为空');
 | 
					 | 
					 | 
					 | 
					                this.$message.error('当前仓库不能为空');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                return;
 | 
					 | 
					 | 
					 | 
					                return;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            }
 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            if (this.formData.invWarehouseCode == null || this.formData.invWarehouseCode == '') {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                this.$message.error('当前分库不能为空');
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                return;
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					            }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            this.formData.corpOrderId = this.formData.corpOrderId.trim();
 | 
					 | 
					 | 
					 | 
					            this.formData.corpOrderId = this.formData.corpOrderId.trim();
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            if (this.$isBlank(this.formData.corpOrderId)) {
 | 
					 | 
					 | 
					 | 
					            if (this.$isBlank(this.formData.corpOrderId)) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                let date = new Date();
 | 
					 | 
					 | 
					 | 
					                let date = new Date();
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -764,6 +772,9 @@ export default {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					            filterSubByInv(query)
 | 
					 | 
					 | 
					 | 
					            filterSubByInv(query)
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .then((response) => {
 | 
					 | 
					 | 
					 | 
					                .then((response) => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                    this.subInvList = response.data || [];
 | 
					 | 
					 | 
					 | 
					                    this.subInvList = response.data || [];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    if (this.subInvList != null && this.subInvList.length == 1) {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                        this.formData.invWarehouseCode = this.subInvList[0];
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					                    }
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                })
 | 
					 | 
					 | 
					 | 
					                })
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
					 | 
					 | 
					 | 
					                .catch(() => {
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                });
 | 
					 | 
					 | 
					 | 
					                });
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
 
 |