From b1a0a49947bc7c9806f4d3b6277375ef543dbccf Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期四, 14 十一月 2024 18:19:14 +0800 Subject: [PATCH] 物流报表部分费用支持跨月 --- _Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl index 7d6e205..6bc14fb 100644 --- a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl +++ b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl @@ -211,7 +211,7 @@ enginecost := selectobject( enginecosts, Elements, engine, engine.StartDate() <= column.StartDate() and engine.EndDate() >= column.StartDate() ); if( not isnull( enginecost ) ){ products.Add( product ); - quantity := sum( allpsdips, Elements, psdip, psdip.Quantity() ); + quantity := sum( allpsdips, Elements, psdip, psdip.Quantity() );// + psdip.FulfilledQuantity() cost := ceil( quantity / enginecost.PackagingCapacity() ) * enginecost.OutboundPrice(); row.SetDLRentOutCost( column, cost ); -- Gitblit v1.9.3