浏览代码

补差计算相关

MaiXinRong 1 年之前
父节点
当前提交
5f6959e4df
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      app/lib/revise_price.js

+ 2 - 2
app/lib/revise_price.js

@@ -435,9 +435,9 @@ class revisePriceCalc {
             for (const s of stages) {
                 if (s.status === audit.stage.status.checked) continue;
                 if (!pcTp) {
-                    pcTp = await this._calcStage(latestStage, xmj, transaction);
+                    pcTp = await this._calcStage(s, xmj, transaction);
                 } else {
-                    await this._calcStageWithoutPc(latestStage, xmj, transaction);
+                    await this._calcStageWithoutPc(s, xmj, transaction);
                 }
             }
         }