|
|
@@ -225,7 +225,14 @@ namespace UAS_MES.Make
|
|
|
}
|
|
|
code.Clear();
|
|
|
if (RemainIndex <= ListA.Rows.Count - 1)
|
|
|
- OperateResult.AppendText(">>请采集物料编号为" + ListA.Rows[RemainIndex]["sp_fsoncode"].ToString() + "或" + ListA.Rows[RemainIndex]["sp_soncode"].ToString() + "的条码\n");
|
|
|
+ {
|
|
|
+ string fsoncode = ListA.Rows[RemainIndex]["sp_fsoncode"].ToString();
|
|
|
+ string soncode = ListA.Rows[RemainIndex]["sp_soncode"].ToString();
|
|
|
+ if (fsoncode == soncode)
|
|
|
+ OperateResult.AppendText(">>请采集物料编号为" + fsoncode + "的物料数据\n");
|
|
|
+ else
|
|
|
+ OperateResult.AppendText(">>请采集物料编号为" + fsoncode + "或" + soncode + "的物料数据\n");
|
|
|
+ }
|
|
|
if (RemainIndex == ListA.Rows.Count)
|
|
|
{
|
|
|
sql.Clear();
|