Browse Source

BUG调整

章政 6 years ago
parent
commit
82442c9c47
1 changed files with 3 additions and 3 deletions
  1. 3 3
      UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

+ 3 - 3
UAS-出货标签管理(泽天)/UAS_出货标签管理.cs

@@ -503,7 +503,7 @@ namespace UAS_LabelMachine
                         pibid += PIBID[i];
                 }
                 if (!SingleLabelCombox.SelectedValue.ToString().Contains("System.Data.DataRowView"))
-                    SingleReport.Load(@"C:/打印标签/联讯发LP.frx");
+                    SingleReport.Load(SingleLabelCombox.SelectedValue.ToString());
                 for (int j = 0; j < SingleReport.Parameters.Count; j++)
                 {
                     SingleReport.SetParameterValue(SingleReport.Parameters[j].Name, "");
@@ -710,7 +710,7 @@ namespace UAS_LabelMachine
                     if (pibid != "")
                     {
                         if (!SingleLabelCombox.SelectedValue.ToString().Contains("System.Data.DataRowView"))
-                            SingleReport.Load(@"C:/打印标签/联讯发LP.frx");
+                            SingleReport.Load(SingleLabelCombox.SelectedValue.ToString());
                         for (int j = 0; j < SingleReport.Parameters.Count; j++)
                         {
                             SingleReport.SetParameterValue(SingleReport.Parameters[j].Name, "");
@@ -1312,7 +1312,7 @@ namespace UAS_LabelMachine
                 if (ComBoxClickChangeLabelDoc)
                 {
                     if (!SingleLabelCombox.SelectedValue.ToString().Contains("System.Data.DataRowView"))
-                        SingleReport.Load(@"C:/打印标签/联讯发LP.frx");
+                        SingleReport.Load(SingleLabelCombox.SelectedValue.ToString());
                 }
             }
             catch (Exception) { }