From 162469bbaa9b14ba269e8fa495b237b7b79e5e73 Mon Sep 17 00:00:00 2001
From: lazhen <17772815105@139.com>
Date: 星期五, 11 十月 2024 18:10:02 +0800
Subject: [PATCH] 大连发动机物流报表数据bug

---
 _Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl |    9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl b/_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl
index 2c253f0..185441f 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl
@@ -2,19 +2,14 @@
 #parent: #root
 Method SetDLRentOutCost (
   DLEngineLogisticsCostColumn column,
-  LogisticsCostEngine enginecost,
-  FinancialSalesCell fscell
+  Real quantity
 )
 {
   TextBody:
   [*
     // 鐢勫叞楦� Jun-24-2024 (created)
     cell := selectobject( this, Cell, cell, cell.Column() = column );
-    quantity      := [Number]fscell.Value() - cell.CCRentQty();
-    //鍏ュ簱閲�/鍖呰瀹归噺*鍏ュ簱鍗曚环锛屽叆搴撻噺绛変簬闀挎槬浜ч噺
-    cost          := ceil( quantity / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice();
-          
-    value := cell.DLRentOutOfCost() + cost;
+    value := cell.DLRentOutOfCost() + quantity;
     cell.DLRentOutOfCost( value );
   *]
 }

--
Gitblit v1.9.3