From 65dfa3d300ec95e9531283d0a3fc07558c844078 Mon Sep 17 00:00:00 2001
From: admin <admin@admin.com>
Date: 星期一, 23 九月 2024 20:43:45 +0800
Subject: [PATCH] 成本参数优化
---
_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl
index a8f8043..03b9942 100644
--- a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl
+++ b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl
@@ -64,7 +64,7 @@
cell := selectobject( row, Cell, cell, cell.Column() = column );
//杩愯緭鏁伴噺/鍖呰瀹归噺/瑁呰浇瀹归噺*杩愯緭鍗曚环
cost := ceil( ceil( quantity / enginecost.PackagingCapacity() ) / transcost.LoadingCapacity() ) * transcost.TransportPrice();//鍥涜垗浜斿叆
- cell.FactoryToDLRentTransCost( cell.FactoryToDLRentTransCost() + cost );
+ // cell.FactoryToDLRentTransCost( cell.FactoryToDLRentTransCost() + cost );灞炴�х被鍨嬩慨鏀�
}
// if( isccrent ){//鐩殑鍦版槸闀挎槬澶栫搴�
// //鍦ㄥ彂鍔ㄦ満鎴愭湰鍙傛暟琛ㄦ壘鍒板搴旂殑鍖呰瀹归噺
@@ -178,7 +178,7 @@
cost := ceil( ceil( [Number]tpcell.Value() / enginecost.PackagingCapacity() ) / transcost.LoadingCapacity() ) * transcost.TransportPrice();
cell := selectobject( row, Cell, cell, cell.Column() = column );
- cell.CCLongTransCoat( cell.CCLongTransCoat() + cost );
+ // cell.CCLongTransCoat( cell.CCLongTransCoat() + cost );灞炴�х被鍨嬩慨鏀�
}
}
}
@@ -212,7 +212,7 @@
// info( '-------------------------', column.Name() );
cost := ceil( [Number]psdip.Quantity() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice();
cell := selectobject( row, Cell, cell, cell.Column() = column );
- cell.CCShortTransCost( cell.CCShortTransCost() + cost );
+ // cell.CCShortTransCost( cell.CCShortTransCost() + cost );灞炴�х被鍨嬩慨鏀�
}
}
}
@@ -250,7 +250,7 @@
and engine.Factory() = ccunit );
if( not isnull( enginecost ) ){
cost := ceil( [Number]pispip.NewSupplyQuantity() / enginecost.PackagingCapacity() ) * enginecost.StoragePrice();//鍥涜垗浜斿叆
- cell.CCRentStorageCost( cell.CCRentStorageCost() + cost );
+ // cell.CCRentStorageCost( cell.CCRentStorageCost() + cost );灞炴�х被鍨嬩慨鏀�
}
} else {
//鍦ㄥ彂鍔ㄦ満鎴愭湰鍙傛暟琛ㄦ壘鍒板搴旂殑鍖呰瀹归噺
@@ -258,7 +258,7 @@
and engine.Factory() = dlunit );
if( not isnull( enginecost ) ){
cost := ceil( [Number]pispip.NewSupplyQuantity() / enginecost.PackagingCapacity() ) * enginecost.StoragePrice();//鍥涜垗浜斿叆
- cell.DLRentStorageCost( cell.DLRentStorageCost() + cost );;
+ // cell.DLRentStorageCost( cell.DLRentStorageCost() + cost );灞炴�х被鍨嬩慨鏀�
}
}
}
--
Gitblit v1.9.3