| 
					
				 | 
			
			
				@@ -30,7 +30,7 @@ let repositoryGljObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     currentCache: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     parentNodeIds: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     gljList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    allowComponent: [202, 203, 204, 3],//可带组成物类型:混凝土、砂浆、配合比、机械 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    allowComponent: [202, 203, 204, 301],//可带组成物类型:混凝土、砂浆、配合比、机械台班 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     distTypeTree: null,//add 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     setting: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -81,7 +81,7 @@ let repositoryGljObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 && distTypeObj.data.fullName !== '机上人工'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 distTypeTree.comboDatas.push({text: distTypeObj.data.fullName, value: distTypeObj.data.ID}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(distTypeObj.data.fullName !== '材料'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(distTypeObj.data.fullName !== '材料' && distTypeObj.data.fullName !== '机械'){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 distTypeTree.comboDatas.push({text: distTypeObj.data.fullName, value: distTypeObj.data.ID}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -380,6 +380,11 @@ let repositoryGljObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         if(me.currentGlj){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                             rObj.component = me.currentGlj.component; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        if(me.allowComponent.indexOf(rObj.gljType) !== -1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            rObj.basePrice = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        console.log(me.currentGlj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        console.log(rObj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         updateArr.push(rObj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -406,6 +411,7 @@ let repositoryGljObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //update basePrice of ration when editting gljType of glj 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(me.currentEditingGlj.gljType !== rObj.gljType){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 let gljTypeObj = {gljId: me.currentEditingGlj.ID, gljType: rObj.gljType, basePrice: rObj.basePrice}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 updateBasePrcArr.push(gljTypeObj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(me.rationLibs.length > 0){ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -422,7 +428,7 @@ let repositoryGljObj = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if(isCanSav){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 me.addGljObj = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 rObj.component = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                //如果类型为混凝土、砂浆、配合比、机械时,添加时填写的单价清空 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //如果类型为混凝土、砂浆、配合比、机械台班时,添加时填写的单价清空 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(me.allowComponent.indexOf(rObj.gljType) !== -1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     rObj.basePrice = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 |