盘点增加修改序列号
This commit is contained in:
@@ -95,5 +95,20 @@ namespace WMS.Web.Domain.Entitys
|
||||
}
|
||||
return Result.ReSuccess();
|
||||
}
|
||||
|
||||
//移入
|
||||
public Result TakeStock(int materialId, decimal qty)
|
||||
{
|
||||
var d = this.Details.FirstOrDefault(f => f.MaterialId == materialId);
|
||||
if(d==null)
|
||||
{
|
||||
this.Details.Add(new BoxDetails()
|
||||
{
|
||||
MaterialId = materialId,
|
||||
Qty= qty
|
||||
});
|
||||
}
|
||||
return Result.ReSuccess();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user