|
@@ -35,7 +35,7 @@ class TenderInfo {
|
|
|
if (this.stage) return;
|
|
|
this.stages = await this._getValidStages(this.tender.id);
|
|
|
this.stage = this.stages[0];
|
|
|
- await this.ctx.service.stage.doCheckStage(this.stage);
|
|
|
+ if (this.stage) await this.ctx.service.stage.doCheckStage(this.stage);
|
|
|
}
|
|
|
|
|
|
async _getStageBillsData () {
|