瀏覽代碼

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

zhangweicheng 4 年之前
父節點
當前提交
8035f4b0a2
共有 1 個文件被更改,包括 1 次插入1 次删除
  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();
 };