修复bug

This commit is contained in:
18942506660
2024-07-01 14:37:37 +08:00
parent ebe3c3e095
commit 7d42eeeed5

View File

@@ -190,7 +190,7 @@ namespace WMS.Web.Domain.Entitys
if (totalAccruedQty <= totalRealityQty)
this.Status = InstockStatus.Already;
else if(totalReceiveQty<=0)
else if(totalReceiveQty<= 0 && this.Type == InstockType.Purchase)
this.Status = InstockStatus.Wait;
else if(totalRealityQty<=0)
this.Status = InstockStatus.WaitInStock;