| 
					
				 | 
			
			
				@@ -213,19 +213,19 @@ let projectGljObject={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             gljId = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         projectObj.project.projectGLJ.getRatioData(gljId,function (data) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(gljId !== projectObj.project.projectGLJ.getRatioId){//两个id不一致说明不是最新的请求,不用往下执行。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            let ratioList =[]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            for(let glj of data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ratioList.push(me.getMixRatioSheetData(glj)) ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ratioList = gljUtil.sortRationGLJ(ratioList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            me.mixRatioData = ratioList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            me.mixRatioSheet.setRowCount(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            sheetCommonObj.showData(me.mixRatioSheet, me.mixRatioSetting,me.mixRatioData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            me.mixRatioSheet.setRowCount(me.mixRatioData.length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            me.mixRatioSheet.setSelection(oldSel.row==-1?0:oldSel.row,oldSel.col,oldSel.rowCount,oldSel.colCount); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          if(gljId !== projectObj.project.projectGLJ.getRatioId){//两个id不一致说明不是最新的请求,不用往下执行。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let ratioList =[]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          for(let glj of data){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              ratioList.push(me.getMixRatioSheetData(glj)) ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          ratioList = gljUtil.sortRationGLJ(ratioList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.mixRatioData = ratioList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.mixRatioSheet.setRowCount(0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          sheetCommonObj.showData(me.mixRatioSheet, me.mixRatioSetting,me.mixRatioData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.mixRatioSheet.setRowCount(me.mixRatioData.length); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.mixRatioSheet.setSelection(oldSel.row==-1?0:oldSel.row,oldSel.col,oldSel.rowCount,oldSel.colCount); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getMixRatioSheetData:function (glj) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -303,10 +303,20 @@ let projectGljObject={ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let me = projectGljObject; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let newSel = args.newSelections[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let oldSel = args.oldSelections?args.oldSelections[0]:{}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        me.projectGljSheet.suspendPaint(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        me.projectGljSheet.suspendEvent(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if(newSel.row != oldSel.row){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-           me.projectGljRowChang(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        me.projectGljSheet.repaint(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let style = gljOprObj.getSelStyle(true,{}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.projectGljSheet.setStyle(newSel.row, -1, style); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let orow = oldSel.row==''||oldSel.row==-1?0:oldSel.row; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          let tstyle = gljOprObj.getSelStyle(false,{},me.projectGljSheetData[orow].bgColour); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.projectGljSheet.setStyle(orow, -1, tstyle); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.projectGljRowChang(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          me.projectGljSheet.repaint(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        me.projectGljSheet.resumeEvent(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        me.projectGljSheet.resumePaint(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     projectGljRowChang:function(row){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let me = projectGljObject; 
			 |