MaiXinRong 5 年之前
父节点
当前提交
506ee6e0c5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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) {
             let im = nodeImData.find(function (d) {
                 return d.lid === node.id &&
                 return d.lid === node.id &&
                     d.code === p.b_code && p.name === d.name && p.unit === d.unit &&
                     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) {
             if (!im) {
                 const peg = this._getPegNode(node);
                 const peg = this._getPegNode(node);