From 8b28a76dac37e1d5d8447dbc83ec06a83d1585cf Mon Sep 17 00:00:00 2001 From: lazhen <17772815105@139.com> Date: 星期二, 24 九月 2024 17:37:59 +0800 Subject: [PATCH] 长春/大连发动机物流报表字段类型调整 --- _Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Initialize.qbl | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Initialize.qbl b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Initialize.qbl index a9c3735..bb63502 100644 --- a/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Initialize.qbl +++ b/_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Initialize.qbl @@ -67,8 +67,8 @@ entercost := ceil( quantity / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice(); //闀挎槬澶栫搴撳嚭搴撹垂鐢�: 鍑哄簱閲�/鍖呰瀹归噺*鍑哄簱鍗曚环 outcost := ceil( quantity / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice(); - // cell.CCRentEnterCost( cell.CCRentEnterCost() + entercost ); // 灞炴�х被鍨嬩慨鏀� - // cell.CCRentOutCost( cell.CCRentOutCost() + outcost ); // 灞炴�х被鍨嬩慨鏀� + cell.CCRentInCost( cell.CCRentInCost() + entercost ); + cell.CCRentOutOfCost( cell.CCRentOutOfCost() + outcost ); } } if( isdlrent ){//鐩殑鍦版槸澶ц繛澶栫搴� @@ -85,7 +85,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.WerkToDLRentTransCost( cell.WerkToDLRentTransCost() + cost ); } } } @@ -183,7 +183,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.CCLongTransCost( cell.CCLongTransCost() + cost ); } } } @@ -217,7 +217,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.CCShorTransCost( cell.CCShorTransCost() + cost ); } } } @@ -255,7 +255,7 @@ and engine.Factory() = ccunit ); if( not isnull( enginecost ) ){ cost := ceil( [Number]pispip.NewSupplyQuantity() / enginecost.PackagingCapacity() ) * enginecost.StoragePrice();//鍥涜垗浜斿叆 - // cell.CCRentStorageCost( cell.CCRentStorageCost() + cost ); 灞炴�х被鍨嬩慨鏀� + cell.CCRentStorCost( cell.CCRentStorCost() + cost ); } } else { //鍦ㄥ彂鍔ㄦ満鎴愭湰鍙傛暟琛ㄦ壘鍒板搴旂殑鍖呰瀹归噺 @@ -263,7 +263,7 @@ and engine.Factory() = dlunit ); if( not isnull( enginecost ) ){ cost := ceil( [Number]pispip.NewSupplyQuantity() / enginecost.PackagingCapacity() ) * enginecost.StoragePrice();//鍥涜垗浜斿叆 - // cell.DLRentStorageCost( cell.DLRentStorageCost() + cost );; 灞炴�х被鍨嬩慨鏀� + cell.DLRentStorCost( cell.DLRentStorCost() + cost ); } } } -- Gitblit v1.9.3