MaiXinRong 5 år sedan
förälder
incheckning
3eb482a232
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      app/service/report_memory.js

+ 1 - 1
app/service/report_memory.js

@@ -586,7 +586,7 @@ module.exports = app => {
                     c.type = types.join(';');
                     c.class = this._getChangeConstName(changeConst.class, c.class);
                     c.quality = this._getChangeConstName(changeConst.quality, c.quality);
-                    c.charge = this._getChangeConstName(changeConst.type, c.charge);
+                    c.charge = this._getChangeConstName(changeConst.charge, c.charge);
                     c.attachments = await ctx.service.changeAtt.getChangeAttachment(c.cid);
                     const names = ctx.helper._.map(c.attachments, function (x) {
                         return x.filename + x.fileext;