MaiXinRong 2 月之前
父节点
当前提交
a9658b550b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/service/sub_project.js

+ 1 - 1
app/service/sub_project.js

@@ -699,7 +699,7 @@ module.exports = app => {
             for (const t of tenders) {
                 await this.ctx.service.tenderCache.loadTenderCache(t, this.ctx.session.sessionUser.accountId);
                 tp_cache.contract_price = this.ctx.helper.add(tp_cache.contract_price, t.contract_price);
-                if (t.ledger_tp) tp_cache.ledger_tp = this.ctx.helper.add(tp_cache.ledger_tp, t.ledger_tp.total_price;
+                if (t.ledger_tp) tp_cache.ledger_tp = this.ctx.helper.add(tp_cache.ledger_tp, t.ledger_tp.total_price);
                 tp_cache.advance_tp = this.ctx.helper.add(tp_cache.advance_tp, t.advance_tp);
                 tp_cache.change_tp = this.ctx.helper.add(tp_cache.change_tp, t.change_tp);