hongjli
2023-09-12 873d0dcac4db77c156439d1e9c025aeb3702aa47
面板拉料
已添加31个文件
已修改2个文件
713 ■■■■■ 文件已修改
_Main/BL/Relations/Relation_PanelMaterial_GlobalOTDTable_GlobalOTDTable_PanelMaterial.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl 23 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterial/Attribute_DemandQuantity.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterial/Attribute_MaterialDescription.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterial/Attribute_PanelModel.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterial/Attribute_StartDate.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_PanelMaterial/_ROOT_Type_PanelMaterial.qbl 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_Product_MP/Attribute_IsPanelMaterial.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlanner/Component_FormProducts/Component_ListProduct.def 42 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlanner/Component_FormProducts/Component_SplitterWnd8.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlanner/Component_FormProducts/Response_TIANMA_JITUAN_ListProduct_MenuConvertToPanelMaterial_OnClick.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlanner/Component_FormProducts/_ROOT_Component_FormProducts.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Component_pnlActions.def 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Component_pnlContent.def 58 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Method_Edit.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Method_New.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Response_pnlActions_btnCancel_OnClick.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Response_pnlActions_btnOk_OnClick.def 35 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Response_pnlContent_ddslPanelModel_OnCreated.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/_ROOT_Component_DialogCreateEditPanelPullPlanReport.def 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/_ROOT_Component_FormMaterialLabelingAndPlanningStrategy.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_ListData.def 59 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelData#431.def 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelPanelPullPlanReport.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_listActionBarPageData.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_listContextMenuData.def 62 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuCreate_OnClick.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuDelete_OnClick.def 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuEdit_OnClick.def 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuSelectAll_OnClick.def 17 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonRefresh_OnClick.def 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/_ROOT_Component_FormPanelPullPlanReport.def 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Relations/Relation_PanelMaterial_GlobalOTDTable_GlobalOTDTable_PanelMaterial.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Relation PanelMaterial_GlobalOTDTable_GlobalOTDTable_PanelMaterial
{
  #keys: '1[414702.0.155921958]'
  DefaultRelationStrategy
  {
  }
  RelationSide.LeftSide GlobalOTDTable
  {
    #keys: '3[414702.0.155921960][414702.0.155921959][414702.0.155921961]'
    Cardinality: '0to1'
    ObjectDefinition: PanelMaterial
    OwningSide: 'Reference'
  }
  RelationSide.RightSide PanelMaterial
  {
    #keys: '3[414702.0.155921963][414702.0.155921962][414702.0.155921964]'
    Cardinality: '1toN'
    ObjectDefinition: GlobalOTDTable
    OwningSide: 'Owned'
  }
}
_Main/BL/Type_GlobalDTOTable/Method_RefreshPanelMaterialData.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,23 @@
Quintiq file version 2.0
#parent: #root
Method RefreshPanelMaterialData (
  MacroPlan macroPlan
)
{
  TextBody:
  [*
    traverse ( macroPlan, Unit.Operation.PeriodTaskOperation, pto, true ) {
      traverse ( pto, DependentDemand, dd, true ) {
        product_MP := dd.ProductInStockingPointInPeriodPlanningLeaf().ProductInStockingPoint_MP().Product_MP();
        if ( product_MP.IsPanelMaterial() ) {
          this.PanelMaterial( relnew,
                              PanelModel          := product_MP.ID(),
                              MaterialDescription := product_MP.ID(),
                              StartDate           := dd.Start().Date(),
                              DemandQuantity      := dd.Quantity()
                             );
        }
      }
    }
  *]
}
_Main/BL/Type_PanelMaterial/Attribute_DemandQuantity.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute DemandQuantity
{
  #keys: '3[414702.0.155922013][414702.0.155922012][414702.0.155922014]'
  Description: '需求数量'
  ValueType: Real
}
_Main/BL/Type_PanelMaterial/Attribute_MaterialDescription.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute MaterialDescription
{
  #keys: '3[414702.0.155921990][414702.0.155921989][414702.0.155921991]'
  Description: '物料描述'
  ValueType: String
}
_Main/BL/Type_PanelMaterial/Attribute_PanelModel.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute PanelModel
{
  #keys: '3[414702.0.155921977][414702.0.155921976][414702.0.155921978]'
  Description: '面板型号'
  ValueType: String
}
_Main/BL/Type_PanelMaterial/Attribute_StartDate.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute StartDate
{
  #keys: '3[414702.0.155922000][414702.0.155921999][414702.0.155922001]'
  Description: '开始时间'
  ValueType: Date
}
_Main/BL/Type_PanelMaterial/_ROOT_Type_PanelMaterial.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,9 @@
Quintiq file version 2.0
#root
#parent: #DomainModel
Type PanelMaterial
{
  #keys: '5[414702.0.155354979][414702.0.155354977][0.0.0][414702.0.155354978][414702.0.155354980]'
  BaseType: Object
  StructuredName: 'PanelMaterials'
}
_Main/BL/Type_Product_MP/Attribute_IsPanelMaterial.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute IsPanelMaterial
{
  #keys: '3[414702.0.155922090][414702.0.155922089][414702.0.155922091]'
  Description: '是否为面板物料'
  ValueType: Boolean
}
_Main/UI/MacroPlanner/Component_FormProducts/Component_ListProduct.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,42 @@
Quintiq file version 2.0
Component ListProduct #extension
{
  Children:
  [
    Component popupListProduct #extension
    {
      Children:
      [
        Component PopupParent #extension
        {
          Children:
          [
            Component menuSeparator631 { #keys: '[414702.0.157554503]' BaseType: 'Menu' Properties: [ Separator: true ] }
            Component MenuConvertToPanelMaterial { #keys: '[414702.0.157554555]' BaseType: 'Menu' Properties: [ Image: 'PLASMA-TV' Text: '转换为面板物料' ] }
          ]
          Properties:
          [
            ModeledStringList ChildOrdering
            {
              c: MenuActions
              c: MenuFilter
              c: menuListQuintiqSetQuantor
              c: MenuSeparator
              c: MenuNewProduct
              c: MenuEditProduct
              c: MenuDeleteProduct
              c: MenuCopyIncludingSP
              c: Menu3
              c: MenuSmartPlan1
              c: Menu49
              c: MenuEditDisplayIndex
              c: MenuEditVisualization2
              c: menuSeparator631
              c: MenuConvertToPanelMaterial
            }
          ]
        }
      ]
    }
  ]
}
_Main/UI/MacroPlanner/Component_FormProducts/Component_SplitterWnd8.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
Quintiq file version 2.0
Component SplitterWnd8 #extension
{
  Children:
  [
    Component SplitterPane #extension
    {
      Children:
      [
        #child: ListProduct
      ]
    }
  ]
}
_Main/UI/MacroPlanner/Component_FormProducts/Response_TIANMA_JITUAN_ListProduct_MenuConvertToPanelMaterial_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
Quintiq file version 2.0
#parent: ListProduct
Response OnClick (
  Product_MP selection
) id:Response_TIANMA_JITUAN_ListProduct_MenuConvertToPanelMaterial_OnClick
{
  #keys: '[414702.0.157554653]'
  Body:
  [*
    selection.IsPanelMaterial( not selection.IsPanelMaterial() );
  *]
  DefinitionID => //ListProduct/Responsedef_ListProduct_Menu_OnClick
  Initiator: 'MenuConvertToPanelMaterial'
}
_Main/UI/MacroPlanner/Component_FormProducts/_ROOT_Component_FormProducts.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#root
#parent: LibMacroPlannerTCUI
OrphanComponent FormProducts #extension
{
  Children:
  [
    #child: SplitterWnd8
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Component_pnlActions.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,40 @@
Quintiq file version 2.0
Component pnlActions
{
  #keys: '[414702.0.157903684]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btnOk
    {
      #keys: '[414702.0.157903688]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'OK'
        Taborder: 0
      ]
    }
    Component btnCancel
    {
      #keys: '[414702.0.157903690]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Cancel'
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    Border: true
    ExcludeFromActiveComponent: true
    FixedSize: true
    Orientation: 'horizontal'
    Padding: 'true'
    Style: 'footer'
    Taborder: 2
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Component_pnlContent.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,58 @@
Quintiq file version 2.0
Component pnlContent
{
  #keys: '[414702.0.157903682]'
  BaseType: 'WebPanel'
  Children:
  [
    Component dsStartDate
    {
      #keys: '[414702.0.158296102]'
      BaseType: 'WebDateSelector'
      Properties:
      [
        DataBinding: 'DataHolderDialogData.Data.StartDate'
        Label: '开始'
        Taborder: 2
      ]
    }
    Component npDemandQuantity
    {
      #keys: '[414702.0.158296123]'
      BaseType: 'WebNumberPicker'
      Properties:
      [
        DataBinding: 'DataHolderDialogData.Data.DemandQuantity'
        Label: '需求数量'
        Taborder: 3
      ]
    }
    Component efMaterialDescription
    {
      #keys: '[414702.0.157412917]'
      BaseType: 'WebEditField'
      Properties:
      [
        DataBinding: 'DataHolderDialogData.Data.MaterialDescription'
        Label: '物料描述'
        Taborder: 1
      ]
    }
    Component ddslPanelModel
    {
      #keys: '[414702.0.157757933]'
      BaseType: 'WebDropDownStringList'
      Properties:
      [
        DataBinding: 'DataHolderDialogData.Data.PanelModel'
        Label: '面板型号'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Padding: 'true'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Method_Edit.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: #root
Method Edit (
  PanelMaterial selection
) id:Method_DialogCreateEditPanelPullPlanReport_Edit
{
  #keys: '[414702.0.158677121]'
  Body:
  [*
    data := shadow( selection );
    DataHolderDialogData.Data( &data );
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Method_New.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
Quintiq file version 2.0
#parent: #root
Method New () id:Method_DialogCreateEditPanelPullPlanReport_New
{
  #keys: '[414702.0.158084611]'
  Body:
  [*
    panelMaterial := GlobalOTDTable.PanelMaterial( relshadow );
    DataHolderDialogData.Data( &panelMaterial );
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Response_pnlActions_btnCancel_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
#parent: pnlActions/btnCancel
Response OnClick () id:Response_pnlActions_btnCancel_OnClick
{
  #keys: '[414702.0.157903694]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.Close();
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Response_pnlActions_btnOk_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,35 @@
Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[414702.0.157903693]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      Form.ApplyChanges();
      //Form.OnOK();
      Form.ApplyChanges();
      data := DataHolderDialogData.Data();
      panelMaterial := data.WrappedInstance();
      if ( isnull( panelMaterial ) ) {
        GlobalOTDTable.PanelMaterial( relnew,
                                      PanelModel          := ddslPanelModel.Text(),
                                      MaterialDescription := efMaterialDescription.Text(),
                                      StartDate           := dsStartDate.Date(),
                                      DemandQuantity      := npDemandQuantity.Number() );
      } else {
        panelMaterial.PanelModel( ddslPanelModel.Text() );
        panelMaterial.MaterialDescription( efMaterialDescription.Text() );
        panelMaterial.StartDate( dsStartDate.Date() );
        panelMaterial.DemandQuantity( npDemandQuantity.Number() );
      }
      Form.Close();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/Response_pnlContent_ddslPanelModel_OnCreated.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
Quintiq file version 2.0
#parent: pnlContent/ddslPanelModel
Response OnCreated () id:Response_pnlContent_ddslPanelModel_OnCreated
{
  #keys: '[414702.0.158297623]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebComponent_OnCreated'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      ids := selectvalues( MacroPlan, Product_MP, tempPMP, tempPMP.IsPanelMaterial(), tempPMP.ID() );
      info( ids.Concatenate( ";" ) );
      this.Strings( ids.Concatenate( ";" ) );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditPanelPullPlanReport/_ROOT_Component_DialogCreateEditPanelPullPlanReport.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,31 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent DialogCreateEditPanelPullPlanReport
{
  #keys: '[414702.0.157903680]'
  BaseType: 'WebForm'
  Children:
  [
    #child: pnlContent
    #child: pnlActions
    Component DataHolderDialogData
    {
      #keys: '[414702.0.156384742]'
      BaseType: 'WebDataHolder'
      Databinding: 'shadow[PanelMaterial]*'
      Properties:
      [
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    EnterButton: 'btnOk'
    EscapeButton: 'btnCancel'
    ExcludeFromActiveComponent: true
    Padding: 'false'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormMaterialLabelingAndPlanningStrategy/_ROOT_Component_FormMaterialLabelingAndPlanningStrategy.def
@@ -13,6 +13,6 @@
  [
    Description: '物料标签&计划策略表单'
    Image: 'PAPER_ROLL'
    Title: 'Material labeling&planning strategy'
    Title: '物料标签&计划策略'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_ListData.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,59 @@
Quintiq file version 2.0
Component ListData
{
  #keys: '[414702.0.156121812]'
  BaseType: 'WebList'
  Children:
  [
    Component DataExtractorData
    {
      #keys: '[414702.0.156121813]'
      BaseType: 'WebDataExtractor'
      Properties:
      [
        DataType: 'GlobalOTDTable'
        Source: 'GlobalOTDTable'
        Taborder: 0
        Transformation: 'PanelMaterial'
      ]
    }
    #child: listActionBarPageData
    Component DataSetLevelData
    {
      #keys: '[414702.0.156121818]'
      BaseType: 'WebDataSetLevel'
      Children:
      [
        #child: listContextMenuData
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"PanelModel","title":"PanelModel","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"PanelModel"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"MaterialDescription","title":"MaterialDescription","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"MaterialDescription"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"StartDate","title":"StartDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"StartDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"DemandQuantity","title":"DemandQuantity","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"DemandQuantity"}}]'
        ContextMenu: 'listContextMenuData'
        Taborder: 2
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
  ResponseDefinitions:
  [
    DelegatedResponseDefinition OnClick id:Responsedef_ListData_WebMenu_OnClick
    {
      #keys: '[414702.0.158084176]'
      Initiator: 'WebMenu'
      IsInherited: false
      ResponseType: 'OnClick'
      Arguments:
      [
        ResponseDefinitionArgument selection
        {
          #keys: '[359.0.59836272]'
          Binding: 'this.Selection()'
        }
      ]
    }
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelData#431.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,14 @@
Quintiq file version 2.0
Component PanelData
{
  #keys: '[414702.0.153191731]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: ListData
  ]
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelFunctionButtons.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,39 @@
Quintiq file version 2.0
Component PanelFunctionButtons
{
  #keys: '[414702.0.153162120]'
  BaseType: 'WebPanel'
  Children:
  [
    Component ButtonRefresh
    {
      #keys: '[414702.0.153101807]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'ARROW_CIRCLE2'
        Label: '刷新'
        Taborder: 0
      ]
    }
    Component ButtonSend
    {
      #keys: '[414702.0.153101827]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'ANTENNA'
        Label: '发送'
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    FixedSize: true
    MinimumColumns: 1
    MinimumRows: 1
    Orientation: 'horizontal'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_PanelPanelPullPlanReport.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
Component PanelPanelPullPlanReport
{
  #keys: '[414702.0.153130397]'
  BaseType: 'WebPanel'
  Children:
  [
    #child: PanelData
    #child: PanelFunctionButtons
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_listActionBarPageData.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
Component listActionBarPageData
{
  #keys: '[414702.0.156121815]'
  BaseType: 'listActionBarPage'
  Properties:
  [
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Component_listContextMenuData.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,62 @@
Quintiq file version 2.0
Component listContextMenuData
{
  #keys: '[414702.0.156121820]'
  BaseType: 'listContextMenu'
  Children:
  [
    Component MenuCreate
    {
      #keys: '[414702.0.156370994]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'ADD2'
        Shortcut: 'Ins'
        Taborder: 3
        Title: 'Create...'
      ]
    }
    Component MenuEdit
    {
      #keys: '[414702.0.156371015]'
      BaseType: 'WebMenu'
      Properties:
      [
        BindOnDoubleClick: true
        Image: 'PENCIL'
        Shortcut: 'Enter'
        Taborder: 4
        Title: 'Edit'
      ]
    }
    Component MenuDelete
    {
      #keys: '[414702.0.156371036]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'DELETE'
        Shortcut: 'Del'
        Taborder: 5
        Title: 'Delete'
      ]
    }
    Component MenuSelectAll
    {
      #keys: '[414702.0.157843652]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'DOCUMENT_SELECTION'
        Shortcut: 'Ctrl+A'
        Taborder: 6
        Title: '全选'
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuCreate_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#parent: ListData
Response OnClick () id:Response_ListData_MenuCreate_OnClick
{
  #keys: '[414702.0.157756457]'
  CanBindMultiple: false
  DefinitionID => /ListData/Responsedef_ListData_WebMenu_OnClick
  Initiator: 'MenuCreate'
  QuillAction
  {
    Body:
    [*
      dlg := construct( DialogCreateEditPanelPullPlanReport );
      dlg.New();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuDelete_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,18 @@
Quintiq file version 2.0
#parent: ListData
Response OnClick (
  PanelMaterial selection
) id:Response_ListData_MenuDelete_OnClick
{
  #keys: '[414702.0.156337739]'
  DefinitionID => /ListData/Responsedef_ListData_WebMenu_OnClick
  Initiator: 'MenuDelete'
  QuillAction
  {
    Body:
    [*
      selection.Delete();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuEdit_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,20 @@
Quintiq file version 2.0
#parent: ListData
Response OnClick (
  PanelMaterial selection
) id:Response_ListData_MenuEdit_OnClick
{
  #keys: '[414702.0.158297460]'
  CanBindMultiple: false
  DefinitionID => /ListData/Responsedef_ListData_WebMenu_OnClick
  Initiator: 'MenuEdit'
  QuillAction
  {
    Body:
    [*
      dlg := construct( DialogCreateEditPanelPullPlanReport );
      dlg.Edit( selection );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_ListData_MenuSelectAll_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,17 @@
Quintiq file version 2.0
#parent: ListData
Response OnClick () id:Response_ListData_MenuSelectAll_OnClick
{
  #keys: '[414702.0.158466175]'
  CanBindMultiple: false
  DefinitionID => /ListData/Responsedef_ListData_WebMenu_OnClick
  Initiator: 'MenuSelectAll'
  QuillAction
  {
    Body:
    [*
      this.SelectAll();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/Response_PanelFunctionButtons_ButtonRefresh_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,24 @@
Quintiq file version 2.0
#parent: PanelFunctionButtons/ButtonRefresh
Response OnClick () id:Response_PanelFunctionButtons_ButtonRefresh_OnClick
{
  #keys: '[414702.0.156301340]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not isnull( GlobalOTDTable ) and not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      GlobalOTDTable.PanelMaterial( relflush );
      GlobalOTDTable.RefreshPanelMaterialData( MacroPlan );
      WebMessageBox::Success( "刷新成功!", true );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormPanelPullPlanReport/_ROOT_Component_FormPanelPullPlanReport.def
@@ -5,4 +5,13 @@
{
  #keys: '[414702.0.142531280]'
  BaseType: 'WebForm'
  Children:
  [
    #child: PanelPanelPullPlanReport
  ]
  Properties:
  [
    Image: 'TABLET_COMPUTER'
    Title: '面板拉料计划报表'
  ]
}