| 
					
				 | 
			
			
				@@ -635,6 +635,65 @@ let gljUtil = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       if(!this.isDef(infoPrice)) infoPrice= info[fieldArray[1]];//信息价只有一个价格(含税价/不含税价),则不分计税方式,套用仅有的价格。 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       return parseFloat(infoPrice); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    getPirceInfoDatas: function (projectGLJList, contractor_list, labourCoeDatas, projectProperty, _, scMathUtil) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let datas = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let pgljList = projectGLJList; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let contractorList = contractor_list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let calcOptions=projectProperty.calcOptions; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let decimalObj = projectProperty.decimal;  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let billsDecimal = decimalObj.bills.totalPrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let gljMap = _.indexBy(pgljList, 'id'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        for (let e of contractorList) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let t = { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ID: e.ID, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            projectID: e.projectID, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            is_related: e.is_related, //关联,1关,0不关 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            projectGLJID: e.projectGLJID, //关联工料机ID 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            seq: e.seq, //序号 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            code: e.code, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            name: e.name, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            specs: e.specs, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            unit: e.unit, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type: e.type, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            marketPrice: e.market_price, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            quantity: e.quantity, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            remark: e.remark, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            supply: e.supply, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            riskCoe: e.riskCoe, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            is_evaluate: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            standardPrice: e.standardPrice 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let pglj = gljMap[e.projectGLJID]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            /* 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (e.is_related && pglj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                gljOprObj.setGLJPrice(t, pglj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.vender = pglj.vender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.supply = pglj.supply; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.is_evaluate = pglj.is_evaluate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.quantity = pglj.quantity; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            /*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (e.is_related && pglj) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                let tenderCoe = gljUtil.getTenderPriceCoe(pglj,projectProperty); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                let result = gljUtil.getGLJPrice(pglj, {gljList:pgljList}, calcOptions, labourCoeDatas, decimalObj, false, _, scMathUtil, tenderCoe); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.marketPrice = result.marketPrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.tenderPrice = result.tenderPrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.basePrice =  result.basePrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.adjustPrice = result.adjustPrice; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.marketUnitFee = t.marketPrice;//更新树节点市场单价列的值 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.taxRate = pglj.unit_price.taxRate;//税率 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.vender = pglj.vender; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.supply = pglj.supply; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.quantity = pglj.quantity; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                t.is_evaluate = pglj.is_evaluate; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //*/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            t.totalPrice = scMathUtil.roundForObj(parseFloat(t.quantity) * parseFloat(t.marketPrice), billsDecimal); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            datas.push(t); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return _.sortByAll(datas, 'code'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     getPriceCoeDatas: function (projectGLJList, contractor_list, totalFee, projectProperty,_,scMathUtil) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let datas = []; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let pgljList = projectGLJList ; 
			 |