|
|
@@ -777,7 +777,7 @@ ProjectGLJ.prototype.refreshEctrovalenceCache = function (updateMap) {
|
|
|
}
|
|
|
const conditions = [];
|
|
|
for(const glj of gljList){
|
|
|
- const keys = this.datas.mixRatioConnectData[gljUtil.getIndex(glj)]
|
|
|
+ const keys = this.datas.mixRatioConnectData[gljUtil.getIndex(glj)]||[];
|
|
|
for(const key of keys){
|
|
|
conditions.push(gljOprObj.getConditionByKey(key));
|
|
|
}
|
|
|
@@ -800,7 +800,7 @@ ProjectGLJ.prototype.refreshMaterialCalcCache = function (updateMap,isFromFeeRat
|
|
|
}
|
|
|
const conditions = [];
|
|
|
for(const glj of gljList){
|
|
|
- const keys = this.datas.mixRatioConnectData[gljUtil.getIndex(glj)]
|
|
|
+ const keys = this.datas.mixRatioConnectData[gljUtil.getIndex(glj)]||[];
|
|
|
for(const key of keys){
|
|
|
conditions.push(gljOprObj.getConditionByKey(key));
|
|
|
}
|
|
|
@@ -809,7 +809,7 @@ ProjectGLJ.prototype.refreshMaterialCalcCache = function (updateMap,isFromFeeRat
|
|
|
this.getImpactRationNodes([...gljList,...parentGljs]);//更新工料机类型的定额价格
|
|
|
}
|
|
|
return gljList;
|
|
|
-
|
|
|
+
|
|
|
function updateList(list,updateMap) {
|
|
|
if(updateMap["update"]){
|
|
|
let map = updateMap["update"];
|