diff --git a/src/WMS.Web.Domain/Entitys/InstockTask.cs b/src/WMS.Web.Domain/Entitys/InstockTask.cs index 9a745305..dfad8045 100644 --- a/src/WMS.Web.Domain/Entitys/InstockTask.cs +++ b/src/WMS.Web.Domain/Entitys/InstockTask.cs @@ -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;