Browse Source

定额库编辑器,人材机消耗量修改后显示应刷新。

zhongzewei 7 years atrás
parent
commit
dfa0777a0a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      web/maintain/ration_repository/js/gljSelect.js

+ 1 - 1
web/maintain/ration_repository/js/gljSelect.js

@@ -126,7 +126,7 @@ let gljSelOprObj = {
                 }
                 if(!isExist){
                     thisGlj.consumeAmt = 0;
-                    me.selectedList.push(thisGlj);
+                    me.selectedList.push(_.cloneDeep(thisGlj));
                 }
             }
             else if(val === false){