章政 7 жил өмнө
parent
commit
aafdb638b1

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

@@ -606,7 +606,7 @@ namespace UAS_LabelMachine
                     for (int i = 0; i < LabelInf.RowCount; i++)
                     {
                         //勾选了并且未打印
-                        if (LabelInf.Rows[i].Cells["Choose"].FormattedValue.ToString().ToLower() == "true" && LabelInf.Rows[i].Cells["pib_ifprint"].FormattedValue.ToString().ToLower() != "true")
+                        if (LabelInf.Rows[i].Cells["Choose"].FormattedValue != null && LabelInf.Rows[i].Cells["Choose"].FormattedValue.ToString().ToLower() == "true" && LabelInf.Rows[i].Cells["pib_ifprint"].FormattedValue.ToString().ToLower() != "true")
                         {
                             pibid += LabelInf.Rows[i].Cells["pib_id1"].Value.ToString() + ",";
                             LabelInf.Rows[i].Cells["pib_ifprint"].Value = true;
@@ -635,7 +635,7 @@ namespace UAS_LabelMachine
                         {
                             SingleReport.Print();
                         }
-                        catch (Exception e)
+                        catch (Exception e) 
                         {
                             MessageBox.Show(e.Message);
                             return;

BIN
UAS-出货标签管理(泽天)/tool/FastReport.Bars.dll


BIN
UAS-出货标签管理(泽天)/tool/FastReport.Editor.dll


BIN
UAS-出货标签管理(泽天)/tool/FastReport.dll