| 
					
				 | 
			
			
				@@ -202,7 +202,6 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (cache) return cache; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // console.log('build'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!this.stageImData) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 this.stageImData = {}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 try { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -423,7 +422,9 @@ module.exports = app => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         async getStagePosData(tid, sid, fields) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             await this.ctx.service.tender.checkTender(tid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            await this.ctx.service.stage.checkStage(sid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (sid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                await this.ctx.service.stage.checkStage(sid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             const posData = await this.ctx.service.pos.getAllDataByCondition({ where: {tid: this.ctx.tender.id }}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (this._checkFieldsExist(fields, posFields.stage)) { 
			 |