hongji.li
2023-11-08 c68366f4601f543e90ff2e81633c2a166e0c819d
优化手动添加模组&面板对应关系
已重命名5个文件
已添加13个文件
已修改8个文件
已删除11个文件
573 ■■■■■ 文件已修改
_Main/BL/Type_ModulePanelCorrespondence/StaticMethod_AutoGenerateRelation.qbl 43 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ModulePanelCorrespondence/StaticMethod_CreateModule.qbl 18 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/Sys/ImgAttr/Product_MP.dme 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_ListModuleCorrespondence#358.def 12 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_ListModulePanelCorrespondence.def 20 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_Panel655#129.def 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelButton.def 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelContent.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule#217.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule116#568.def 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelPanel#211.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelPanel.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModuleCorrespondence#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModuleCorrespondence.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModulePanelCorrespondence#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModulePanelCorrespondence.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModuleCorrespondence#1.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModuleCorrespondence.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModulePanelCorrespondence#1.def 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModulePanelCorrespondence.def 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_612_MenuSelectAll_OnClick.def 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_612_bAddPanel_OnClick.def 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_612_bDeletePanel_OnClick.def 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_MenuSelectAll_OnClick.def 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelButton_bAutoGenerateRelation_OnClick.def 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_568_bAddModule_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_568_bDeleteModule_OnClick.def 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_568_bPullCapacityAllocationRule_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_bAddModule_OnClick#61.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_bPullCapacityAllocationRule_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/_ROOT_Component_FormModulePanelCorrespondence.def 16 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPeggingResult/Component_ListPeggingAllResult#103.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormProducts/Component_ListProduct#844.def 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/Pegging分析.vw 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/模组_面板关系.vw 13 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_var/_Main/ProjSettings/MacroPlanner/Views/X_分析视图_[414702.1.50321581].vw 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ModulePanelCorrespondence/StaticMethod_AutoGenerateRelation.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,43 @@
Quintiq file version 2.0
#parent: #root
StaticMethod AutoGenerateRelation (
  GlobalOTDSOP globalOTDSOP,
  Product_MPs panelProduct_MPs
)
{
  TextBody:
  [*
    globalOTDSOP.ModulePanelCorrespondence( relflush );
    panelProductIDs := selectuniquevalues( panelProduct_MPs, Elements, tempPMP, true, tempPMP.ID() );
    traverse ( globalOTDSOP, PeggingProduct_MP.PeggingProductInSalesDemandBase, ppisdb, [Number]ppisdb.SalesDemandBaseID() = 1100 ) {
      zeroPeggingResult := selectset( ppisdb, PeggingResult, tempPR, tempPR.NumberOfPlies() = 0 );
      traverse ( zeroPeggingResult, Elements, zpr ) {
        maxNumberOfPlies := max( zpr, AllChild, tempZPR, true, tempZPR.NumberOfPlies() );
        for ( i := maxNumberOfPlies; i > 0; i-- ) {
          targetNumberOfPliesProductIDs := selectuniquevalues( zpr, AllChild, tempZPR, tempZPR.NumberOfPlies() = i, tempZPR.ProductID() );
          intersectResult := panelProductIDs.Intersect( targetNumberOfPliesProductIDs );
          if ( intersectResult.Size() > 0 ) {
            targetModulePanelCorrespondence := select( globalOTDSOP, ModulePanelCorrespondence, tempMPC,
                                                       tempMPC.ModuleProductID() = ppisdb.PeggingProduct_MP().ProductID() and
                                                       tempMPC.ModuleStockingPointID() = ppisdb.StockingPointID() );
            if ( isnull( targetModulePanelCorrespondence ) ) {
              targetModulePanelCorrespondence := globalOTDSOP.ModulePanelCorrespondence( relnew,
                                                                                         ModuleProductID       := ppisdb.PeggingProduct_MP().ProductID(),
                                                                                         ModuleStockingPointID := ppisdb.StockingPointID(),
                                                                                         IsModule              := true );
            }
            traverse ( intersectResult, Elements, ir ) {
              if ( not exists( targetModulePanelCorrespondence, Panel, tempP, tempP.PanelProductID() = ir ) ) {
                panel := globalOTDSOP.ModulePanelCorrespondence( relnew, PanelProductID := ir );
                panel.Module( relset, targetModulePanelCorrespondence );
              }
            }
            i := 0;
          }
        }
      }
    }
  *]
}
_Main/BL/Type_ModulePanelCorrespondence/StaticMethod_CreateModule.qbl
@@ -2,18 +2,18 @@
#parent: #root
StaticMethod CreateModule (
  GlobalOTDSOP globalOTDSOP,
  ProductInStockingPoint_MPs pisps
  Product_MPs product_MPs
)
{
  TextBody:
  [*
    traverse ( pisps, Elements, pisp ) {
      targetModulePanelCorrespondence := select( globalOTDSOP, ModulePanelCorrespondence, tempMPC,
                                                 tempMPC.ModuleProductID() = pisp.ProductID() and
                                                 tempMPC.ModuleStockingPointID() = pisp.StockingPointID() );
      if ( isnull( targetModulePanelCorrespondence ) ) {
        globalOTDSOP.ModulePanelCorrespondence( relnew, ModuleProductID := pisp.ProductID(), ModuleStockingPointID := pisp.StockingPointID(), IsModule := true );
      }
    }
    //traverse ( product_MPs, Elements, pisp ) {
    //  targetModulePanelCorrespondence := select( globalOTDSOP, ModulePanelCorrespondence, tempMPC,
    //                                             tempMPC.ModuleProductID() = pisp.ProductID() and
    //                                             tempMPC.ModuleStockingPointID() = pisp.StockingPointID() );
    //  if ( isnull( targetModulePanelCorrespondence ) ) {
    //    globalOTDSOP.ModulePanelCorrespondence( relnew, ModuleProductID := pisp.ProductID(), ModuleStockingPointID := pisp.StockingPointID(), IsModule := true );
    //  }
    //}
  *]
}
_Main/Sys/ImgAttr/Product_MP.dme
@@ -45,6 +45,25 @@
      }
    ]
  }
  ImageDataMember ImgIsPanel
  {
    #keys: '1[414702.1.418500741]'
    ImageSpecifications:
    [
      ImageDataMemberImageSpecification
      {
        Image: 'CHECK'
        Quill: 'object.IsPanelMaterial()'
        Value: 'IsPanel'
      }
      ImageDataMemberImageSpecification
      {
        Image: 'DELETE2'
        Quill: 'not object.IsPanelMaterial()'
        Value: 'NotIsPanel'
      }
    ]
  }
  ImageDataMember Type
  {
    #keys: '1[11660.0.24511487]'
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_ListModuleCorrespondence#358.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_ListModuleCorrespondence.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component ListModuleCorrespondence
Component ListModuleCorrespondence id:ListModuleCorrespondence_358
{
  #keys: '[414702.1.377958446]'
  #keys: '[414702.1.424620478]'
  BaseType: 'WebList'
  Children:
  [
    Component DataExtractorModuleCorrespondence
    {
      #keys: '[414702.1.377958447]'
      #keys: '[414702.1.424620479]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
@@ -18,14 +18,14 @@
        Transformation: 'Panel'
      ]
    }
    #child: listActionBarPageModuleCorrespondence
    #child: listActionBarPageModuleCorrespondence_1
    Component DataSetLevelModuleCorrespondence
    {
      #keys: '[414702.1.377958452]'
      #keys: '[414702.1.424620481]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenuModuleCorrespondence
        #child: listContextMenuModuleCorrespondence_1
      ]
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_ListModulePanelCorrespondence.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_ListModulePanelCorrespondence#612.def ÐÞ¸Ä
@@ -1,13 +1,13 @@
Quintiq file version 2.0
Component ListModulePanelCorrespondence id:ListModulePanelCorrespondence_612
Component ListModulePanelCorrespondence
{
  #keys: '[414702.1.376801881]'
  #keys: '[414702.1.421613640]'
  BaseType: 'WebList'
  Children:
  [
    Component DataExtractorModulePanelCorrespondence
    {
      #keys: '[414702.1.376801882]'
      #keys: '[414702.1.421613641]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
@@ -18,14 +18,14 @@
        Transformation: 'ModulePanelCorrespondence'
      ]
    }
    #child: listActionBarPageModulePanelCorrespondence_1
    #child: listActionBarPageModulePanelCorrespondence
    Component DataSetLevelModulePanelCorrespondence
    {
      #keys: '[414702.1.376801884]'
      #keys: '[414702.1.421613643]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenuModulePanelCorrespondence_1
        #child: listContextMenuModulePanelCorrespondence
      ]
      Properties:
      [
@@ -41,9 +41,9 @@
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_ListModulePanelCorrespondence_612_WebButton_OnClick
    DelegatedResponseDefinition OnClick id:Responsedef_ListModulePanelCorrespondence_WebButton_OnClick
    {
      #keys: '[414702.1.379607377]'
      #keys: '[414702.1.421613630]'
      Initiator: 'WebButton'
      IsInherited: false
      ResponseType: 'OnClick'
@@ -56,9 +56,9 @@
        }
      ]
    }
    DelegatedResponseDefinition OnClick id:Responsedef_ListModulePanelCorrespondence_612_WebMenu_OnClick
    DelegatedResponseDefinition OnClick id:Responsedef_ListModulePanelCorrespondence_WebMenu_OnClick
    {
      #keys: '[414702.1.379530536]'
      #keys: '[414702.1.421613629]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_Panel655#129.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_Panel655.def ÐÞ¸Ä
@@ -1,24 +1,25 @@
Quintiq file version 2.0
Component Panel655
Component Panel655 id:Panel655_129
{
  #keys: '[414702.1.380172392]'
  #keys: '[414702.1.424620483]'
  BaseType: 'WebPanel'
  Children:
  [
    Component bAddPanel id:bAddPanel_662
    Component bAddPanel
    {
      #keys: '[414702.1.381249855]'
      #keys: '[414702.1.424620484]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'ADD'
        Label: '添加面板'
        Taborder: 0
        Visible: false
      ]
    }
    Component bDeletePanel id:bDeletePanel_254
    Component bDeletePanel
    {
      #keys: '[414702.1.381203006]'
      #keys: '[414702.1.424620485]'
      BaseType: 'WebButton'
      Properties:
      [
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelButton.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
Quintiq file version 2.0
Component PanelButton
{
  #keys: '[414702.1.424795497]'
  BaseType: 'WebPanel'
  Children:
  [
    Component bAutoGenerateRelation
    {
      #keys: '[414702.1.421614203]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'APPLE'
        Label: '订单模组物料自动生成面板物料对应关系'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    FixedSize: true
    Orientation: 'horizontal'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelContent.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
Component PanelContent
{
  #keys: '[414702.1.424112406]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: PanelModule_217
    #child: PanelPanel_211
  ]
  Properties:
  [
    Orientation: 'horizontal'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule#217.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
Component PanelModule id:PanelModule_217
{
  #keys: '[414702.1.421613639]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: PanelModule116_568
    #child: ListModulePanelCorrespondence
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule116#568.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelModule116.def ÐÞ¸Ä
@@ -1,41 +1,44 @@
Quintiq file version 2.0
Component PanelModule116
Component PanelModule116 id:PanelModule116_568
{
  #keys: '[414702.1.380132983]'
  #keys: '[414702.1.421613646]'
  BaseType: 'WebPanel'
  Children:
  [
    Component bAddModule id:bAddModule_100
    Component bAddModule
    {
      #keys: '[414702.1.381202718]'
      #keys: '[414702.1.421613647]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'ADD'
        Label: '添加关系'
        Taborder: 0
        Visible: false
      ]
    }
    Component bDeleteModule id:bDeleteModule_801
    Component bDeleteModule
    {
      #keys: '[414702.1.381202749]'
      #keys: '[414702.1.421613648]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'DELETE2'
        Label: '清空关系'
        Taborder: 1
        Visible: false
      ]
    }
    Component bPullCapacityAllocationRule
    {
      #keys: '[414702.1.402246903]'
      #keys: '[414702.1.421613649]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'THICK_ARROW_DOWN_LIGHT_BLUE'
        Label: '拉取产能分配规则'
        Taborder: 2
        Visible: false
      ]
    }
  ]
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelPanel#211.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
Component PanelPanel id:PanelPanel_211
{
  #keys: '[414702.1.424620477]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: Panel655_129
    #child: ListModuleCorrespondence_358
  ]
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_PanelPanel.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModuleCorrespondence#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPageModuleCorrespondence id:listActionBarPageModuleCorrespondence_1
{
  #keys: '[414702.1.424620480]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModuleCorrespondence.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModulePanelCorrespondence#1.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listActionBarPageModulePanelCorrespondence.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPageModulePanelCorrespondence
{
  #keys: '[414702.1.421613642]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModuleCorrespondence#1.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listContextMenuModuleCorrespondence id:listContextMenuModuleCorrespondence_1
{
  #keys: '[414702.1.424620482]'
  BaseType: 'listContextMenu'
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModuleCorrespondence.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModulePanelCorrespondence#1.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Component_listContextMenuModulePanelCorrespondence.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
Component listContextMenuModulePanelCorrespondence
{
  #keys: '[414702.1.421613644]'
  BaseType: 'listContextMenu'
  Children:
  [
    Component MenuSelectAll
    {
      #keys: '[414702.1.421613645]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'SELECTION'
        Shortcut: 'Ctrl+A'
        Taborder: 3
        Title: '全选'
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_612_MenuSelectAll_OnClick.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_612_bAddPanel_OnClick.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_612_bDeletePanel_OnClick.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_ListModulePanelCorrespondence_MenuSelectAll_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: ListModulePanelCorrespondence
Response OnClick () id:Response_ListModulePanelCorrespondence_MenuSelectAll_OnClick
{
  #keys: '[414702.1.421613634]'
  CanBindMultiple: false
  DefinitionID => /ListModulePanelCorrespondence/Responsedef_ListModulePanelCorrespondence_WebMenu_OnClick
  Initiator: 'MenuSelectAll'
  QuillAction
  {
    Body:
    [*
      this.SelectAll();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelButton_bAutoGenerateRelation_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
#parent: PanelButton/bAutoGenerateRelation
Response OnClick () id:Response_PanelButton_bAutoGenerateRelation_OnClick
{
  #keys: '[414702.1.424103250]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( GlobalOTDSOP );
  *]
  QuillAction
  {
    Body:
    [*
      ModulePanelCorrespondence::AutoGenerateRelation( GlobalOTDSOP, DataHolderSelectedProduct.Data() );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_568_bAddModule_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: PanelModule116_568/bAddModule
Response OnClick () id:Response_PanelModule116_568_bAddModule_OnClick
{
  #keys: '[414702.1.421613637]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      ModulePanelCorrespondence::CreateModule( GlobalOTDSOP, DataHolderSelectedProduct.Data() );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_568_bDeleteModule_OnClick.def
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_bDeleteModule_OnClick#462.def ÐÞ¸Ä
@@ -1,8 +1,8 @@
Quintiq file version 2.0
#parent: PanelModule116/bDeleteModule_801
Response OnClick () id:Response_PanelModule_bDeleteModule_OnClick_462
#parent: PanelModule116_568/bDeleteModule
Response OnClick () id:Response_PanelModule116_568_bDeleteModule_OnClick
{
  #keys: '[414702.1.381202748]'
  #keys: '[414702.1.421613636]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_568_bPullCapacityAllocationRule_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: PanelModule116_568/bPullCapacityAllocationRule
Response OnClick () id:Response_PanelModule116_568_bPullCapacityAllocationRule_OnClick
{
  #keys: '[414702.1.421613635]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      ModulePanelCorrespondence::PullCapacityAllocationRule( GlobalOTDSOP );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_bAddModule_OnClick#61.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/Response_PanelModule116_bPullCapacityAllocationRule_OnClick.def
ÎļþÒÑɾ³ý
_Main/UI/MacroPlannerWebApp/Component_FormModulePanelCorrespondence/_ROOT_Component_FormModulePanelCorrespondence.def
@@ -7,13 +7,11 @@
  BaseType: 'WebForm'
  Children:
  [
    #child: PanelModule
    #child: PanelPanel
    Component DataHolderSelectedProductInStocking_MP
    Component DataHolderSelectedProduct
    {
      #keys: '[414702.1.378291666]'
      BaseType: 'WebDataHolder'
      Databinding: 'structured[ProductInStockingPoint_MP]*'
      Databinding: 'structured[Product_MP]*'
      Children:
      [
        Component DataExtractor666
@@ -22,10 +20,11 @@
          BaseType: 'WebDataExtractor'
          Properties:
          [
            DataType: 'ProductInStockingPoint_MP'
            ExtractionMode: 'Selected'
            Source: 'FormProductInStockingPoints.ListProductInStockingPointsForProductsView'
            DataType: 'MacroPlan'
            FixedFilter: 'object.IsPanelMaterial()'
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'Product_MP'
          ]
        }
      ]
@@ -34,11 +33,12 @@
        Taborder: 2
      ]
    }
    #child: PanelContent
    #child: PanelButton
  ]
  Properties:
  [
    Image: 'BRUSH2'
    Orientation: 'horizontal'
    Title: '模组&面板对应关系'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPeggingResult/Component_ListPeggingAllResult#103.def
@@ -29,7 +29,7 @@
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeggingProductInSalesDemandBase.SalesDemandBaseID","title":"订单ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PeggingProductInSalesDemandBase.SalesDemandBaseID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"产品ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"库存点ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StartDate","title":"开始时间","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StartDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SupplyQuantity","title":"供应数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SupplyQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ActualFulfillmentQuantity","title":"实际需要数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ActualFulfillmentQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"FulfillmentQuantity","title":"订单需要数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"FulfillmentQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SupplyType","title":"供应类型","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SupplyType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasurementName","title":"单位","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasurementName"}}]'
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PeggingProductInSalesDemandBase.SalesDemandBaseID","title":"订单ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PeggingProductInSalesDemandBase.SalesDemandBaseID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductID","title":"产品ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StockingPointID","title":"库存点ID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StartDate","title":"开始时间","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StartDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SupplyQuantity","title":"供应数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SupplyQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ActualFulfillmentQuantity","title":"实际需要数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ActualFulfillmentQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"FulfillmentQuantity","title":"订单需要数量","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"FulfillmentQuantity"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"SupplyType","title":"供应类型","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"SupplyType"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasurementName","title":"单位","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasurementName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"NumberOfPlies","title":"层数","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"NumberOfPlies"}}]'
        ContextMenu: 'listContextMenuPeggingAllResult'
        Taborder: 2
      ]
_Main/UI/MacroPlannerWebApp/Component_FormProducts/Component_ListProduct#844.def
@@ -8,6 +8,17 @@
      Children:
      [
        #child: listContextMenuProduct_1
        Component DataSetLevelChildProduct #extension
        {
          Properties:
          [
            Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Name","title":"Name","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UoM","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ImgIsPanel","title":"ImgIsPanel","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ImgIsPanel"}}]'
          ]
        }
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeAllConstraint","columnid":"All constraints","title":"All constraints","subtotals":"","tooltip":"","width":-1,"display":"shown"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Name","title":"Name","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Name"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"UnitOfMeasureName","title":"UoM","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"UnitOfMeasureName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ImgIsPanel","title":"ImgIsPanel","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ImgIsPanel"}}]'
      ]
    }
  ]
_Main/UI/MacroPlannerWebApp/Views/Pegging·ÖÎö.vw
@@ -407,7 +407,7 @@
              dataType: 'string'
              index: 7
              subtotals: ''
              width: 150
              width: 121
            }
            column_UnitOfMeasurementName
            {
@@ -416,7 +416,16 @@
              dataType: 'string'
              index: 8
              subtotals: ''
              width: 150
              width: 70
            }
            column_NumberOfPlies
            {
              columnId: 'NumberOfPlies'
              dataPath: 'NumberOfPlies'
              dataType: 'number'
              index: 9
              subtotals: ''
              width: 52
            }
          }
          FormPeggingResult_ListPeggingAllResultProductInStockingPoint_MP
_Main/UI/MacroPlannerWebApp/Views/Ä£×é_Ãæ°å¹ØÏµ.vw
@@ -38,7 +38,7 @@
              title: '名称'
              index: 0
              subtotals: ''
              width: 185
              width: 218
            }
          }
          FormProducts_DataSetLevelChildProduct
@@ -53,7 +53,16 @@
              title: '名称'
              index: 0
              subtotals: ''
              width: 202
              width: 193
            }
            column_ImgIsPanel
            {
              columnId: 'ImgIsPanel'
              dataPath: 'ImgIsPanel'
              dataType: 'string'
              index: 1
              subtotals: ''
              width: 30
            }
          }
        }
_var/_Main/ProjSettings/MacroPlanner/Views/X_·ÖÎöÊÓͼ_[414702.1.50321581].vw
@@ -16,7 +16,7 @@
  CREATIONUSER 'quintiq/hongjli'
  UPDATEDATETIME '2023-11-01T11:42:14'
  UPDATEUSER 'quintiq/hongjli'
  LASTACCESSDATE '2023-11-07'
  LASTACCESSDATE '2023-11-08'
  VIEWSCOPE 0
}
AUTHORIZATIONS