|  | @@ -1323,6 +1323,12 @@ const importXML = (() => {
 | 
	
		
			
				|  |  |              const hasChild = billsData.some(data => data.ParentID === bills.ID);
 | 
	
		
			
				|  |  |              let unitFee = getFee(bills.fees, ['common', 'unitFee']);
 | 
	
		
			
				|  |  |              const totalFee = getFee(bills.fees, ['common', 'totalFee']);
 | 
	
		
			
				|  |  | +            // 如果费率为0、同时合价不为0,则需要清空计算基数和费率(当作数量单价的形式。易达某文件出现了费率为0、有金额且有基数的数据)
 | 
	
		
			
				|  |  | +            // 不这么处理的话,导入后造价计算,此清单金额算出来会是0
 | 
	
		
			
				|  |  | +            if (+bills.feeRate === 0 && +totalFee > 0) {
 | 
	
		
			
				|  |  | +                bills.calcBase = '';
 | 
	
		
			
				|  |  | +                bills.feeRate = null;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              if (!hasChild && !parseFloat(unitFee) && totalFee && parseFloat(totalFee)) {
 | 
	
		
			
				|  |  |                  // 不存工程量
 | 
	
		
			
				|  |  |                  if (!bills.quantity || !parseFloat(bills.quantity)) {
 |