Browse Source

fix: 有可能引起套定额报错问题

zhangweicheng 4 years ago
parent
commit
8035f4b0a2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/building_saas/main/js/models/project_glj.js

+ 1 - 1
web/building_saas/main/js/models/project_glj.js

@@ -58,7 +58,7 @@ ProjectGLJ.prototype.loadData = function (callback = null,error=null) {
 
 //更新项目工料机数据和缓存
 ProjectGLJ.prototype.refreshByDatas = function(datas){
-    this.datas = datas;
+    this.loadToCache(datas);
     this.calcQuantity();
 };