|
|
@@ -584,7 +584,7 @@ module.exports = app => {
|
|
|
payStage = await this.ctx.service.phasePay.getPhasePayByOrder(stage.tid, payOrder);
|
|
|
if (!payStage) throw '选择的合同支付期不存在';
|
|
|
} else {
|
|
|
- payStage = await this.ctx.service.phasePay.getDataByCondition({ tid: stage.tid, order: payOrder });
|
|
|
+ payStage = await this.ctx.service.stage.getDataByCondition({ tid: stage.tid, order: payOrder });
|
|
|
if (!payStage) throw '选择的计量期不存在';
|
|
|
}
|
|
|
const yf = this.ctx.helper.add(payStage.yf_tp, payStage.pre_yf_tp);
|