MaiXinRong hace 5 años
padre
commit
506ee6e0c5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/lib/stage_im.js

+ 1 - 1
app/lib/stage_im.js

@@ -487,7 +487,7 @@ class StageIm {
             let im = nodeImData.find(function (d) {
                 return d.lid === node.id &&
                     d.code === p.b_code && p.name === d.name && p.unit === d.unit &&
-                    this.ctx.helper.checkZero(self.ctx.helper.sub(p.unit_price, d.unit_price));
+                    self.ctx.helper.checkZero(self.ctx.helper.sub(p.unit_price, d.unit_price));
             });
             if (!im) {
                 const peg = this._getPegNode(node);