修改了入库

This commit is contained in:
2025-07-17 15:58:08 +08:00
parent 3ae1d42bcd
commit e0d44c9e57
2 changed files with 8 additions and 8 deletions

View File

@@ -638,14 +638,14 @@ namespace WMS.Web.Domain.Services
order.Status = InstockStatus.Wait;
else if (details_Groups.Sum(x => x.RealityQtyTotal) <= 0)
{
if (order.Type == InstockType.ProduceSotck)
{
order.Status = InstockStatus.Wait;
}
else
{
//if (order.Type == InstockType.ProduceSotck)
// {
// order.Status = InstockStatus.Wait;
// }
// else
// {
order.Status = InstockStatus.WaitInStock;
}
//}
}
else if (details_Groups.Sum(x => x.RealityQtyTotal) >= details_Groups.Sum(x => x.AccruedQtyTotal))
order.Status = InstockStatus.Already;