|  |  | @ -326,7 +326,6 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         findSubInvByInv(invCode) { |  |  |  |         findSubInvByInv(invCode) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.subInvList = []; |  |  |  |             this.subInvList = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |             let query = { |  |  |  |             let query = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 pcode: invCode, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                 filter:3 |  |  |  |                 filter:3 | 
			
		
	
		
		
			
				
					
					|  |  |  |             }; |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |             filterSubByInv(query) |  |  |  |             filterSubByInv(query) | 
			
		
	
	
		
		
			
				
					|  |  | @ -336,6 +335,22 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         findSubInvByInv1(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             let query1 = { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 code:this.formData.invWarehouseCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 filter:2 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             filterSubByInv(query1) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     this.fromSubStorageOptions = response.data || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         findStorageMethod(query) { |  |  |  |         findStorageMethod(query) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (this.formData.locStorageCode == null) |  |  |  |             if (this.formData.locStorageCode == null) | 
			
		
	
	
		
		
			
				
					|  |  | @ -351,9 +366,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         findSubStorageMethod() { |  |  |  |         findSubStorageMethod(val) { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId |  |  |  |             this.formData.locStorageCode= this.subInvList.find(item => item.code == this.formData.invWarehouseCode).parentId | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.getBusType(); |  |  |  |             this.formData.invWarehouseCode=val; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |             let cQuery = { |  |  |  |             let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 code: this.formData.invWarehouseCode, |  |  |  |                 code: this.formData.invWarehouseCode, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 filter: 2, |  |  |  |                 filter: 2, | 
			
		
	
	
		
		
			
				
					|  |  | @ -364,6 +379,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }) |  |  |  |                 }) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .catch(() => { |  |  |  |                 .catch(() => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 }); |  |  |  |                 }); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.getBusType(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         findMethod(query) { |  |  |  |         findMethod(query) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.fromOptions = []; |  |  |  |             this.fromOptions = []; | 
			
		
	
	
		
		
			
				
					|  |  | @ -425,6 +441,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.fromCorp = null; |  |  |  |             this.formData.fromCorp = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.fromSubInvCode = null; |  |  |  |             this.formData.fromSubInvCode = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.findMethod(); |  |  |  |             this.findMethod(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             this.findSubInvByInv1(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         getActionItem(action) { |  |  |  |         getActionItem(action) { | 
			
		
	
		
		
			
				
					
					|  |  |  |             for (let i = 0; i < this.busTypes.length; i++) { |  |  |  |             for (let i = 0; i < this.busTypes.length; i++) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |