xiaoding721
2024-10-28 8f6eecfd4ab8b0be0d2e16ad907abd230d2a65ae
修复一些bug
已重命名1个文件
已修改4个文件
17 ■■■■■ 文件已修改
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_LineName.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Component_pnlContent.def 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Component_ListData.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_ButtonDispatch_OnClick#844.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_LineName.qbl
文件名从 _Main/BL/Type_DispatchShiftSchedulingInformation/Attribute_LineID.qbl 修改
@@ -1,6 +1,6 @@
Quintiq file version 2.0
#parent: #root
Attribute LineID
Attribute LineName
{
  #keys: '3[414996.1.67010068][414996.1.67010067][414996.1.67010069]'
  Description: '浜х嚎'
_Main/BL/Type_DispatchShiftSchedulingInformation/StaticMethod_Dispatch.qbl
@@ -58,7 +58,7 @@
        lineHandle := lineIndexTree.GetHandle( row.ProductionLine() );
        lineIndex := guard( lineIndexTree.Root().Child( lineHandle ),null( NamedValue ));
        if( isnull( lineIndex )){
          line := owner.DispatchShiftSchedulingLine( relnew,ID := IDHolder::GetGUID(),LineID := row.ProductionLine() );
          line := owner.DispatchShiftSchedulingLine( relnew,ID := IDHolder::GetGUID(),LineName := row.ProductionLine() );
          line.FactoryName( factory.Name() );
          line.InterfaceTime( now );
          line.VersionName( macroPlan.MDSMacroPlan().Description() );
_Main/UI/MacroPlannerWebApp/Component_DialogUpperLimitOfTransferCapacity/Component_pnlContent.def
@@ -1,13 +1,10 @@
Quintiq file version 2.0
Component pnlContent
{
  #error 102458: "Class Component with id 'pnlContent' cannot find its child with id 'pnlCCFactory'. The file / folder structure might be corrupted due to integration."
  #error 102458: "Class Component with id 'pnlContent' cannot find its child with id 'pnlDLFactory'. The file / folder structure might be corrupted due to integration."
  #keys: '[413988.0.1292313211]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: pnlDLFactory
    #child: pnlCCFactory
  ]
  Properties:
  [
    Orientation: 'tab'
_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Component_ListData.def
@@ -13,10 +13,10 @@
      [
        DataType: 'RecycleBin'
        FilterArguments: 'checkedUnits:QMacroPlanner::FormDispatchShiftSchedulingInformation.dhFinalUnits'
        FixedFilter: 'exists( checkedUnits,Elements,unit,unit.DisplayName() = object.ProductLine())'
        FixedFilter: 'exists( checkedUnits,Elements,unit,unit.DisplayName() = object.DispatchShiftSchedulingProduct().DispatchShiftSchedulingLine().LineName())'
        Source: 'RecycleBin'
        Taborder: 0
        Transformation: 'DispatchShiftSchedulingInformation'
        Transformation: 'DispatchShiftSchedulingLine.DispatchShiftSchedulingProduct.DispatchShiftSchedulingDetail'
      ]
    }
    #child: listActionBarPageData
_Main/UI/MacroPlannerWebApp/Component_FormDispatchShiftSchedulingInformation/Response_PanelDispatchShiftSchedulingInformation_ButtonDispatch_OnClick#844.def
@@ -12,7 +12,7 @@
    [*
      offlineTable := select( MacroPlan,NewOfflinePlanTable,table,true );
      
      DispatchShiftSchedulingInformation::Dispatch( dsStartDate.Date(),dsEndDate.Date(),offlineTable,RecycleBin );
      DispatchShiftSchedulingLine::Dispatch( dsStartDate.Date(),dsEndDate.Date(),offlineTable,RecycleBin );
    *]
  }
}