lazhen
2024-06-05 9937bc6ade404aeb257bfef05d5047d8b07dd38c
换型损失设置前端建dialog
已添加7个文件
已修改4个文件
172 ■■■■■ 文件已修改
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupRestraint.def 24 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageRestraint.def 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageScenarioSelection.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_applicationDevelopmentActionBarPageDef#1.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_applicationFixedPageActionBarPageDef.def 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeLossSetting_OnClic.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Method_New.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormChangeLossSetting/Component_ListChangeLossSetting.def 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/Change_loss_setting_view.vw 82 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarGroupRestraint.def
对比新文件
@@ -0,0 +1,24 @@
Quintiq file version 2.0
Component ActionBarGroupRestraint
{
  #keys: '[415136.0.747550191]'
  BaseType: 'WebActionBarGroup'
  Children:
  [
    Component ButtonChangeLossSetting
    {
      #keys: '[415136.0.747550259]'
      BaseType: 'WebButton'
      Properties:
      [
        Image: 'GEAR'
        Label: 'Change loss setting'
        Taborder: 0
      ]
    }
  ]
  Properties:
  [
    Taborder: 0
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageRestraint.def
对比新文件
@@ -0,0 +1,15 @@
Quintiq file version 2.0
Component ActionBarPageRestraint
{
  #keys: '[415136.0.747550190]'
  BaseType: 'WebActionBarPage'
  Children:
  [
    #child: ActionBarGroupRestraint
  ]
  Properties:
  [
    Taborder: 18
    Title: 'Restraint'
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_ActionBarPageScenarioSelection.def
对比新文件
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component ActionBarPageScenarioSelection #extension
{
  Properties:
  [
    Taborder: 20
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_applicationDevelopmentActionBarPageDef#1.def
对比新文件
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component applicationDevelopmentActionBarPageDef id:applicationDevelopmentActionBarPageDef_1 #extension
{
  Properties:
  [
    Taborder: 19
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Component_applicationFixedPageActionBarPageDef.def
对比新文件
@@ -0,0 +1,8 @@
Quintiq file version 2.0
Component applicationFixedPageActionBarPageDef #extension
{
  Properties:
  [
    Taborder: 21
  ]
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeLossSetting_OnClic.def
对比新文件
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: ActionBarGroupRestraint/ButtonChangeLossSetting
Response OnClick () id:Response_MacroPlanner_ActionBarGroupRestraint_ButtonChangeLossSetting_OnClick
{
  #keys: '[415136.0.748214014]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      ApplicationScope.ViewManager().ResetUserViewById( "Change_loss_setting_view", true);
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/_ROOT_Component_ApplicationMacroPlanner.def
@@ -13,6 +13,10 @@
        #child: ActionBarPageSales
        #child: applicationConfigureActionBarPageDef
        #child: ActionBarPageInventory
        #child: ActionBarPageRestraint
        #child: ActionBarPageScenarioSelection
        #child: applicationFixedPageActionBarPageDef
        #child: applicationDevelopmentActionBarPageDef_1
      ]
    }
    Component dhBinaryDataPR id:dhBinaryDataPR_688
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Component_pnlContent.def
@@ -19,7 +19,6 @@
          Properties:
          [
            DataType: 'MacroPlan'
            FixedFilter: "object.CapacityType() = 'Time'"
            Source: 'MacroPlan'
            Taborder: 0
            Transformation: 'Unit'
@@ -29,7 +28,7 @@
      Properties:
      [
        DataBinding: 'dhDialogData.Data.Unit'
        Label: 'Line'
        Label: 'Unit'
        Taborder: 0
      ]
    }
_Main/UI/MacroPlannerWebApp/Component_DialogCreateEditChangeLossSetting/Method_New.def
@@ -9,7 +9,7 @@
  [*
    // To create a new product
    owner := LibCal_GlobalState.dhGlobalCalendarRegistry().Data();
    obj := MacroPlan.ChangeLossSetting( relshadow, Line := '', Product1 := '', Product2 := '' );
    obj := MacroPlan.ChangeLossSetting( relshadow );
    
    dhDialogData.Data( &obj );
    
_Main/UI/MacroPlannerWebApp/Component_FormChangeLossSetting/Component_ListChangeLossSetting.def
@@ -28,7 +28,7 @@
      ]
      Properties:
      [
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Line","title":"Line","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Line"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Product1","title":"Product1","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Product1"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Product2","title":"Product2","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Product2"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ChangeLossNr","title":"ChangeLossNr","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ChangeLossNr"}}]'
        Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Unit.ID","title":"Unit","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"Unit.ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductFirst.ID","title":"Product1","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductFirst.ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductSecond.ID","title":"Product2","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductSecond.ID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ChangeLossNr","title":"ChangeLossNr","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ChangeLossNr"}}]'
        ContextMenu: 'listContextMenuChangeLossSetting'
        Taborder: 2
      ]
_Main/UI/MacroPlannerWebApp/Views/Change_loss_setting_view.vw
对比新文件
@@ -0,0 +1,82 @@
Quintiq file version 2.0
{
  viewcontents
  {
    forms
    {
      form_FormChangeLossSetting
      {
        title: 'QMacroPlanner::FormChangeLossSetting'
        shown: true
        componentID: 'QMacroPlanner::FormChangeLossSetting'
        layout
        {
          mode: 'open'
          rowPosition: 1
          rowSpan: 15
          columnPosition: 1
          columnSpan: 12
        }
        components
        {
          FormChangeLossSetting_ListChangeLossSetting
          {
          }
          FormChangeLossSetting_DataSetLevelChangeLossSetting
          {
            groupDepth: -1
            column_Unit_ID
            {
              columnId: 'Unit.ID'
              dataPath: 'Unit.ID'
              dataType: 'string'
              index: 0
              subtotals: ''
              width: 150
            }
            column_ProductFirst_ID
            {
              columnId: 'ProductFirst.ID'
              dataPath: 'ProductFirst.ID'
              dataType: 'string'
              index: 1
              subtotals: ''
              width: 150
            }
            column_ProductSecond_ID
            {
              columnId: 'ProductSecond.ID'
              dataPath: 'ProductSecond.ID'
              dataType: 'string'
              index: 2
              subtotals: ''
              width: 150
            }
            column_ChangeLossNr
            {
              columnId: 'ChangeLossNr'
              dataPath: 'ChangeLossNr'
              dataType: 'number'
              index: 3
              subtotals: ''
              width: 150
            }
          }
        }
      }
    }
    userconfigurableinformation
    {
    }
    page: ''
    group: ''
    index: 15
    image: 'GEAR'
    description: ''
  }
  formatversion: 2
  id: 'Change_loss_setting_view'
  name: 'Change loss setting view'
  isglobal: false
  isroot: true
}