Browse Source

中间计量,汇总节点也生存计算式说明

MaiXinRong 5 năm trước cách đây
mục cha
commit
3a22f3384e
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 2 2
      app/lib/stage_im.js
  2. 4 4
      app/public/js/stage_im.js

+ 2 - 2
app/lib/stage_im.js

@@ -516,9 +516,9 @@ class StageIm {
                 this._checkCustomDetail(im);
                 this.ImData.push(im);
             }
-            if (!this.ctx.stage.im_gather || !node.check) {
+            //if (!this.ctx.stage.im_gather || !node.check) {
                 this._generateZlLeafXmjData(p, im, 'gather_qty');
-            }
+            //}
             this._generateZlChangeData(p, im);
             im.quantity = this.ctx.helper.add(im.quantity, p.quantity);
 

+ 4 - 4
app/public/js/stage_im.js

@@ -421,9 +421,9 @@ const stageIm = (function () {
                 im.xm = node.name;
             }
             checkCustomDetail(im);
-            if (!stage.im_gather || !node.check) {
+            //if (!stage.im_gather || !node.check) {
                 generateTzGclBillsData(node, im);
-            }
+            //}
             ImData.push(im);
             generateTzChangeData(node, im);
         }
@@ -529,9 +529,9 @@ const stageIm = (function () {
                 checkCustomDetail(im);
                 ImData.push(im);
             }
-            if (!stage.im_gather || !node.check) {
+            //if (!stage.im_gather || !node.check) {
                 generateZlLeafXmjData(p, im, 'gather_qty');
-            }
+            //}
             generateZlChangeData(p, im);
             im.jl = ZhCalc.add(im.jl, p.gather_qty);
             im.contract_jl = ZhCalc.add(im.contract_jl, p.contract_qty);