|  | @@ -242,7 +242,7 @@ let BlockController = {
 | 
	
		
			
				|  |  |              for(let d of blockData.datas){
 | 
	
		
			
				|  |  |                  d.billsItemID = parentID;
 | 
	
		
			
				|  |  |                  let billsQuantity = scMathUtil.roundForObj(parent.data.quantity,getDecimal("quantity",parent));
 | 
	
		
			
				|  |  | -                this.calcRationQuantityAndContain(billsQuantity,d);
 | 
	
		
			
				|  |  | +                this.calcRationQuantityAndContain(billsQuantity,d,parent.data.unit);
 | 
	
		
			
				|  |  |                  //如果粘贴位置不属于分部分项工程,或者不是安装工程,则把安装增加费内容置空
 | 
	
		
			
				|  |  |                  if(!Bills.isFBFX(parent)|| !project.isInstall()){
 | 
	
		
			
				|  |  |                      d.ration_installations = [];
 | 
	
	
		
			
				|  | @@ -552,10 +552,14 @@ let BlockController = {
 | 
	
		
			
				|  |  |              firstSerialNo += 1;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  | -    calcRationQuantityAndContain : function (billsQuantity,ration) {//计算定额工程量和含量
 | 
	
		
			
				|  |  | +    calcRationQuantityAndContain : function (billsQuantity,ration,billsUnit) {//计算定额工程量和含量
 | 
	
		
			
				|  |  |          let EXPString = ration.quantityEXP+"";
 | 
	
		
			
				|  |  |          if(EXPString.indexOf("QDL") != -1){
 | 
	
		
			
				|  |  |              if(EXPString=="QDL"){//定额的工程量是直接通过清单量填进来的;
 | 
	
		
			
				|  |  | +                let  t_unit = ration.unit?ration.unit.replace(/^\d+/,""):"";
 | 
	
		
			
				|  |  | +                if(t_unit!=billsUnit){//如果定额的单位去除前面的数字后不等于清单单位,定额工程量保持不变
 | 
	
		
			
				|  |  | +                    return ;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |                  let times = parseInt(ration.unit);
 | 
	
		
			
				|  |  |                  if(isNaN(times)){
 | 
	
		
			
				|  |  |                      times = 1;
 |