|
@@ -118,7 +118,7 @@ class revisePriceCalc {
|
|
|
async stageCheckAgainPriceChange(stage, auditOrder, transaction) {
|
|
|
// 获取未执行的单价变更,无单价变更不执行
|
|
|
this.price = await this.ctx.service.revisePrice.getAllDataByCondition({ where: { tid: stage.tid, valid: 1, use_stage: 0 } });
|
|
|
- if (price.length === 0) return;
|
|
|
+ if (this.price.length === 0) return;
|
|
|
|
|
|
const curBillsData = await this.ctx.service.stageBills.getLastestStageData2(stage.tid, stage.id);
|
|
|
const preBillsData = await this.ctx.service.stageBillsFinal.getAllDataByCondition({ where: { tid: stage.tid, sorder: stage.order - 1 } });
|