|
|
@@ -978,7 +978,7 @@ function getProjectGLJNewData(tmp,projectId,ext){
|
|
|
market_price: tmp.basePrice,
|
|
|
from:tmp.from?tmp.from:"std"
|
|
|
};
|
|
|
- if(gljData.from == 'std' && ext && ext.priceField &&( tmp.priceProperty[ext.priceField]!= undefined && tmp.priceProperty[ext.priceField]!=null)){
|
|
|
+ if(gljData.from == 'std' && ext && ext.priceField &&(tmp.priceProperty && tmp.priceProperty[ext.priceField]!= undefined && tmp.priceProperty[ext.priceField]!=null)){
|
|
|
const basePrice = scMathUtil.roundTo(tmp.priceProperty[ext.priceField],-6);
|
|
|
gljData.base_price = basePrice;
|
|
|
gljData.market_price = basePrice;
|