|
|
@@ -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));
|