Bladeren bron

小数位问题

laiguoran 4 jaren geleden
bovenliggende
commit
7b2bf27fe0
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      app/service/stage.js

+ 1 - 1
app/service/stage.js

@@ -592,7 +592,7 @@ module.exports = app => {
                         cb.value = this.ctx.helper.add(sumGcl.contract_tp, sumGcl.qc_tp);
                         break;
                     case 'bqyf':
-                        cb.value = this._.sumBy(stage_list, 'yf_tp');
+                        cb.value = this.ctx.helper.roundNum(this._.sumBy(stage_list, 'yf_tp'), 2);
                         break;
                     default:
                         cb.value = 0;