增加即时库存

This commit is contained in:
18942506660
2024-01-02 09:47:57 +08:00
parent 001c7a9774
commit 7a1d4bb52d
8 changed files with 72 additions and 19 deletions

View File

@@ -218,7 +218,9 @@ namespace WMS.Web.Domain.Services
UnitId = new ErpNumberDto(unitNumber), //物料带出来
StockId = new ErpNumberDto(d.StockCode),
SubStockId = new ErpSubStockDto(d.StockCode, d.Erp_SubStockCode),
AfterQty = d.AfterQty,
//AfterQty = d.AfterQty,
FinalQty = entity.ResultType == TakeStockType.Profit ? d.FinalQty : 0,
LossQty = entity.ResultType == TakeStockType.Loss ? d.FinalQty : 0,
Fnote = d.Remark
});
}