1.相同物料同时出库 不同物料分批次出库 相邻两次亮灯颜色为绿色、蓝色、绿色、蓝色

This commit is contained in:
hehaibing-1996
2024-05-29 10:09:42 +08:00
parent 08850a2f15
commit 4958c58706
6 changed files with 32 additions and 10 deletions

View File

@ -1496,6 +1496,9 @@ namespace WCS.BLL.HardWare
if (outOrderMatDetails != null && outOrderMatDetails.Count > 0)
{
//相邻物料亮不同颜色 这里绿色和蓝色互相切换
LocalStatic.CurrentOutStoreColor = LocalStatic.CurrentOutStoreColor == (byte)0x02 ? (byte)0x04 : (byte)0x02;
//存在待出库 然后之前又没亮灯的情况 => 继续分批次亮灯
Logs.Write($"发料单{OrderNumber},还有物料未出!", LogsType.Outstore);
var outOrderDetailCount = outOrderMatDetails.GroupBy(t => t.MatCode)