反作废
This commit is contained in:
@@ -127,6 +127,19 @@ namespace WMS.Web.Domain.Entitys
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 反作废
|
||||
/// </summary>
|
||||
public void NoRepeal(int repealerId, List<int> detailsIds)
|
||||
{
|
||||
this.RepealerId = 0;
|
||||
this.RepealTime = null;
|
||||
//明细行作废
|
||||
this.Details.Where(x => detailsIds.Contains(x.Id)).ToList().ForEach(x => { x.IsRepeal = false; });
|
||||
|
||||
this.ChangeInstockStatus();//重新计算单据的状态
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 创建订单号
|
||||
|
||||
Reference in New Issue
Block a user