|
@@ -378,6 +378,7 @@ module.exports = app => {
|
|
tender.end_gather_tp = ctx.helper.add(tender.end_contract_tp, tender.end_qc_tp);
|
|
tender.end_gather_tp = ctx.helper.add(tender.end_contract_tp, tender.end_qc_tp);
|
|
tender.pre_gather_tp = ctx.helper.add(lastStage.pre_contract_tp, lastStage.pre_qc_tp);
|
|
tender.pre_gather_tp = ctx.helper.add(lastStage.pre_contract_tp, lastStage.pre_qc_tp);
|
|
tender.yf_tp = lastStage.yf_tp;
|
|
tender.yf_tp = lastStage.yf_tp;
|
|
|
|
+ tender.sf_tp = lastStage.sf_tp;
|
|
tender.qc_ratio = ctx.helper.mul(ctx.helper.div(tender.end_qc_tp, ctx.tender.info.deal_param.contractPrice, 2), 100);
|
|
tender.qc_ratio = ctx.helper.mul(ctx.helper.div(tender.end_qc_tp, ctx.tender.info.deal_param.contractPrice, 2), 100);
|
|
tender.pre_ratio = ctx.helper.mul(ctx.helper.div(tender.pre_gather_tp, tender.sum, 2), 100);
|
|
tender.pre_ratio = ctx.helper.mul(ctx.helper.div(tender.pre_gather_tp, tender.sum, 2), 100);
|
|
tender.cur_ratio = ctx.helper.mul(ctx.helper.div(tender.gather_tp, tender.sum, 2), 100);
|
|
tender.cur_ratio = ctx.helper.mul(ctx.helper.div(tender.gather_tp, tender.sum, 2), 100);
|