From 7d42eeeed592c3ebf9585ae6347f7058e4922771 Mon Sep 17 00:00:00 2001 From: 18942506660 <18942506660@A18942506660> Date: Mon, 1 Jul 2024 14:37:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WMS.Web.Domain/Entitys/InstockTask.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;