浏览代码

Merge branch 'master' of ssh://10.10.100.21/source/mes-client

caosy 6 年之前
父节点
当前提交
d41f152381
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

+ 2 - 1
UAS-出货标签管理(贸易版)/UAS_出货标签管理.cs

@@ -1126,6 +1126,8 @@ namespace UAS_LabelMachine
                         string[] param = new string[] { PI_ID, "" };
                         dh.CallProcedure("GetCustBarcode", ref param);
                     }
+                    CurrentItemIndex = 0;
+                    CurrentRowIndex = 0;
                     LoadGridData(sender, e);
                     //重新输入单号后清除缓存
                     MidBoxArgument.Clear();
@@ -1151,7 +1153,6 @@ namespace UAS_LabelMachine
                     BaseUtil.SetFormCenter(stw);
                     stw.ShowDialog();
                     //重置采集项次
-                    CurrentItemIndex = 0;
                     LogManager.DoLog("输入单号【" + pi_inoutno.Text + "】");
                 }
                 else