Browse Source

补差计算相关

MaiXinRong 1 year ago
parent
commit
5f6959e4df
1 changed files with 2 additions and 2 deletions
  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) {
             for (const s of stages) {
                 if (s.status === audit.stage.status.checked) continue;
                 if (s.status === audit.stage.status.checked) continue;
                 if (!pcTp) {
                 if (!pcTp) {
-                    pcTp = await this._calcStage(latestStage, xmj, transaction);
+                    pcTp = await this._calcStage(s, xmj, transaction);
                 } else {
                 } else {
-                    await this._calcStageWithoutPc(latestStage, xmj, transaction);
+                    await this._calcStageWithoutPc(s, xmj, transaction);
                 }
                 }
             }
             }
         }
         }