|  | @@ -218,9 +218,16 @@ let gljUtil = {
 | 
	
		
			
				|  |  |              let p =0;
 | 
	
		
			
				|  |  |              for(let ratio of glj.ratio_data){
 | 
	
		
			
				|  |  |                  let rIndex = gljUtil.getIndex(ratio);
 | 
	
		
			
				|  |  | -                let tem =  _.find(projectGLJDatas.gljList,function(item){
 | 
	
		
			
				|  |  | -                    return rIndex == gljUtil.getIndex(item)
 | 
	
		
			
				|  |  | -                });
 | 
	
		
			
				|  |  | +                let tem = null;
 | 
	
		
			
				|  |  | +                if(projectGLJDatas.gljMap){
 | 
	
		
			
				|  |  | +                    tem = projectGLJDatas.gljMap[rIndex]
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if(!tem){
 | 
	
		
			
				|  |  | +                    tem =  _.find(projectGLJDatas.gljList,function(item){
 | 
	
		
			
				|  |  | +                        return rIndex == gljUtil.getIndex(item)
 | 
	
		
			
				|  |  | +                    });
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +              
 | 
	
		
			
				|  |  |                  if(tem){
 | 
	
		
			
				|  |  |                      let tem_marketPrice = this.getMarketPrice(tem,projectGLJDatas,calcOptions,decimalObj,true,_,scMathUtil);  //let priceData=this.getGLJPrice(tem,projectGLJDatas,calcOptions,labourCoeDatas,decimalObj,true,_,scMathUtil);
 | 
	
		
			
				|  |  |                      let temP = scMathUtil.roundForObj(
 | 
	
	
		
			
				|  | @@ -282,9 +289,15 @@ let gljUtil = {
 | 
	
		
			
				|  |  |              let p =0;
 | 
	
		
			
				|  |  |              for(let ratio of glj.ratio_data){
 | 
	
		
			
				|  |  |                  let rIndex = gljUtil.getIndex(ratio);
 | 
	
		
			
				|  |  | -                let tem =  _.find(projectGLJDatas.gljList,function(item){
 | 
	
		
			
				|  |  | -                    return rIndex == gljUtil.getIndex(item);
 | 
	
		
			
				|  |  | -                });
 | 
	
		
			
				|  |  | +                let tem = null;
 | 
	
		
			
				|  |  | +                if(projectGLJDatas.gljMap){
 | 
	
		
			
				|  |  | +                    tem = projectGLJDatas.gljMap[rIndex]
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  | +                if(!tem){
 | 
	
		
			
				|  |  | +                    tem =  _.find(projectGLJDatas.gljList,function(item){
 | 
	
		
			
				|  |  | +                        return rIndex == gljUtil.getIndex(item);
 | 
	
		
			
				|  |  | +                    });
 | 
	
		
			
				|  |  | +                }
 | 
	
		
			
				|  |  |                  if(tem){
 | 
	
		
			
				|  |  |                      let priceData=this.getGLJPrice(tem,projectGLJDatas,calcOptions,labourCoeDatas,decimalObj,true,_,scMathUtil);
 | 
	
		
			
				|  |  |                      let temP = scMathUtil.roundForObj(priceData.adjustPrice*scMathUtil.roundForObj(ratio.consumption,quantity_decimal),process_decimal);
 | 
	
	
		
			
				|  | @@ -318,12 +331,17 @@ let gljUtil = {
 | 
	
		
			
				|  |  |          let t_index = '';
 | 
	
		
			
				|  |  |          let k_arr = [];
 | 
	
		
			
				|  |  |          if(!pops) pops = this.gljKeyArray;
 | 
	
		
			
				|  |  | -        for (let p of pops) {
 | 
	
		
			
				|  |  | -            let tmpK = (obj[p] == undefined || obj[p] == null || obj[p] == '') ? 'null' : obj[p];
 | 
	
		
			
				|  |  | -            k_arr.push(tmpK);
 | 
	
		
			
				|  |  | +        if(pops.length === 5){
 | 
	
		
			
				|  |  | +            return `${obj[pops[0]]}|-|${obj[pops[1]]}|-|${obj[pops[2]]}|-|${obj[pops[3]]}|-|${obj[pops[4]]}`
 | 
	
		
			
				|  |  | +        }else{
 | 
	
		
			
				|  |  | +            for (let p of pops) {
 | 
	
		
			
				|  |  | +                let tmpK = (obj[p] == undefined || obj[p] == null || obj[p] == '') ? 'null' : obj[p];
 | 
	
		
			
				|  |  | +                k_arr.push(tmpK);
 | 
	
		
			
				|  |  | +            }
 | 
	
		
			
				|  |  | +            t_index = k_arr.join("|-|");
 | 
	
		
			
				|  |  | +            return t_index;
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  | -        t_index = k_arr.join("|-|");
 | 
	
		
			
				|  |  | -        return t_index;
 | 
	
		
			
				|  |  | +        
 | 
	
		
			
				|  |  |      },
 | 
	
		
			
				|  |  |      getGljTypeSeq:function () {
 | 
	
		
			
				|  |  |          let gljType = this.gljType;
 |