|  | @@ -17,6 +17,31 @@ let defaultDecimal = {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  let decimalObj = Object.create(null);
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | +decimalObj.decimal = function (field, node) {
 | 
	
		
			
				|  |  | +    if(isDef(field)){
 | 
	
		
			
				|  |  | +        if(field === 'feeRate'){
 | 
	
		
			
				|  |  | +            return this[field];
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +        if(isDef(node)){
 | 
	
		
			
				|  |  | +            if(node.sourceType === projectObj.project.Bills.getSourceType()){
 | 
	
		
			
				|  |  | +                if(field === 'quantity'){
 | 
	
		
			
				|  |  | +                    return billsQuanDecimal.decimal(node.data.unit);
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                else {
 | 
	
		
			
				|  |  | +                    return this['bills'][field] || this.process;
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            else if(node.sourceType === projectObj.project.Ration.getSourceType() || node.sourceType === projectObj.project.VolumePrice.getSourceType()){
 | 
	
		
			
				|  |  | +                return this['ration'][field] || this.process;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            else if(node.sourceType === projectObj.project.GLJ.getSourceType()){
 | 
	
		
			
				|  |  | +                return this['glj'][field] || this.process;
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +        }
 | 
	
		
			
				|  |  | +    }
 | 
	
		
			
				|  |  | +    return this.process;
 | 
	
		
			
				|  |  | +};
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |  function isUndef(v) {
 | 
	
		
			
				|  |  |      return v === undefined || v === null;
 | 
	
		
			
				|  |  |  }
 |