Commit b1f19f32 几米阳光

自动出入库逻辑修改

1 个父辈 63922c39
...@@ -911,11 +911,12 @@ namespace OnlineStore.DeviceLibrary ...@@ -911,11 +911,12 @@ namespace OnlineStore.DeviceLibrary
} }
if (storeMoveType.Equals(StoreMoveType.InStore)) if (storeMoveType.Equals(StoreMoveType.InStore))
{ {
int newIndex = autoPositionIndex - 1; int newIndex = autoPositionIndex ;
if (autoJiange == 0) //int newIndex = autoPositionIndex - 1;
{ //if (autoJiange == 0)
newIndex = autoPositionIndex; //{
} // newIndex = autoPositionIndex;
//}
if (newIndex < 0) if (newIndex < 0)
{ {
autoNext = false; autoNext = false;
...@@ -961,6 +962,7 @@ namespace OnlineStore.DeviceLibrary ...@@ -961,6 +962,7 @@ namespace OnlineStore.DeviceLibrary
} }
else else
{ {
autoPositionIndex = newIndex;
string posid = PositionNumList[newIndex]; string posid = PositionNumList[newIndex];
//判断是否需要重置 //判断是否需要重置
if (CurrInOutACount >= Config.Box_ResetACount) if (CurrInOutACount >= Config.Box_ResetACount)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!