浏览代码

bug: 定位在清单或定额,插入定额\按清单名称插入材料\插入量价|\插入设备空行,此时升降级上下移的箭头亮显不正确

zhangweicheng 5 年之前
父节点
当前提交
de0ccf6e1d

+ 1 - 0
web/building_saas/main/js/models/ration.js

@@ -535,6 +535,7 @@ var Ration = {
         ration.prototype.insertVolumePrice = function(type,ext){
             this.addNewRation(null,rationType.volumePrice,function (newNode) {//插入人工不需要自动定位到编号列
                 projectObj.selectColAndFocus(newNode,null);
+                projectObj.refreshBaseActn(projectObj.project.mainTree);
             },true,type,true,ext);
         };
 

+ 1 - 0
web/building_saas/main/js/views/glj_view.js

@@ -1129,6 +1129,7 @@ var gljOprObj = {
                 }else {
                     me.showRationGLJSheetData();
                 }
+                projectObj.refreshBaseActn(project.mainTree);
                 $.bootstrapLoading.end();
             });
 

+ 1 - 0
web/building_saas/main/js/views/project_view.js

@@ -1216,6 +1216,7 @@ var projectObj = {
                 }
                 await project.Ration.addMultiRation(newData);
                 projectObj.setActiveCell('code', true);
+                projectObj.refreshBaseActn(project.mainTree);
             } catch (err) {
                 console.log(err);
                 if (!$('hintBox_form').is(':visible')) {