|  |  | @ -700,6 +700,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             }); |  |  |  |             }); | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         addCode(event) { |  |  |  |         addCode(event) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |          | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.originCode = ""; |  |  |  |             this.originCode = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.sictomText = ""; |  |  |  |             this.sictomText = ""; | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.formData.corpOrderId = this.formData.corpOrderId.trim(); |  |  |  |             this.formData.corpOrderId = this.formData.corpOrderId.trim(); | 
			
		
	
	
		
		
			
				
					|  |  | @ -764,6 +765,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         }, |  |  |  |         }, | 
			
		
	
		
		
			
				
					
					|  |  |  |         addCodeSubmit(tQuery) { |  |  |  |         addCodeSubmit(tQuery) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |            | 
			
		
	
		
		
			
				
					
					|  |  |  |             addOrderWeb(tQuery).then((response) => { |  |  |  |             addOrderWeb(tQuery).then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 if (response.code === 20000) { |  |  |  |                 if (response.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.idQuery.id = response.data.orderId; |  |  |  |                     this.idQuery.id = response.data.orderId; | 
			
		
	
	
		
		
			
				
					|  |  | @ -966,6 +968,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         , |  |  |  |         , | 
			
		
	
		
		
			
				
					
					|  |  |  |         findMethod(query) { |  |  |  |         findMethod(query) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |            | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.fromOptions = []; |  |  |  |             this.fromOptions = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |             let cQuery = { |  |  |  |             let cQuery = { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 key: query, |  |  |  |                 key: query, | 
			
		
	
	
		
		
			
				
					|  |  | @ -977,7 +980,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 this.formData.fromCorpId = this.curAction.defaultUnit; |  |  |  |                 this.formData.fromCorpId = this.curAction.defaultUnit; | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else if (this.curAction.corpType == 2)//客户 |  |  |  |             } else if (this.curAction.corpType == 2)//客户 | 
			
		
	
		
		
			
				
					
					|  |  |  |             { |  |  |  |             { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 cQuery.corpType = 4; |  |  |  |                 cQuery.corpType = 1; | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 cQuery.outType = 2; |  |  |  |                 cQuery.outType = 2; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             } else if (this.curAction.corpType == 0) { |  |  |  |             } else if (this.curAction.corpType == 0) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -987,6 +990,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |             getBasicUnitMaintains(cQuery) |  |  |  |             getBasicUnitMaintains(cQuery) | 
			
		
	
		
		
			
				
					
					|  |  |  |                 .then((response) => { |  |  |  |                 .then((response) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     debugger | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.loading = false; |  |  |  |                     this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     this.fromOptions = response.data.page.list || []; |  |  |  |                     this.fromOptions = response.data.page.list || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |                     if (this.curAction.corpType == 3) { |  |  |  |                     if (this.curAction.corpType == 3) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1095,6 +1099,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         , |  |  |  |         , | 
			
		
	
		
		
			
				
					
					|  |  |  |         actionChange(item) { |  |  |  |         actionChange(item) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |      | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.curAction = this.getActionItem(item); |  |  |  |             this.curAction = this.getActionItem(item); | 
			
		
	
		
		
			
				
					
					|  |  |  |             this.findMethod(); |  |  |  |             this.findMethod(); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -1222,9 +1227,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.code = ''; |  |  |  |         this.formData.code = ''; | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.formData.actDate = new Date(); |  |  |  |         this.formData.actDate = new Date(); | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.codeArray = []; |  |  |  |         this.codeArray = []; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if(this.formData.invWarehouseCode!=null){ |  |  |  |         | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.getBusType(); |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |        } |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         this.getStorage(this.formData.action); |  |  |  |         this.getStorage(this.formData.action); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (this.$isNotBlank(this.idQuery.id)) { |  |  |  |         if (this.$isNotBlank(this.idQuery.id)) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -1267,7 +1270,9 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |             } |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.findSubInvByInv(this.formData.locStorageCode); |  |  |  |         this.findSubInvByInv(this.formData.locStorageCode); | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |         if(this.formData.invWarehouseCode!=null){ | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.getBusType(); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |        } | 
			
		
	
		
		
			
				
					
					|  |  |  |         //查询是否启用多级仓库,判断是否启用部门 |  |  |  |         //查询是否启用多级仓库,判断是否启用部门 | 
			
		
	
		
		
			
				
					
					|  |  |  |         selectSysParamByKey({paramKey: "muti_inv_mode"}).then((res) => { |  |  |  |         selectSysParamByKey({paramKey: "muti_inv_mode"}).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |             if (res.code === 20000) { |  |  |  |             if (res.code === 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |