新增明细 加判断条件
计数页面修改 散料入新增条件 出库单据接口 修改判断条件
This commit is contained in:
1 parent
4334683c6f
commit
1365920fee
15 files changed
+66
-32
No files matched your search
@@ -123,7 +123,12 @@ public class ShipOutController : BaseController
|
||||
&& x.Type == LocationTypeEnum.散料库站台);
|
||||
if(station == null)
|
||||
{
|
||||
return JsonMore(null, 500, $"站台{boxCode}不存在,无法入库!");
|
||||
return JsonMore(null, 500, $"站台{boxCode}不存在,无法回库!");
|
||||
}
|
||||
//判断是否拣货完成
|
||||
if(_unitWork.IsExit<Inventory>(x => x.LocationCode.Equals(station.Code)))
|
||||
{
|
||||
return JsonMore(null, 500, $"站台{boxCode}存在未拣货物料,无法回库!");
|
||||
}
|
||||
// 判断箱号是否合理
|
||||
var box = _unitWork.FindSingle<Location>(x => x.ContainerCode.Equals(station.ContainerCode)
|
||||
|
||||
Reference in new issue
Block a user