This commit is contained in:
tongfei
2024-03-08 16:08:05 +08:00
parent 7921256b99
commit a8426e1d56

View File

@@ -296,7 +296,7 @@ namespace WMS.Web.Domain.Services
if (erp_data != null)
{
//2.1.2修改数量
if (erp_data.Qty > item.AccruedQty)
if (erp_data.Qty > item.AccruedQty && (erp_data.Qty>item.RealityQty && item.RealityQty!=0))
data.Status = InstockStatus.Part;
else if(erp_data.Qty<=item.AccruedQty && erp_data.Qty<=item.RealityQty)
data.Status = InstockStatus.Already;