lazhen
2024-07-12 1e51fbda78f4782a252c5ad187064e96934a1eca
_Main/UI/MacroPlannerWebApp/Views/Engine_pipleline_report.vw
@@ -61,29 +61,13 @@
                {
                  attributes
                  {
                    attribute_ProductionQuantity
                    attribute_Value
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 0
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'ProductionQuantity'
                    }
                    attribute_DemandQuantity
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 1
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'DemandQuantity'
                    }
                    attribute_InventoryQuantity
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 2
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'InventoryQuantity'
                      attribute: 'Value'
                    }
                  }
                }
@@ -106,122 +90,152 @@
          }
        }
      }
      form_FormEnginePipelineProduction
      form_FormMachiningPipelineReport
      {
        title: 'QMacroPlanner::FormEnginePipelineProduction'
        title: 'QMacroPlanner::FormMachiningPipelineReport'
        shown: true
        componentID: 'QMacroPlanner::FormEnginePipelineProduction'
        componentID: 'QMacroPlanner::FormMachiningPipelineReport'
        layout
        {
          mode: 'open'
          rowPosition: 16
          rowSpan: 6
          rowSpan: 19
          columnPosition: 1
          columnSpan: 6
          columnSpan: 12
        }
        components
        {
          FormEnginePipelineProduction_ListEnginePipelineProduction
          FormMachiningPipelineReport_PanelHeader
          {
            sizeRatio: 1
          }
          FormEnginePipelineProduction_DataSetLevelEnginePipelineProduction
          FormMachiningPipelineReport_PanelSearch
          {
            groupDepth: -1
            column_EngineType
            {
              columnId: 'EngineType'
              dataPath: 'EngineType'
              dataType: 'string'
              index: 0
              subtotals: ''
              width: 150
            }
            column_Period
            {
              columnId: 'Period'
              dataPath: 'Period'
              dataType: 'date'
              index: 1
              subtotals: ''
              width: 150
            }
            column_DLProduction
            {
              columnId: 'DLProduction'
              dataPath: 'DLProduction'
              dataType: 'real'
              index: 2
              subtotals: ''
              width: 150
            }
            column_CCProduction
            {
              columnId: 'CCProduction'
              dataPath: 'CCProduction'
              dataType: 'real'
              index: 3
              subtotals: ''
              width: 150
            }
            sizeRatio: 1
          }
        }
      }
      form_FormEnginePipelineDemand
      {
        title: 'QMacroPlanner::FormEnginePipelineDemand'
        shown: true
        componentID: 'QMacroPlanner::FormEnginePipelineDemand'
        layout
        {
          mode: 'open'
          rowPosition: 16
          rowSpan: 6
          columnPosition: 7
          columnSpan: 6
        }
        components
        {
          FormEnginePipelineDemand_ListEnginePipelineDemand
          FormMachiningPipelineReport_PanelPeriod
          {
            sizeRatio: 1
          }
          FormEnginePipelineDemand_DataSetLevelEnginePipelineDemand
          FormMachiningPipelineReport_PanelTimeUnit
          {
            groupDepth: -1
            column_EngineType
            sizeRatio: 1
          }
          FormMachiningPipelineReport_PanelExport
          {
            sizeRatio: 1
          }
          FormMachiningPipelineReport_PanelTable
          {
            sizeRatio: 1
          }
          FormMachiningPipelineReport_MatrixEditorTable
          {
            gridColor: '#c4c4c4'
            totalHeaderWidth: 200
            attributeHeaderWidthRatio: 0.6
            nameHeaderWidthRatio: 0.4
            columnWidth: 100
            horizontalGrid: true
            verticalGrid: true
            backendState
            {
              columnId: 'EngineType'
              dataPath: 'EngineType'
              dataType: 'string'
              index: 0
              subtotals: ''
              width: 150
            }
            column_Model
            {
              columnId: 'Model'
              dataPath: 'Model'
              dataType: 'string'
              index: 1
              subtotals: ''
              width: 150
            }
            column_Period
            {
              columnId: 'Period'
              dataPath: 'Period'
              dataType: 'date'
              index: 2
              subtotals: ''
              width: 150
            }
            column_Quantity
            {
              columnId: 'Quantity'
              dataPath: 'Quantity'
              dataType: 'real'
              index: 3
              subtotals: ''
              width: 150
              componentId: 'QMacroPlanner::FormMachiningPipelineReport.MatrixEditorTable'
              state
              {
                cells
                {
                  attributes
                  {
                    attribute_CCAssemblyPlanQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 0
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'CCAssemblyPlanQty'
                    }
                    attribute_CCProductionQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 1
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'CCProductionQty'
                    }
                    attribute_CCTransferQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 2
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'CCTransferQty'
                    }
                    attribute_CCInventoryQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 3
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'CCInventoryQty'
                    }
                    attribute_DLAssemblyPlanQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 4
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'DLAssemblyPlanQty'
                    }
                    attribute_DLProductionQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 5
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'DLProductionQty'
                    }
                    attribute_DLTransferQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 6
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'DLTransferQty'
                    }
                    attribute_DLInventoryQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 7
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'DLInventoryQty'
                    }
                    attribute_TotalInventoryQty
                    {
                      type: 'MatrixEditorWebApiCellDataModelInterest'
                      index: 8
                      rowsubtotal: ''
                      columnsubtotal: ''
                      attribute: 'TotalInventoryQty'
                    }
                  }
                }
                columns
                {
                  sorting
                  {
                    criteria: "datamember:'Index'"
                  }
                }
                rows
                {
                  sorting
                  {
                    criteria: "datamember:'RowNr'"
                  }
                }
              }
            }
          }
        }