|  | @@ -36,6 +36,7 @@ const importBills = (function(){
 | 
	
		
			
				|  |  |          unit: ['单位', '计量单位'],
 | 
	
		
			
				|  |  |          quantity: ['工程量', '项目工程量'],
 | 
	
		
			
				|  |  |          money: ['金额'],
 | 
	
		
			
				|  |  | +        unitPrice: ['综合单价', '单价'],
 | 
	
		
			
				|  |  |          quantityDetail: ['工程量明细'],
 | 
	
		
			
				|  |  |          feeDetail: ['费用明细'],
 | 
	
		
			
				|  |  |          summation: ['合计', '本页小计'],
 | 
	
	
		
			
				|  | @@ -184,6 +185,8 @@ const importBills = (function(){
 | 
	
		
			
				|  |  |              //金额
 | 
	
		
			
				|  |  |              else if(colMapping.money === undefined && _deESC(cellData).includes(colText.money[0])){
 | 
	
		
			
				|  |  |                  colMapping.money = colIdx;
 | 
	
		
			
				|  |  | +                // 特殊处理单价
 | 
	
		
			
				|  |  | +                colMapping.unitPrice = colIdx;
 | 
	
		
			
				|  |  |              }
 | 
	
		
			
				|  |  |              //工程量明细
 | 
	
		
			
				|  |  |              else if(colMapping.quantityDetail === undefined && _deESC(cellData) === colText.quantityDetail[0]){
 | 
	
	
		
			
				|  | @@ -402,6 +405,7 @@ const importBills = (function(){
 | 
	
		
			
				|  |  |                          ? '\n' + _deNR(rData[colMapping.itemCharacterText]['value']) : '';
 | 
	
		
			
				|  |  |                      preBill.unit += rData[colMapping.unit] && rData[colMapping.unit]['value'] && _isDef(_deESC(rData[colMapping.unit]['value'])) ? rData[colMapping.unit]['value'] : '';
 | 
	
		
			
				|  |  |                      preBill.quantity += rData[colMapping.quantity] && rData[colMapping.quantity]['value'] && _isDef(_deESC(rData[colMapping.quantity]['value'])) ? rData[colMapping.quantity]['value'] : '';
 | 
	
		
			
				|  |  | +                    preBill.unitPrice += rData[colMapping.unitPrice] && rData[colMapping.unitPrice]['value'] && _isDef(_deESC(rData[colMapping.unitPrice]['value'])) ? rData[colMapping.unitPrice]['value'] : '';
 | 
	
		
			
				|  |  |                  }
 | 
	
		
			
				|  |  |              } else {
 | 
	
		
			
				|  |  |                  let newID = uuid.v1();
 | 
	
	
		
			
				|  | @@ -435,6 +439,7 @@ const importBills = (function(){
 | 
	
		
			
				|  |  |                      unit: rData[colMapping.unit] && rData[colMapping.unit]['value'] ? _deESC(rData[colMapping.unit]['value']) : '',
 | 
	
		
			
				|  |  |                      quantity: rData[colMapping.quantity] && rData[colMapping.quantity]['value'] ? _deESC(rData[colMapping.quantity]['value']) : '',
 | 
	
		
			
				|  |  |                      quantityEXP: rData[colMapping.quantity] && rData[colMapping.quantity]['value'] ? _deESC(rData[colMapping.quantity]['value']) : '',
 | 
	
		
			
				|  |  | +                    unitPrice: rData[colMapping.unitPrice] && rData[colMapping.unitPrice]['value'] ? _deESC(rData[colMapping.unitPrice]['value']) : '',
 | 
	
		
			
				|  |  |                      //安全文明
 | 
	
		
			
				|  |  |                      flags: flag === fixedFlag.CONSTRUCTION_ORGANIZATION && (rData[colMapping.name] && (rData[colMapping.name]['value'] === '安全文明施工专项费用' || rData[colMapping.name]['value'] === '安全文明施工费')) ?
 | 
	
		
			
				|  |  |                          [{fieldName: 'fixed', flag: fixedFlag.SAFETY_CONSTRUCTION}] : [],
 | 
	
	
		
			
				|  | @@ -458,6 +463,22 @@ const importBills = (function(){
 | 
	
		
			
				|  |  |              preData = rData;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          for(let i in billIdx){
 | 
	
		
			
				|  |  | +            if (!commonUtil.isEmptyVal(billIdx[i].unitPrice)) {
 | 
	
		
			
				|  |  | +                billIdx[i].lockUnitPrice = true;
 | 
	
		
			
				|  |  | +                const quantity = +billIdx[i].quantity || 0;
 | 
	
		
			
				|  |  | +                const unitPrice = +billIdx[i].unitPrice;
 | 
	
		
			
				|  |  | +                const totalPrice = scMathUtil.roundForObj(unitPrice * quantity, decimalObj.bills.totalPrice);
 | 
	
		
			
				|  |  | +                billIdx[i].fees = [
 | 
	
		
			
				|  |  | +                    {
 | 
	
		
			
				|  |  | +                        fieldName: "common",
 | 
	
		
			
				|  |  | +                        tenderTotalFee: totalPrice,
 | 
	
		
			
				|  |  | +                        tenderUnitFee: unitPrice,
 | 
	
		
			
				|  |  | +                        totalFee: totalPrice,
 | 
	
		
			
				|  |  | +                        unitFee: unitPrice,
 | 
	
		
			
				|  |  | +                    }
 | 
	
		
			
				|  |  | +                ];
 | 
	
		
			
				|  |  | +                delete billIdx[i].unitPrice;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  |              rst.push(billIdx[i]);
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          return rst;
 |