Prechádzať zdrojové kódy

Merge branch 'master' of http://192.168.1.41:3000/SmartCost/ConstructionCost

chenshilong 3 rokov pred
rodič
commit
524133c629

+ 3 - 2
web/building_saas/main/js/models/quantity_detail.js

@@ -694,7 +694,7 @@ var quantity_detail = {
             return value
         };
         quantity_detail.prototype.editMainTreeNodeQuantity=function (value,node,fieldName,editingText) {
-            var me = this;
+           /*  var me = this;
             if(isNaN(value)){
                 alert("当前输入的数据类型不正确,请重新输入。");
                 projectObj.mainController.refreshTreeNode([node]);
@@ -710,7 +710,8 @@ var quantity_detail = {
                     return;
                 }
                 me.updateMainTreeNodeQuantity(value,node,editingText);
-            }
+            } */
+            quantityEditObj.checkingAndUpdate(editingText,node);
         };
         quantity_detail.prototype.updateMainTreeNodeQuantity = function(value,node,editingText){
             let me = this;