|  |  | @ -733,10 +733,11 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       manuOrderQuery: { |  |  |  |       manuOrderQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         recordCode: "", |  |  |  |         recordCode: null, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }, |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       recordCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       manuCodeRelQuery: { |  |  |  |       manuCodeRelQuery: { | 
			
		
	
		
		
			
				
					
					|  |  |  |         manuOrderIdFk: null, |  |  |  |         manuOrderIdFk: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
	
		
		
			
				
					|  |  | @ -801,6 +802,7 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.listCodeRel = null; |  |  |  |       this.listCodeRel = null; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.manuOrderQuery.recordCode = this.list.recordCode |  |  |  |       this.manuOrderQuery.recordCode = this.list.recordCode | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       console.log(this.manuOrderQuery.recordCode); | 
			
		
	
		
		
			
				
					
					|  |  |  |       getTraceManuOrderList(this.manuOrderQuery).then((res) => { |  |  |  |       getTraceManuOrderList(this.manuOrderQuery).then((res) => { | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.loading = false; |  |  |  |         this.loading = false; | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code === 20000) { |  |  |  |         if (res.code === 20000) { | 
			
		
	
	
		
		
			
				
					|  |  | @ -822,14 +824,16 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |     orderTimeOut() { |  |  |  |     orderTimeOut() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       // 执行逻辑代码 |  |  |  |       // 执行逻辑代码 | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.filterQuery.page = 1; |  |  |  |       this.filterQuery.page = 1; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       if((this.list == undefined || this.list.length <= 0)){ | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.getList() |  |  |  |         this.getList() | 
			
		
	
		
		
			
				
					
					|  |  |  |       if(!(this.list == undefined || this.list.length <= 0)){ |  |  |  |         if (this.manuOrderQuery.recordCode != null || this.manuOrderQuery.recordCode != "") { | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         this.manuOrderQuery.recordCode = this.list.recordCode |  |  |  |  | 
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |           this.getManuOrderList() |  |  |  |           this.getManuOrderList() | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |       // 使用递归法定时执行定时器 |  |  |  |       // 使用递归法定时执行定时器 | 
			
		
	
		
		
			
				
					
					|  |  |  |       if(this.list == undefined || this.list.length <= 0){ |  |  |  |       if(this.list == undefined || this.list.length <= 0){ | 
			
		
	
		
		
			
				
					
					|  |  |  |         this.monitorOrder = setTimeout(this.orderTimeOut, 1000); |  |  |  |         this.monitorOrder = setTimeout(this.orderTimeOut, 10000); | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |       } |  |  |  |       } | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |       formaterSourceType(row){ |  |  |  |       formaterSourceType(row){ | 
			
		
	
	
		
		
			
				
					|  |  | @ -991,7 +995,12 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         page: 1, |  |  |  |         page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |         limit: 10, |  |  |  |         limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |       }; |  |  |  |       }; | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.list = null, |  |  |  |       this.manuOrderQuery = { | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         recordCode: null, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           page: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           limit: 10, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       }, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       this.list = "", | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.listOrder = null, |  |  |  |       this.listOrder = null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.listCodeRel = null, |  |  |  |       this.listCodeRel = null, | 
			
		
	
		
		
			
				
					
					|  |  |  |       clearTimeout(this.monitorOrder); |  |  |  |       clearTimeout(this.monitorOrder); | 
			
		
	
	
		
		
			
				
					|  |  | @ -999,8 +1008,13 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |       //this.total = 0 |  |  |  |       //this.total = 0 | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     onSubmit() { |  |  |  |     onSubmit() { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // if(this.list != undefined || this.list.length > 0){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   clearTimeout(this.monitorOrder); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.monitorOrder = "" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // }else { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       //   this.orderTimeOut() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |       // } | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.orderTimeOut() |  |  |  |       this.orderTimeOut() | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |     }, |  |  |  |     }, | 
			
		
	
		
		
			
				
					
					|  |  |  |     getList() { |  |  |  |     getList() { | 
			
		
	
		
		
			
				
					
					|  |  |  |       this.loading = true; |  |  |  |       this.loading = true; | 
			
		
	
	
		
		
			
				
					|  |  | @ -1009,7 +1023,8 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |         if (res.code === 20000) { |  |  |  |         if (res.code === 20000) { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.list = res.data || []; |  |  |  |           this.list = res.data || []; | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.total = res.data.total || 0; |  |  |  |           this.total = res.data.total || 0; | 
			
		
	
		
		
			
				
					
					|  |  |  |           console.log(this.list) |  |  |  |           this.recordCode = res.data.recordCode | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           console.log(this.recordCode) | 
			
		
	
		
		
			
				
					
					|  |  |  |         } else { |  |  |  |         } else { | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.$message.error(res.message); |  |  |  |           this.$message.error(res.message); | 
			
		
	
		
		
			
				
					
					|  |  |  |           this.list = []; |  |  |  |           this.list = []; | 
			
		
	
	
		
		
			
				
					|  |  | @ -1025,6 +1040,10 @@ export default { | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   created() { |  |  |  |   created() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     this.getCompanyName() |  |  |  |     this.getCompanyName() | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     if (this.list > 0) { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         clearTimeout(this.monitorOrder); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         this.monitorOrder = "" | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   beforeDestroy() { |  |  |  |   beforeDestroy() { | 
			
		
	
		
		
			
				
					
					|  |  |  |     if (this.monitorOrder) { |  |  |  |     if (this.monitorOrder) { | 
			
		
	
	
		
		
			
				
					|  |  | 
 |