MaiXinRong 5 năm trước cách đây
mục cha
commit
506ee6e0c5
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);