改了待收货
This commit is contained in:
@@ -632,7 +632,16 @@ namespace WMS.Web.Domain.Services
|
|||||||
else if (details_Groups.Sum(x => x.ReceiveQtyTotal) <= 0 && order.Type == InstockType.Purchase)
|
else if (details_Groups.Sum(x => x.ReceiveQtyTotal) <= 0 && order.Type == InstockType.Purchase)
|
||||||
order.Status = InstockStatus.Wait;
|
order.Status = InstockStatus.Wait;
|
||||||
else if (details_Groups.Sum(x => x.RealityQtyTotal) <= 0)
|
else if (details_Groups.Sum(x => x.RealityQtyTotal) <= 0)
|
||||||
order.Status = InstockStatus.WaitInStock;
|
{
|
||||||
|
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))
|
else if (details_Groups.Sum(x => x.RealityQtyTotal) >= details_Groups.Sum(x => x.AccruedQtyTotal))
|
||||||
order.Status = InstockStatus.Already;
|
order.Status = InstockStatus.Already;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user