admin
2024-09-23 65dfa3d300ec95e9531283d0a3fc07558c844078
成本参数优化
已修改28个文件
178 ■■■■ 文件已修改
_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_Initialize.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CCEngineLogisticsCostReport0/StaticMethod_InitializeNew.qbl 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentEnterCost.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CC_EngineRackCell/Attribute_PackagingCapacity.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CC_EngineRackCell/Attribute_UnitPriceOfEmptyShelfStorage.qbl 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostEngine/Attribute_OtherPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostEngine/Attribute_OutboundPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostEngine/Attribute_PackagingCapacity.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostEngine/Attribute_StoragePrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostEngine/Attribute_WarehousingPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_BufferPaperPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_OutboundPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_PackagePrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_PackagingCapacity.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_StoragePrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_UnpackingPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_WarehousingPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMachining/Attribute_WoodenCratePrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_CleanPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_OutboundPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_StoragePrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_WarehousingPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostTransport/Attribute_LoadingCapacity.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_LogisticsCostTransport/Attribute_TransportPrice.qbl 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MachineLogisticsCostReportCell/StaticMethod_CreateData.qbl 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/LogisticsCostParameterSetting.vw 38 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_CCEngineLogisticsCostReport/StaticMethod_Initialize.qbl
@@ -48,7 +48,7 @@
                  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 );属性类型修改
                }
              }    
            }
_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.CCRentEnterCost( cell.CCRentEnterCost() + entercost ); // 属性类型修改
    //              cell.CCRentOutCost( cell.CCRentOutCost() + 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.FactoryToDLRentTransCost( cell.FactoryToDLRentTransCost() + 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.CCLongTransCoat( cell.CCLongTransCoat() + 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.CCShortTransCost( cell.CCShortTransCost() + 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.CCRentStorageCost( cell.CCRentStorageCost() + 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.DLRentStorageCost( cell.DLRentStorageCost() + cost );; 属性类型修改
                   }
                }
              }   
_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 );属性类型修改
                   }
                }
              }   
_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentEnterCost.qbl
@@ -15,6 +15,6 @@
    cost          := ceil( quantity / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice();
          
    value := cell.DLRentEnterCost() + cost;
    cell.DLRentEnterCost( value );
    cell.DLRentEnterCost( 0 ); // 属性类型修改
  *]
}
_Main/BL/Type_CCEngineLogisticsCostRow0/Method_SetDLRentOutCost.qbl
@@ -15,6 +15,6 @@
    cost          := ceil( quantity / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice();
          
    value := cell.DLRentOutCost() + cost;
    cell.DLRentOutCost( value );
    cell.DLRentOutCost( 0 ); // 属性类型修改
  *]
}
_Main/BL/Type_CC_EngineRackCell/Attribute_PackagingCapacity.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute PackagingCapacity
{
  #keys: '3[415754.0.111003142][415754.0.111003141][415754.0.111003143]'
  #keys: '3[415754.0.267850902][415754.0.267850901][415754.0.267850903]'
  Description: '包装容量'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_CC_EngineRackCell/Attribute_UnitPriceOfEmptyShelfStorage.qbl
@@ -2,11 +2,7 @@
#parent: #root
Attribute UnitPriceOfEmptyShelfStorage
{
  #keys: '3[415754.0.135368204][415754.0.135368203][415754.0.135368205]'
  Description:
  [*
    空料架仓储单价
  *]
  ValueType: Number
  #keys: '3[415754.0.267850867][415754.0.267850866][415754.0.267850868]'
  Description: '空料架仓储单价'
  ValueType: Real
}
_Main/BL/Type_LogisticsCostEngine/Attribute_OtherPrice.qbl
@@ -2,6 +2,6 @@
#parent: #root
Attribute OtherPrice
{
  #keys: '3[413988.0.1448874835][413988.0.1448874834][413988.0.1448874836]'
  ValueType: Number
  #keys: '3[415754.0.267816044][415754.0.267816043][415754.0.267816045]'
  ValueType: Real
}
_Main/BL/Type_LogisticsCostEngine/Attribute_OutboundPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute OutboundPrice
{
  #keys: '3[413988.0.1448874815][413988.0.1448874814][413988.0.1448874816]'
  #keys: '3[415754.0.267816079][415754.0.267816078][415754.0.267816080]'
  Description: '出库单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostEngine/Attribute_PackagingCapacity.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute PackagingCapacity
{
  #keys: '3[413988.0.1448874789][413988.0.1448874788][413988.0.1448874790]'
  #keys: '3[415754.0.267850180][415754.0.267850179][415754.0.267850181]'
  Description: '包装容量'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostEngine/Attribute_StoragePrice.qbl
@@ -2,6 +2,6 @@
#parent: #root
Attribute StoragePrice
{
  #keys: '3[413988.0.1448874825][413988.0.1448874824][413988.0.1448874826]'
  ValueType: Number
  #keys: '3[415754.0.267850217][415754.0.267850216][415754.0.267850218]'
  ValueType: Real
}
_Main/BL/Type_LogisticsCostEngine/Attribute_WarehousingPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute WarehousingPrice
{
  #keys: '3[413988.0.1448874802][413988.0.1448874801][413988.0.1448874803]'
  #keys: '3[415754.0.267816116][415754.0.267816115][415754.0.267816117]'
  Description: '入库单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_BufferPaperPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute BufferPaperPrice
{
  #keys: '3[413988.0.1448874918][413988.0.1448874917][413988.0.1448874919]'
  #keys: '3[415754.0.267816662][415754.0.267816661][415754.0.267816663]'
  Description: '缓冲纸单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_OutboundPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute OutboundPrice
{
  #keys: '3[413988.0.1448874944][413988.0.1448874943][413988.0.1448874945]'
  #keys: '3[415754.0.267850482][415754.0.267850481][415754.0.267850483]'
  Description: '出库单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_PackagePrice.qbl
@@ -2,6 +2,6 @@
#parent: #root
Attribute PackagePrice
{
  #keys: '3[413988.0.1448874881][413988.0.1448874880][413988.0.1448874882]'
  ValueType: Number
  #keys: '3[415754.0.267850517][415754.0.267850516][415754.0.267850518]'
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_PackagingCapacity.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute PackagingCapacity
{
  #keys: '3[413988.0.1448874858][413988.0.1448874857][413988.0.1448874859]'
  #keys: '3[415754.0.267816701][415754.0.267816700][415754.0.267816702]'
  Description: '包装容量'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_StoragePrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute StoragePrice
{
  #keys: '3[413988.0.1448874957][413988.0.1448874956][413988.0.1448874958]'
  #keys: '3[415754.0.267850554][415754.0.267850553][415754.0.267850555]'
  Description: '仓储单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_UnpackingPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute UnpackingPrice
{
  #keys: '3[413988.0.1448874891][413988.0.1448874890][413988.0.1448874892]'
  #keys: '3[415754.0.267816738][415754.0.267816737][415754.0.267816739]'
  Description: '拆包单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_WarehousingPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute WarehousingPrice
{
  #keys: '3[413988.0.1448874934][413988.0.1448874933][413988.0.1448874935]'
  #keys: '3[415754.0.267816775][415754.0.267816774][415754.0.267816776]'
  Description: '入库单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMachining/Attribute_WoodenCratePrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute WoodenCratePrice
{
  #keys: '3[413988.0.1448874901][413988.0.1448874900][413988.0.1448874902]'
  #keys: '3[415754.0.267850591][415754.0.267850590][415754.0.267850592]'
  Description: '木箱单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_CleanPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute CleanPrice
{
  #keys: '3[413988.0.1448875010][413988.0.1448875009][413988.0.1448875011]'
  #keys: '3[415754.0.267816834][415754.0.267816833][415754.0.267816835]'
  Description: '清洗单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_OutboundPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute OutboundPrice
{
  #keys: '3[413988.0.1448874987][413988.0.1448874986][413988.0.1448874988]'
  #keys: '3[415754.0.267816869][415754.0.267816868][415754.0.267816870]'
  Description: '出库单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_StoragePrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute StoragePrice
{
  #keys: '3[413988.0.1448874997][413988.0.1448874996][413988.0.1448874998]'
  #keys: '3[415754.0.267816906][415754.0.267816905][415754.0.267816907]'
  Description: '仓储单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostMaterialRack/Attribute_WarehousingPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute WarehousingPrice
{
  #keys: '3[413988.0.1448874977][413988.0.1448874976][413988.0.1448874978]'
  #keys: '3[415754.0.267850713][415754.0.267850712][415754.0.267850714]'
  Description: '入库单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostTransport/Attribute_LoadingCapacity.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute LoadingCapacity
{
  #keys: '3[413988.0.1448875053][413988.0.1448875052][413988.0.1448875054]'
  #keys: '3[415754.0.267816966][415754.0.267816965][415754.0.267816967]'
  Description: '装载容量'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_LogisticsCostTransport/Attribute_TransportPrice.qbl
@@ -2,7 +2,7 @@
#parent: #root
Attribute TransportPrice
{
  #keys: '3[413988.0.1448875063][413988.0.1448875062][413988.0.1448875064]'
  #keys: '3[415754.0.267817001][415754.0.267817000][415754.0.267817002]'
  Description: '运输单价'
  ValueType: Number
  ValueType: Real
}
_Main/BL/Type_MachineLogisticsCostReportCell/StaticMethod_CreateData.qbl
@@ -44,7 +44,7 @@
                                tempPPC.PackagingPlanColumn().StartDate().Year()  = mlcrc.StartDate().Year()  and
                                tempPPC.PackagingPlanColumn().StartDate().Month() = mlcrc.StartDate().Month(),
                                tempPPC.Package() );
        cell.PackingCharges( packageQuantity * guard( lcm.PackagePrice(), 1 ) );
    //    cell.PackingCharges( packageQuantity * guard( lcm.PackagePrice(), 1 ) );
        
        // 设置拆包费用(拆包量 * 拆包单价)
        unpackingQuantity := sum( macroPlan, PackagingPlanRow.PackagingPlanCell, tempPPC, 
@@ -53,13 +53,13 @@
                                  tempPPC.PackagingPlanColumn().StartDate().Year()  = mlcrc.StartDate().Year()  and
                                  tempPPC.PackagingPlanColumn().StartDate().Month() = mlcrc.StartDate().Month(),
                                  tempPPC.Unpacking() );
        cell.UnpackingCost( unpackingQuantity * guard( lcm.UnpackingPrice(), 1 ) );
    //    cell.UnpackingCost( unpackingQuantity * guard( lcm.UnpackingPrice(), 1 ) );
        
        // 设置缓冲纸费用(包装类 * 缓冲纸单价)
        cell.BufferPaperCost( packageQuantity * guard( lcm.BufferPaperPrice(), 1 ) );
    //    cell.BufferPaperCost( packageQuantity * guard( lcm.BufferPaperPrice(), 1 ) );
        
        // 设置木箱单价
        cell.UnitPriceOfWoodenCrate( guard( lcm.WoodenCratePrice(), 1 ) );
    //    cell.UnitPriceOfWoodenCrate( guard( lcm.WoodenCratePrice(), 1 ) );
        
        // 设置调拨费用(调拨数量 / 包装容量 / 装载容量 * 运输单价)
        transferQuantity := sum( macroPlan, TransferPlanRow.TransferPlanCell, tempTPC,
@@ -68,13 +68,13 @@
                                 tempTPC.TransferPlanColumn().ColumnDate().Year()  = mlcrc.StartDate().Year()                               and
                                 tempTPC.TransferPlanColumn().ColumnDate().Month() = mlcrc.StartDate().Month(),
                                 [Number]tempTPC.Value() );
        cell.TransferCost( transferQuantity / guard( lcm.PackagingCapacity(), 1 ) / guard( lct.LoadingCapacity(), 1 ) * guard( lct.TransportPrice(), 1 ) );
    //    cell.TransferCost( transferQuantity / guard( lcm.PackagingCapacity(), 1 ) / guard( lct.LoadingCapacity(), 1 ) * guard( lct.TransportPrice(), 1 ) );
        
        // 外租库入库费用(入库量[包装量] / 包装容量 * 入库单价)
        cell.StorageFeesForRentedWarehouses( packageQuantity / guard( lcm.PackagingCapacity(), 1 ) * guard( lcm.WarehousingPrice(), 1 ) );
    //    cell.StorageFeesForRentedWarehouses( packageQuantity / guard( lcm.PackagingCapacity(), 1 ) * guard( lcm.WarehousingPrice(), 1 ) );
        
        // 外租库出库费用(出库量[拆包量] / 包装容量 * 出库单价)
        cell.OutboundExpensesForRentedWarehouses( unpackingQuantity / guard( lcm.PackagingCapacity(), 1 ) * guard( lcm.OutboundPrice(), 1 ) );
    //    cell.OutboundExpensesForRentedWarehouses( unpackingQuantity / guard( lcm.PackagingCapacity(), 1 ) * guard( lcm.OutboundPrice(), 1 ) );
        
        // 外租库运输费用(运输数量 / 包装容量 / 装载容量 * 运输单价)
        
_Main/UI/MacroPlannerWebApp/Views/LogisticsCostParameterSetting.vw
@@ -74,7 +74,7 @@
            {
              columnId: 'PackagingCapacity'
              dataPath: 'PackagingCapacity'
              dataType: 'number'
              dataType: 'real'
              index: 5
              subtotals: ''
              width: 86
@@ -83,7 +83,7 @@
            {
              columnId: 'WarehousingPrice'
              dataPath: 'WarehousingPrice'
              dataType: 'number'
              dataType: 'real'
              index: 6
              subtotals: ''
              width: 126
@@ -92,7 +92,7 @@
            {
              columnId: 'OutboundPrice'
              dataPath: 'OutboundPrice'
              dataType: 'number'
              dataType: 'real'
              index: 7
              subtotals: ''
              width: 126
@@ -101,7 +101,7 @@
            {
              columnId: 'StoragePrice'
              dataPath: 'StoragePrice'
              dataType: 'number'
              dataType: 'real'
              index: 8
              subtotals: ''
              width: 124
@@ -110,7 +110,7 @@
            {
              columnId: 'OtherPrice'
              dataPath: 'OtherPrice'
              dataType: 'number'
              dataType: 'real'
              index: 9
              subtotals: ''
              width: 127
@@ -188,7 +188,7 @@
            {
              columnId: 'LoadingCapacity'
              dataPath: 'LoadingCapacity'
              dataType: 'number'
              dataType: 'real'
              index: 5
              subtotals: ''
              width: 109
@@ -197,7 +197,7 @@
            {
              columnId: 'TransportPrice'
              dataPath: 'TransportPrice'
              dataType: 'number'
              dataType: 'real'
              index: 6
              subtotals: ''
              width: 150
@@ -257,7 +257,7 @@
            {
              columnId: 'WarehousingPrice'
              dataPath: 'WarehousingPrice'
              dataType: 'number'
              dataType: 'real'
              index: 3
              subtotals: ''
              width: 123
@@ -266,7 +266,7 @@
            {
              columnId: 'OutboundPrice'
              dataPath: 'OutboundPrice'
              dataType: 'number'
              dataType: 'real'
              index: 4
              subtotals: ''
              width: 124
@@ -275,7 +275,7 @@
            {
              columnId: 'StoragePrice'
              dataPath: 'StoragePrice'
              dataType: 'number'
              dataType: 'real'
              index: 5
              subtotals: ''
              width: 126
@@ -284,7 +284,7 @@
            {
              columnId: 'CleanPrice'
              dataPath: 'CleanPrice'
              dataType: 'number'
              dataType: 'real'
              index: 6
              subtotals: ''
              width: 128
@@ -353,7 +353,7 @@
            {
              columnId: 'PackagingCapacity'
              dataPath: 'PackagingCapacity'
              dataType: 'number'
              dataType: 'real'
              index: 4
              subtotals: ''
              width: 73
@@ -362,7 +362,7 @@
            {
              columnId: 'WarehousingPrice'
              dataPath: 'WarehousingPrice'
              dataType: 'number'
              dataType: 'real'
              index: 5
              subtotals: ''
              width: 126
@@ -371,7 +371,7 @@
            {
              columnId: 'OutboundPrice'
              dataPath: 'OutboundPrice'
              dataType: 'number'
              dataType: 'real'
              index: 6
              subtotals: ''
              width: 130
@@ -380,7 +380,7 @@
            {
              columnId: 'PackagePrice'
              dataPath: 'PackagePrice'
              dataType: 'number'
              dataType: 'real'
              index: 7
              subtotals: ''
              width: 131
@@ -389,7 +389,7 @@
            {
              columnId: 'UnpackingPrice'
              dataPath: 'UnpackingPrice'
              dataType: 'number'
              dataType: 'real'
              index: 8
              subtotals: ''
              width: 133
@@ -398,7 +398,7 @@
            {
              columnId: 'BufferPaperPrice'
              dataPath: 'BufferPaperPrice'
              dataType: 'number'
              dataType: 'real'
              index: 9
              subtotals: ''
              width: 135
@@ -407,7 +407,7 @@
            {
              columnId: 'StoragePrice'
              dataPath: 'StoragePrice'
              dataType: 'number'
              dataType: 'real'
              index: 10
              subtotals: ''
              width: 126
@@ -416,7 +416,7 @@
            {
              columnId: 'WoodenCratePrice'
              dataPath: 'WoodenCratePrice'
              dataType: 'number'
              dataType: 'real'
              index: 11
              subtotals: ''
              width: 79