Browse Source

拆解修改

Hcsy 8 years ago
parent
commit
811fa013e4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      UAS-MES/FunctionCode/Make/Make_Decompose.cs

+ 1 - 1
UAS-MES/FunctionCode/Make/Make_Decompose.cs

@@ -232,7 +232,7 @@ namespace UAS_MES.Make
                                 string sp_barcoderule = dtbar.Rows[0]["sp_barcoderule"].ToString();
                                 if (sp_tracekind != "2")
                                 {
-                                    if (!LogicHandler.CheckSNBeforeLoad("", LabelDataGridView.Rows[i].Cells["New_BarCode"].Value.ToString(), sp_soncode, sp_barcoderule, sp_prefix, length, out ErrorMessage))
+                                    if (!LogicHandler.CheckSNBeforeLoad(ms_makecode.Text, LabelDataGridView.Rows[i].Cells["New_BarCode"].Value.ToString(), sp_soncode, sp_barcoderule, sp_prefix, length, out ErrorMessage))
                                     {
                                         OperateResult.AppendText(">>" + ErrorMessage + "\n", Color.Red);
                                         LoadData(sncode_1, sender, new KeyEventArgs(Keys.Enter));