Browse Source

采集后清除缓存字段SPID

章政 8 years ago
parent
commit
420732f03b

+ 2 - 0
UAS-MES/FunctionCode/Make/Make_ColorBoxLoadPrint.cs

@@ -257,6 +257,7 @@ namespace UAS_MES.Make
                             Print.CodeSoft(Tag.ToString(), doc, PrintLabel.Text, PrintLabel.SelectedValue.ToString(), Printer.Text, ms_sncode.Text, int.Parse(PrintNum.Text));
                             RemainIndex = 0;
                             TSN.Clear();
+                            SPID.Clear();
                             CollectData.Clear();
                             CollectDataSonCode.Clear();
                             BaseUtil.CleanDataTable(ListA);
@@ -314,6 +315,7 @@ namespace UAS_MES.Make
             if (ListA != null)
                 BaseUtil.CleanDataTableData(ListA);
             TSN.Clear();
+            SPID.Clear();
             CollectDataSonCode.Clear();
             CollectData.Clear();
             RemainIndex = 0;

+ 2 - 0
UAS-MES/FunctionCode/Make/Make_FeedingCollection.cs

@@ -413,6 +413,7 @@ namespace UAS_MES.Make
                 }
                 CollectData.Clear();
                 TSN.Clear();
+                SPID.Clear();
                 CollectDataSonCode.Clear();
                 //采集成功,设置序列号栏目为空
                 RemainIndex = 0;
@@ -436,6 +437,7 @@ namespace UAS_MES.Make
         private void ClearSn_code_Click(object sender, EventArgs e)
         {
             sn_code.Clear();
+            SPID.Clear();
             TSN.Clear();
             CollectData.Clear();
             CollectDataSonCode.Clear();