Browse Source

feat: 定位在工程量时,回车,优化是否生成空行。

zhangweicheng 4 years ago
parent
commit
157264688f
1 changed files with 3 additions and 2 deletions
  1. 3 2
      web/building_saas/main/js/views/project_view.js

+ 3 - 2
web/building_saas/main/js/views/project_view.js

@@ -1155,7 +1155,8 @@ var projectObj = {
                         //将焦点行设置成原本的行,以插入定额
                         me.mainController.setTreeSelected(me.project.mainTree.items[orgRow]);
                     }
-                    //插入定额
+                   /* 2021-04-26 只插入清单不插入定额  
+                   //插入定额
                     me.project.Ration.addNewRation(null, rationType.ration, function () {
                         newRow = sheet.getActiveRowIndex();
                         let codeCol = colSettingObj.getColByField('code');
@@ -1164,7 +1165,7 @@ var projectObj = {
                             newCol = codeCol;
                         }
                         sheet.setActiveCell(newRow, newCol);
-                    },true);
+                    },true); */
                 }
             }
             //在定额/量价/人材机的编码单元格回车,焦点应跳动至本行的工程量单元格