Browse Source

台账修订,加载计量数据,报错2

MaiXinRong 4 years ago
parent
commit
997d8bdcf2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/controller/revise_controller.js

+ 1 - 1
app/controller/revise_controller.js

@@ -932,7 +932,7 @@ module.exports = app => {
                 } else {
                     const ncd = {id: pd.id};
                     ncd[relaId] = pd[relaId];
-                    for (const f of fields) {
+                    for (const f of field) {
                         ncd[prefix + f] = pd[f];
                     }
                     curData.push(ncd);