lazhen
2024-11-11 f7899b7d914f6a775bea3c2dbcb7e264e5245e0a
_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
  }