|
@@ -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);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|