lihongji
2024-11-01 25d3df58fde1af7ed6dcfbb040fa3974ca7675d3
BUG修复
已添加10个文件
已修改4个文件
233 ■■■■■ 文件已修改
_Main/BL/Type_MacroPlan/Attribute_A_Attribute.qbl 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Component_pnlActions.def 40 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Component_pnlContent.def 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Method_AttributeConfiguration.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Method_OnOK.def 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Response_pnlActions_btnCancel_OnClick.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Response_pnlActions_btnOk_OnClick.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/_ROOT_Component_DialogAttributeConfiguration.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEdit/Method_Edit.def 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEdit/Response_pnlActions_btnOk_OnClick.def 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEdit/_ROOT_Component_DialogCreateEditTransferMinimumQuantity.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormNewOfflinePlan/Component_matrixeditorContextMenu229.def 22 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormNewOfflinePlan/Response_matrixeditorContextMenu229_mAttributeConfiguration_OnClick.def 26 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormNewOfflinePlan/Response_matrixeditorContextMenu229_mAttributeConfirm_OnClick.def 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_MacroPlan/Attribute_A_Attribute.qbl
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,8 @@
Quintiq file version 2.0
#parent: #root
Attribute A_Attribute
{
  #keys: '3[413988.1.49000093][413988.1.49000092][413988.1.49000094]'
  Description: '下线计划属性'
  ValueType: String
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Component_pnlActions.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,40 @@
Quintiq file version 2.0
Component pnlActions
{
  #keys: '[413988.1.49241961]'
  BaseType: 'WebPanel'
  Children:
  [
    Component btnOk
    {
      #keys: '[413988.1.49241965]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'OK'
        Taborder: 0
      ]
    }
    Component btnCancel
    {
      #keys: '[413988.1.49241967]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: 'Cancel'
        Taborder: 1
      ]
    }
  ]
  Properties:
  [
    Alignment: 'trailing'
    Border: true
    ExcludeFromActiveComponent: true
    FixedSize: true
    Orientation: 'horizontal'
    Padding: 'true'
    Style: 'footer'
    Taborder: 1
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Component_pnlContent.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,25 @@
Quintiq file version 2.0
Component pnlContent
{
  #keys: '[413988.1.49241959]'
  BaseType: 'WebPanel'
  Children:
  [
    Component efAttribute
    {
      #keys: '[413988.1.49242061]'
      BaseType: 'WebEditField'
      Properties:
      [
        DataBinding: 'MacroPlan.A_Attribute'
        Label: 'Attribute'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Padding: 'true'
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Method_AttributeConfiguration.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,10 @@
Quintiq file version 2.0
#parent: #root
Method AttributeConfiguration () id:Method_DialogAttributeConfiguration_AttributeConfiguration
{
  #keys: '[413988.1.49242189]'
  Body:
  [*
    ApplicationMacroPlanner.ShowFormModal( this );
  *]
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Method_OnOK.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,11 @@
Quintiq file version 2.0
#parent: #root
Method OnOK () id:Method_DialogAttributeConfiguration_OnOK
{
  #keys: '[413988.1.49662482]'
  Body:
  [*
    Form.ApplyChanges();
    Form.Close();
  *]
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/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: '[413988.1.49241971]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  GroupServerCalls: true
  QuillAction
  {
    Body:
    [*
      Form.Close();
    *]
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/Response_pnlActions_btnOk_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,15 @@
Quintiq file version 2.0
#parent: pnlActions/btnOk
Response OnClick () id:Response_pnlActions_btnOk_OnClick
{
  #keys: '[413988.1.49241970]'
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      Form.OnOK();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_DialogAttributeConfiguration/_ROOT_Component_DialogAttributeConfiguration.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,22 @@
Quintiq file version 2.0
#root
#parent: MacroPlannerWebApp
OrphanComponent DialogAttributeConfiguration
{
  #keys: '[413988.1.49241957]'
  BaseType: 'WebForm'
  Children:
  [
    #child: pnlContent
    #child: pnlActions
  ]
  Properties:
  [
    Alignment: 'trailing'
    EnterButton: 'btnOk'
    EscapeButton: 'btnCancel'
    ExcludeFromActiveComponent: true
    Padding: 'false'
    Title: 'Attribute configuration'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEdit/Method_Edit.def
@@ -7,6 +7,8 @@
  #keys: '[413988.0.1584413050]'
  Body:
  [*
    IsEdit.Data( selection );
    data := shadow( selection );
    
    DataHolderDialogData.Data( &data );
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEdit/Response_pnlActions_btnOk_OnClick.def
@@ -6,8 +6,7 @@
  DefinitionID: 'Responsedef_WebButton_OnClick'
  Precondition:
  [*
    return not exists( MacroPlan, TransferMinimumQuantity, tempTMQ, tempTMQ.Factory() = ddslFactory.Text() and
                       tempTMQ.ProductID() = ddslProductID.Text() );
    return not exists( MacroPlan, TransferMinimumQuantity, tempTMQ, tempTMQ <> IsEdit.Data(), tempTMQ.Factory() = ddslFactory.Text() and tempTMQ.ProductID() = ddslProductID.Text() );
  *]
  QuillAction
  {
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEdit/_ROOT_Component_DialogCreateEditTransferMinimumQuantity.def
@@ -19,6 +19,16 @@
        Taborder: 2
      ]
    }
    Component IsEdit
    {
      #keys: '[413988.1.43032855]'
      BaseType: 'WebDataHolder'
      Databinding: 'TransferMinimumQuantity'
      Properties:
      [
        Taborder: 3
      ]
    }
  ]
  Properties:
  [
_Main/UI/MacroPlannerWebApp/Component_FormNewOfflinePlan/Component_matrixeditorContextMenu229.def
@@ -37,6 +37,28 @@
        Title: '重置存档(测试专用)'
      ]
    }
    Component mAttributeConfiguration
    {
      #keys: '[413988.1.49220518]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'ATTRIBUTE'
        Taborder: 5
        Title: '属性配置'
      ]
    }
    Component mAttributeConfirm
    {
      #keys: '[413988.1.51331501]'
      BaseType: 'WebMenu'
      Properties:
      [
        Image: 'EDITOR_ACCESSIBILITY_WORLD'
        Taborder: 6
        Title: '属性确认'
      ]
    }
  ]
  Properties:
  [
_Main/UI/MacroPlannerWebApp/Component_FormNewOfflinePlan/Response_matrixeditorContextMenu229_mAttributeConfiguration_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,26 @@
Quintiq file version 2.0
#parent: matrixeditorContextMenu229/mAttributeConfiguration
Response OnClick () id:Response_matrixeditorContextMenu229_mAttributeConfiguration_OnClick
{
  #keys: '[413988.1.47880371]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      if ( MacroPlan.A_Attribute() = "" ) {
        MacroPlan.A_Attribute( "Quantity;Order" );
      }
      dlg := construct( DialogAttributeConfiguration );
      dlg.AttributeConfiguration();
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_FormNewOfflinePlan/Response_matrixeditorContextMenu229_mAttributeConfirm_OnClick.def
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,24 @@
Quintiq file version 2.0
#parent: matrixeditorContextMenu229/mAttributeConfirm
Response OnClick () id:Response_matrixeditorContextMenu229_mAttributeConfirm_OnClick
{
  #keys: '[413988.1.51331756]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebMenu_OnClick'
  Precondition:
  [*
    return not isnull( MacroPlan );
  *]
  QuillAction
  {
    Body:
    [*
      if ( MacroPlan.A_Attribute() = "" ) {
        MacroPlan.A_Attribute( "Quantity;Order" );
      }
      MatrixEditor515.Attributes( MacroPlan.A_Attribute() );
    *]
    GroupServerCalls: false
  }
}