@@ -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();
};