| 
					
				 | 
			
			
				@@ -620,13 +620,13 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (this._checkFieldsExistReg(fields, 'r[0-9]+_tp')) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                const validRole = this._getStageValidRole(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                this._getStageValidRole(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const allStagePays = await this.ctx.service.stagePay.getAllDataByCondition({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     where: {sid: stage.id, stimes: stage.curTimes} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for (const [i, role] of validRole.entries()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (i < validRole.length - 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                for (const [i, role] of this.stageValidRole.entries()) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (i < this.stageValidRole.length - 1) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         const stagePays = this.ctx.helper._.filter(allStagePays, function (x) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             return x.stimes === stage.curTimes && x.sorder === role.dataOrder; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         }); 
			 |