|
|
@@ -119,7 +119,7 @@ namespace UAS_MES_NEW.Packing
|
|
|
OperateResult.AppendText(">>箱号不能为空\n", Color.Red);
|
|
|
return;
|
|
|
}
|
|
|
- if (dh.CheckExist("package", "BG" + outboxcode.Text))
|
|
|
+ if (dh.CheckExist("package", "pa_outboxcode='BG" + outboxcode.Text+"'"))
|
|
|
{
|
|
|
outboxcode.Text = "BG" + outboxcode.Text;
|
|
|
}
|