admin
2024-07-25 f8cbed6c69c351f1607d3e5f35f0d70f2bb5eaac
添加视图
已修改3个文件
已添加1个文件
128 ■■■■■ 文件已修改
_Main/BL/Type_ActualDailyProductionReport/StaticMethod_Synchronize.qbl 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Component_PanelRibbon504.def 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Response_PanelRibbon504_ButtonRibbon_OnClick.def 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/UI/MacroPlannerWebApp/Views/OfflinePlanComparisonReport.vw 100 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
_Main/BL/Type_ActualDailyProductionReport/StaticMethod_Synchronize.qbl
@@ -25,7 +25,7 @@
      cnv2.SetCustomConversion();
      cnv2.CustomFormatString( 'yyyy-MM-dd' );
      
      info( data.AsString() );
    }
  *]
}
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Component_PanelRibbon504.def
@@ -52,6 +52,16 @@
        Taborder: 2
      ]
    }
    Component ButtonRibbon
    {
      #keys: '[415720.0.38711791]'
      BaseType: 'WebButton'
      Properties:
      [
        Label: '瀹為檯鐢熶骇鏁版嵁鎺ュ彛鍚屾'
        Taborder: 3
      ]
    }
  ]
  Properties:
  [
_Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanComparison/Response_PanelRibbon504_ButtonRibbon_OnClick.def
对比新文件
@@ -0,0 +1,16 @@
Quintiq file version 2.0
#parent: PanelRibbon504/ButtonRibbon
Response OnClick () id:Response_PanelRibbon504_ButtonRibbon_OnClick
{
  #keys: '[415720.0.38711805]'
  CanBindMultiple: false
  DefinitionID: 'Responsedef_WebButton_OnClick'
  QuillAction
  {
    Body:
    [*
      ActualDailyProductionData::Synchronize( MacroPlan,InterfaceDataset );
    *]
    GroupServerCalls: false
  }
}
_Main/UI/MacroPlannerWebApp/Views/OfflinePlanComparisonReport.vw
@@ -2,6 +2,106 @@
{
  viewcontents
  {
    forms
    {
      form_FormOfflinePlanComparison
      {
        title: 'QMacroPlanner::FormOfflinePlanComparison'
        shown: true
        componentID: 'QMacroPlanner::FormOfflinePlanComparison'
        layout
        {
          mode: 'open'
          rowPosition: 1
          rowSpan: 27
          columnPosition: 1
          columnSpan: 9
        }
        components
        {
          FormOfflinePlanComparison_PanelRibbon
          {
            sizeRatio: 1
          }
          FormOfflinePlanComparison_PanelRibbon504
          {
            sizeRatio: 1
          }
          FormOfflinePlanComparison_PanelFilter
          {
            sizeRatio: 1
          }
          FormOfflinePlanComparison_PanelDemandComparison
          {
            sizeRatio: 1
          }
          FormOfflinePlanComparison_MatrixEditor
          {
            gridColor: '#c4c4c4'
            totalHeaderWidth: 200
            attributeHeaderWidthRatio: 0.6
            nameHeaderWidthRatio: 0.4
            columnWidth: 100
            horizontalGrid: true
            verticalGrid: true
            backendState
            {
              componentId: 'QMacroPlanner::FormOfflinePlanComparison.MatrixEditor'
              state
              {
                cells
                {
                  attributes
                  {
                    attribute_Plan
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 0
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'Plan'
                    }
                    attribute_Actual
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 1
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'Actual'
                    }
                    attribute_Gap
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 2
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'Gap'
                    }
                  }
                }
                columns
                {
                  sorting
                  {
                    criteria: "datamember:'Index'"
                  }
                }
                rows
                {
                  sorting
                  {
                    criteria: "datamember:'Index'"
                  }
                }
              }
            }
          }
        }
      }
    }
    userconfigurableinformation
    {
    }
    page: ''
    group: ''
    index: 0