lazhen
2024-09-24 8b28a76dac37e1d5d8447dbc83ec06a83d1585cf
_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
@@ -47,8 +47,8 @@
                  //入库量/包装容量*入库单价,入库量等于长春产量
                  quantity          := ceil( [Number]cell.Value() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice();
                  column            := selectobject( table, Column, column, column.Name() = cell.FinancialProductionColumn().Name() );
                  //外租库入库费用
    //              ccrow.SetRentEnterCost( column, quantity );属性类型修改
                  //外租库入库费用
                  ccrow.SetRentEnterCost( column, quantity );
                }
              }
            }
@@ -78,7 +78,7 @@
                  quantity    := ceil( [Number]cell.Value() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice();
                  column      := selectobject( table, Column, column, column.Name() = cell.FinancialSalesColumn().Name() );
                  //外租库出库费用
    //              ccrow.SetRentOutCost( column, quantity );属性类型修改
                  ccrow.SetRentOutCost( column, quantity );
                }
              }
            }
@@ -121,7 +121,7 @@
                  //运输数量/包装容量/装载容量*运输单价
                  quantity     := ceil( ceil( [Number]pit.Quantity() / enginecost.PackagingCapacity() ) / transcost.LoadingCapacity() ) * transcost.TransportPrice();//四舍五入
                  
    //              row.SetFactoryToRentTransCost( column, quantity );属性类型修改
                  row.SetFactoryToRentTransCost( column, quantity );
                }
              }
            }
@@ -157,7 +157,7 @@
                  
                  column       := selectobject( table, Column, column, column.Name() = periodname and column.StartDate() = periodtime );
                  
    //              row.SetRentStorageCost( column, quantity );属性类型修改
                  row.SetRentStorageCost( column, quantity );
                }
              }    
            }