修复bug

This commit is contained in:
18942506660
2024-04-11 16:54:09 +08:00
parent 20ecf4f1ce
commit 63608d7eeb
3 changed files with 17 additions and 1 deletions

View File

@@ -183,6 +183,15 @@ namespace WMS.Web.Domain.Entitys
this.IsDelete = true;
}
/// <summary>
/// 改箱
/// </summary>
public void ChangeBox(bool IsDestBoxInventory)
{
//(状态为非冻结且激活)改到未上架的箱子内,对应序列号需要修改状态为冻结且激活
if (IsActivate == true && IsDelete != true && IsDestBoxInventory == false)
this.IsDelete = true;
}
/// <summary>
/// 盘点
/// </summary>
public void TakeStock(int boxId)