Browse Source

造价书自定义enterKey暂时不生效

zhongzewei 7 years ago
parent
commit
120caf249d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/building_saas/main/js/views/project_view.js

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

@@ -696,7 +696,7 @@ var projectObj = {
                 that.mainController.bind(TREE_SHEET_CONTROLLER.eventName.beforeTreeSelectedChange, that.beforeMainTreeSelectedChange);
                 that.mainController.bind(TREE_SHEET_CONTROLLER.eventName.treeSelectedChanged, that.treeSelectedChanged);
 
-                that.bindEnterKey(that.mainSpread, 'mainEnterKey', that.mainSpreadEnterKey);
+                //that.bindEnterKey(that.mainSpread, 'mainEnterKey', that.mainSpreadEnterKey);
                 setTimeout(function () {
                     that.mainSpread.getActiveSheet().startEdit();//这两句需要挺多时间,而又需要在editend 事件前触发,而这些又不影响计算,所以这里用异步的方法
                     that.mainSpread.getActiveSheet().endEdit();