|
|
@@ -825,7 +825,7 @@ async function replaceMixRatio(g,result,unitFileId){
|
|
|
projectGLJMap[r.projectGLJID] = r;
|
|
|
if(gljUtil.isConcreteType(r.type)&&r.ID!=g.ID) concreteList.push(r) //除了本身,记录一下其它混凝土类型
|
|
|
}
|
|
|
- if (result.hasOwnProperty('subList') && result.subList.length > 0){
|
|
|
+ if (result.subList && result.subList.length > 0){
|
|
|
newMap = addMixRatioToRationGLJ(g,result.subList,newRecodes,projectGLJMap);//先生成要添加的工料机
|
|
|
}
|
|
|
let oldMixList = await projectGljModel.getCompositionGLJByData(IDMap[g.ID],unitFileId);
|