Ver código fonte

批量导出Excel问题

MaiXinRong 4 anos atrás
pai
commit
dd57e139ff
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app/service/report_memory.js

+ 2 - 0
app/service/report_memory.js

@@ -389,7 +389,9 @@ module.exports = app => {
                         {data: preStage, fields: ['contract_qty', 'contract_tp', 'qc_qty', 'qc_tp'], prefix: 'pre_', relaId: 'lid'}
                     ]);
                 }
+
                 this.billsTree.loadDatas(billsData);
+                this.billsTree.setting.calcFields = ['deal_tp', 'total_price', 'contract_tp', 'qc_tp', 'gather_tp', 'pre_contract_tp', 'pre_qc_tp', 'pre_gather_tp'];
                 this.billsTree.calculateAll();
 
                 if (this._checkFieldsExist(fields, billsFields.bgl)) {