|
@@ -784,8 +784,6 @@ ProjectGLJ.prototype.refreshEctrovalenceCache = function (updateMap) {
|
|
|
}
|
|
}
|
|
|
const parentGljs = this.getProjectGLJs(conditions,false)
|
|
const parentGljs = this.getProjectGLJs(conditions,false)
|
|
|
this.getImpactRationNodes([...gljList,...parentGljs]);//更新工料机类型的定额价格
|
|
this.getImpactRationNodes([...gljList,...parentGljs]);//更新工料机类型的定额价格
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -800,6 +798,15 @@ ProjectGLJ.prototype.refreshMaterialCalcCache = function (updateMap,isFromFeeRat
|
|
|
}else {
|
|
}else {
|
|
|
gljList = this.m_updateUnitPrice([updateMap["unitPrice"]],isFromFeeRate);
|
|
gljList = this.m_updateUnitPrice([updateMap["unitPrice"]],isFromFeeRate);
|
|
|
}
|
|
}
|
|
|
|
|
+ const conditions = [];
|
|
|
|
|
+ for(const glj of gljList){
|
|
|
|
|
+ const keys = this.datas.mixRatioConnectData[gljUtil.getIndex(glj)]
|
|
|
|
|
+ for(const key of keys){
|
|
|
|
|
+ conditions.push(gljOprObj.getConditionByKey(key));
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ const parentGljs = this.getProjectGLJs(conditions,false)
|
|
|
|
|
+ this.getImpactRationNodes([...gljList,...parentGljs]);//更新工料机类型的定额价格
|
|
|
}
|
|
}
|
|
|
return gljList;
|
|
return gljList;
|
|
|
|
|
|