Explorar o código

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

MaiXinRong %!s(int64=4) %!d(string=hai) anos
pai
achega
e7c06ae8bb
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/controller/revise_controller.js

+ 1 - 1
app/controller/revise_controller.js

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