ソースを参照

报表内存表,期数据表,截止上期应做汇总计算

MaiXinRong 5 年 前
コミット
69b07bf543
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/service/report_memory.js

+ 1 - 1
app/service/report_memory.js

@@ -55,7 +55,7 @@ module.exports = app => {
                 rootId: -1,
                 keys: ['id', 'tender_id', 'ledger_id'],
                 stageId: 'id',
-                calcFields: ['deal_tp', 'total_price', 'contract_tp', 'qc_tp', 'gather_tp'],
+                calcFields: ['deal_tp', 'total_price', 'contract_tp', 'qc_tp', 'gather_tp', 'pre_contract_tp', 'pre_qc_tp', 'pre_gather_tp'],
                 calc: function (node) {
                     if (node.children && node.children.length === 0) {
                         node.pre_gather_qty = self.ctx.helper.add(node.pre_contract_qty, node.pre_qc_qty);