| 
					
				 | 
			
			
				@@ -1,6 +1,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 /** 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  * Created by CSL on 2017-07-17. 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//for test AAAAAAAAAAAAA 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 let calcRation = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "sectionId" : 76, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     "ID" : 15, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -88,14 +89,19 @@ let rationCalcView = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     showData: function (ration) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         var me = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //me.ration = ration;  // AAAAAAA 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        me.ration = calcRation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        let rationCalc = new RationCalc(null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        me.ration = ration;  // AAAAAAA 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //me.ration = calcRation; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let rationCalc = new RationCalc(projectObj.project); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         rationCalc.calculate(me.ration); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         me.datas = calcTemplate.calcItems;   // AAAAAAAAA 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         sheetCommonObj.showData(me.sheet, me.setting, me.datas); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    clearData: function (){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        var me = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        sheetCommonObj.showData(me.sheet, me.setting,[]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        //sheetCommonObj.cleanSheet(me.sheet, me.setting, -1);  无效 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |