|
|
@@ -222,7 +222,8 @@ let zmhs_obj = {
|
|
|
}
|
|
|
projectObj.mainController.refreshTreeNode(nodes, false);
|
|
|
|
|
|
- let rationID= ration_glj.updateCacheAfterAdjust(result.ration_glj);
|
|
|
+ let rationID = result.ration.ID;
|
|
|
+ ration_glj.updateCacheAfterAdjust(result.ration_glj);
|
|
|
if(result.projectGLJDatas){//有添加、替换、工料机等需重新加载的情况
|
|
|
projectObj.project.projectGLJ.refreshByDatas(result.projectGLJDatas);
|
|
|
if(result.add && result.add.length > 0) ration_glj.addToMainTree(result.add);//这个方法有再去项目工料机那里取价格,所以要在回调里调用,不像替换工料的情况
|