|
|
@@ -686,7 +686,7 @@ async function insertAddTypeGLJ(rgList,compilation) {
|
|
|
g.isEstimate = result.is_evaluate;
|
|
|
}
|
|
|
g.ID = uuidV1();
|
|
|
- if (result.hasOwnProperty('subList') && result.subList.length > 0) {
|
|
|
+ if (result.subList && result.subList.length > 0) {
|
|
|
g.subList = getMixRatioShowDatas(result.subList);
|
|
|
//对于混凝土,砂浆,配合比,组成物还要插入定额工料机
|
|
|
if(gljUtil.isConcreteType(g.type)){
|