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

@ -679,6 +679,9 @@ namespace WCS.BLL.Services.Service
//看是否是分批次出库的情况 分批次亮灯
if (LocalFile.Config.IsSameMatCodeOut)
{
//最先亮的颜色为绿色
LocalStatic.CurrentOutStoreColor = 0x02;
var outOrderDetailCount = outOrderMatDetails.GroupBy(t => t.MatCode)
.Select(o => new { count = o.Count(), bb = o })
.Where(o => o.count >= 2)