陈清红
2025-04-14 880f3c0257eeb8c37761d484258fdd102a369a19
_Main/UI/MacroPlannerWebApp/Component_FormMachineLogisticsCostReport/Response_pHeader_bExport_OnClick.def
@@ -13,9 +13,11 @@
  {
    Body:
    [*
      mlcrrs := selectset( MacroPlan, MachineLogisticsCostReportRow, tempMLCRR, true );
      mlcrrs := selectset( MacroPlan, MachineLogisticsCostReportRow, tempMLCRR, tempMLCRR.Factory() = ddslFactory.Text() );
      
      MachineLogisticsCostReportCell::Export( mlcrrs );
      binaryValue := MachineLogisticsCostReportCell::Export( MacroPlan, mlcrrs );
      Application.Download( ddslFactory.Text() + "_机加物流成本报表.xlsx", binaryValue.AsBinaryData() );
    *]
    GroupServerCalls: false
  }