空载具出库为单载具新增

This commit is contained in:
2023-11-13 15:33:17 +08:00
parent 8ee8fe995e
commit ffc097a3c3
2 changed files with 3 additions and 11 deletions

View File

@@ -1047,7 +1047,7 @@ namespace Tnb.WarehouseMgr
{
throw new AppFriendlyException("电梯被禁用或未配置", 500);
}
if(Math.Abs(ele) % 2 == 1)
if(ele % 2 == 1)
{
//判断电梯组中各电梯任务数
if (curEle == null || sGpEle.FindAll(x => Math.Abs(x.task_nums - curEle.task_nums) % 2 == 1)?.Count > 0)