|
|
@@ -139,8 +139,8 @@ namespace UAS_MES.Make
|
|
|
int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + code.Text + "'").ToString());
|
|
|
if (sn == "" || count > 1)
|
|
|
{
|
|
|
- MessageBox.Show("SN:" + code.Text + "未找到关联信息");
|
|
|
- return;
|
|
|
+ //MessageBox.Show("SN:" + code.Text + "未找到关联信息");
|
|
|
+ //return;
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
@@ -162,8 +162,8 @@ namespace UAS_MES.Make
|
|
|
int count = int.Parse(dh.getFieldDataByCondition("SNRELATION_VIEW", "count(1) cn", "sr_code='" + code.Text + "'").ToString());
|
|
|
if (sn == "" || count > 1)
|
|
|
{
|
|
|
- MessageBox.Show("SN:" + code.Text + "未找到关联信息");
|
|
|
- return;
|
|
|
+ //MessageBox.Show("SN:" + code.Text + "未找到关联信息");
|
|
|
+ //return;
|
|
|
}
|
|
|
else
|
|
|
{
|