MaiXinRong 3 rokov pred
rodič
commit
05c792d5c1

+ 2 - 1
app/controller/report_controller.js

@@ -24,6 +24,7 @@ const needCustomTables = [
     'mem_gather_stage_bills', 'mem_gather_deal_bills', 'mem_gather_stage_pay', 'mem_gather_tender_info',
     'mem_stage_sum_bills', 'mem_stage_sum_pay',
     'mem_jh_gather_im_change', 'mem_jh_im_change', 'mem_jh_gather_stage_bills_compare',
+    'mem_material_sum_gl',
 ];
 
 module.exports = app => {
@@ -1014,7 +1015,7 @@ async function getMultiRptsCommon(ctx, params, outputType, baseDir) {
             let customSelect = rptTpl[JV.NODE_CUSTOM_DEFINE] && rptTpl[JV.NODE_CUSTOM_DEFINE][JV.NODE_CUS_AUDIT_SELECT].enable
                 ? await ctx.service.rptCustomDefine.getCustomDefine(params.tender_id, params.stage_id, rptTpl.id)
                 : await ctx.service.rptCustomDefine.getCustomDefine(params.tender_id, -1, rptTpl.id);
-            console.log(rptTpl[JV.NODE_CUSTOM_DEFINE]);
+            console.log(rptTpl[JV.NODE_CUSTOM_DEFINE],customSelect);
             if (rptTpl[JV.NODE_CUSTOM_DEFINE] && rptTpl[JV.NODE_CUSTOM_DEFINE][JV.NODE_CUS_CHANGE_SELECT].enable) {
                 customSelect = { tid: params.tender_id, rid: params.rpt_tpl_id, sid: -1, change_select: params.customSelect[tplIdx].change_select };
             }

+ 0 - 1
app/lib/rpt_data_analysis.js

@@ -1486,7 +1486,6 @@ const materialSumSelectConverse = {
                         break;
                 }
             }
-            console.log(data.mem_material_sum_gl);
         } else {
             console.log('gsCustom is null!');
         }