Browse Source

界面调整

章政 7 years ago
parent
commit
0b9b718c16

File diff suppressed because it is too large
+ 360 - 338
UAS-出货标签管理(泽天)/UAS_出货标签管理.Designer.cs


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

@@ -736,17 +736,6 @@ namespace UAS_LabelMachine
                 {
                     MessageBox.Show("单盘标签未维护参数", "提示");
                 }
-                if (MidLabelAutoPrint.Checked)
-                {
-                    try
-                    {
-                        if (MidDoc.Variables.FreeVariables.Count == 0) { }
-                    }
-                    catch (Exception)
-                    {
-                        MessageBox.Show("中盘标签未维护参数", "提示");
-                    }
-                }
                 if (SingleLabelParam.Rows.Count > 0 && LabelInf.Rows.Count > 0)
                 {
                     //每次打印清除之前缓存的行号和ID,后面会判断需要打印的数据重新加载
@@ -813,21 +802,6 @@ namespace UAS_LabelMachine
                                 SingleDoc.PrintDocument();
                                 Properties.Settings.Default.SPrinter = SingleLabelPrinter.Text;
                                 Properties.Settings.Default.Save();
-                                if (MidLabelAutoPrint.Checked)
-                                {
-                                    //判断当前行的盒号和下一行不相等或者已经是最后一行了
-                                    if (i + 1 == LabelInf.RowCount || LabelInf.Rows[i].Cells["pib_outboxcode1"].Value.ToString() != LabelInf.Rows[i + 1 == LabelInf.RowCount ? i : i + 1].Cells["pib_outboxcode1"].Value.ToString())
-                                    {
-                                        if (outboxcode1[LabelInf.Rows[i].Cells["pib_outboxcode1"].Value.ToString()])
-                                        {
-                                            if (MidLabelCombox.SelectedValue != null)
-                                            {
-                                                string la_id_mid = MidLabelCombox.SelectedValue.ToString().Split('#')[0];
-                                                MidBoxCodePrint(la_id_mid, i);
-                                            }
-                                        }
-                                    }
-                                }
                                 //勾选为已打印
                                 LabelInf.Rows[i].Cells["pib_ifprint"].Value = true;
                             }

Some files were not shown because too many files changed in this diff