盘料 散料收货扫完码自动滚动

批量新增明细,报错信息修改
散料扫完站台码,显示所有已绑定物料
This commit is contained in:
zgf committed 2024-02-01 13:43:42 +08:00
1 parent 8b4c33283c
commit faa3f5a9d3
6 files changed
+64 -19

No files matched your search

@@ -112,7 +112,9 @@ public class ReceiptSLInController : BaseController
{
return JsonMore(null, 500, $"{boxCode}站台没有料箱,无法入库!");
}
return JsonMore(null);
var data = _unitWork.Find<Inventory>(x => x.LocationCode == boxCode
&& x.TaskStatus == InventoryTaskStatus.任务中).ToList();
return JsonMore(data);
}
else
{
@@ -187,6 +189,7 @@ public class ReceiptSLInController : BaseController
Qty = item.BindQty,
LocationCode = item.BoxCode,
ContainerCode = station.ContainerCode,
ReceiptCode = item.ReceiptCode,
Status = "0",
TaskStatus = InventoryTaskStatus.任务中,
Flag = item.Size,