Browse Source

修改BUG

章政 6 years ago
parent
commit
5e8d57e640

+ 1 - 1
UAS-出货标签管理/UAS_出货标签管理.Designer.cs

@@ -1682,7 +1682,7 @@
             // pib_datecode
             // 
             this.pib_datecode.DataPropertyName = "pib_datecode";
-            this.pib_datecode.HeaderText = "DateCode";
+            this.pib_datecode.HeaderText = "DC年月日";
             this.pib_datecode.Name = "pib_datecode";
             this.pib_datecode.Width = 78;
             // 

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

@@ -1127,8 +1127,7 @@ namespace UAS_LabelMachine
             }
             //缓存外箱参数
             ComBoxClickChangeLabelDoc = true;
-            GetSingleBoxData();
-            GetMidBoxData();
+     
         }
         bool InitGetLabel = true;
         /// <summary>
@@ -1183,6 +1182,8 @@ namespace UAS_LabelMachine
                     stw = new SetLoadingWindow(thread, "正在获取打印标签");
                     BaseUtil.SetFormCenter(stw);
                     stw.ShowDialog();
+                    GetSingleBoxData();
+                    GetMidBoxData();
                     //重置采集项次
                     CurrentItemIndex = 0;
                     LogManager.DoLog("输入单号【" + pi_inoutno.Text + "】");
@@ -1455,7 +1456,6 @@ namespace UAS_LabelMachine
             string[] pib_outbox_arr = MidIDAndOutboxcode.Values.ToArray();
             if (pib_id_arr.Length == 0)
             {
-                MessageBox.Show("未勾选打印明细");
                 return;
             }
             //记录一个ID用来取中盒的数量