Parcourir la source

修复多样品导出选择样品时发生的BUG

zhangjiaxin il y a 1 an
Parent
commit
4e45100d2b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      OTSIncAReportApp/1-UI/OTSReportExport/OTSReport_Export.cs

+ 2 - 0
OTSIncAReportApp/1-UI/OTSReportExport/OTSReport_Export.cs

@@ -594,6 +594,8 @@ namespace OTSIncAReportApp
         #region 窗体控件事件
         private void btn_preview_Click(object sender, EventArgs e)
         {
+            m_ReportApp.m_rstDataMgr.setSelectedIndex(cbo_sjy.SelectedIndex);
+
             DEVReport = new OTS_DEVReport(this, m_mbszclass, m_ReportApp);
             LoadData();
             ReportPrintTool tool = new ReportPrintTool(DEVReport);