| | |
| | | task.TargetAddress = task.NextAddress; |
| | | string[] targetCodes = task.NextAddress.Split("-"); |
| | | var Row = Convert.ToInt16(targetCodes[0]); |
| | | task.TargetIsPickPlace = /*Row > 1 ?*/ locationInfo.MaxQty - locationInfo.CurrentQty == 1; |
| | | task.TargetIsPickPlace = locationInfo.MaxQty - locationInfo.CurrentQty == 1; |
| | | task.SourceIsPickPlace = false; |
| | | stockInfo.LocationCode = locationInfo.LocationCode; |
| | | stockInfo.StockStatus = StockStatusEmun.å
¥åºä¸.ObjToInt(); |
| | | stockInfoDetail.Status = StockStatusEmun.å
¥åºä¸.ObjToInt(); |
| | | locationInfo.CurrentQty++; |
| | | if (locationInfo.MaxQty < locationInfo.CurrentQty) locationInfo.CurrentQty = locationInfo.MaxQty; |
| | | stockInfo.SerialNumber = locationInfo.CurrentQty; |
| | | orderDetail.OverInQuantity++; |
| | | if (orderDetail.OverInQuantity > orderDetail.ReceiptQuantity) |
| | | orderDetail.OverInQuantity = orderDetail.ReceiptQuantity; |
| | | if (locationInfo.MaxQty < locationInfo.CurrentQty) locationInfo.CurrentQty = locationInfo.MaxQty; |
| | | /*if (locationInfo.MaxQty == 12)*/ |
| | | locationInfo.EnableStatus = EnableStatusEnum.OnlyOut.ObjToInt(); |
| | | locationInfo.LocationStatus = LocationStatusEnum.Inbounding.ObjToInt(); |
| | | |