Browse Source

打印BUG修改

章政 6 years ago
parent
commit
aff407a123
1 changed files with 6 additions and 0 deletions
  1. 6 0
      UAS-出货标签管理/UAS_出货标签管理.cs

+ 6 - 0
UAS-出货标签管理/UAS_出货标签管理.cs

@@ -1530,6 +1530,12 @@ namespace UAS_LabelMachine
         {
             if (SingleLabelCombox.Text != "")
             {
+                if (SingleDoc != null)
+                    SingleDoc.Close();
+                if (SingleLabelCombox.Text != "" && SingleLabelCombox.SelectedValue != null && !GetGridOnly.Checked)
+                {
+                    SingleDoc = lbl.Documents.Open(ftpOperater.DownLoadTo + SingleLabelCombox.Text);
+                }
                 if (SingleBoxBegin.Text != "" || SingleBoxEnd.Text != "")
                 {
                     try