|
@@ -226,6 +226,7 @@ module.exports = app => {
|
|
|
const tpData = await this.ctx.service.stageBills.getSumTotalPrice(stage);
|
|
|
stage.contract_tp = tpData.contract_tp;
|
|
|
stage.qc_tp = tpData.qc_tp;
|
|
|
+ stage.tp =this.ctx.helper.add(stage.contract_tp, stage.qc_tp);
|
|
|
const tp = await this.ctx.service.stagePay.getSpecialTotalPrice(stage);
|
|
|
stage.yf_tp = tp.yf;
|
|
|
stage.sf_tp = tp.sf;
|