|
@@ -902,6 +902,15 @@ var gljOprObj = {
|
|
|
return data;
|
|
|
|
|
|
},
|
|
|
+ getBasePrice:function (treeNode) {//造价书中的工料机修改的节点要用到
|
|
|
+ let proGLJ = projectObj.project.projectGLJ;
|
|
|
+ if(this.calcPriceDiff(glj)==true){
|
|
|
+ let glj =_.find(proGLJ.datas.gljList, {'id': treeNode.data.projectGLJID});
|
|
|
+ return proGLJ.getBasePrice(glj);
|
|
|
+ }else {
|
|
|
+ return scMathUtil.roundForObj(treeNode.data.marketUnitFee,getDecimal("glj.unitPrice"));
|
|
|
+ }
|
|
|
+ },
|
|
|
calcPriceDiff:function (glj) {
|
|
|
let calcOptions=projectInfoObj.projectInfo.property.calcOptions;
|
|
|
if(glj.is_evaluate==1){//先按是否暂估判断
|