⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pm_qry_analyzerpoenteritem.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Pm_Qry_AnalyzerPoEnterItem: TFrm_Pm_Qry_AnalyzerPoEnterItem
  Left = 69
  Top = 94
  Caption = '物料月度采购数量/价格/金额分析'
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_SetColumn: TToolButton
        Visible = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '物料月度采购数量/价格/金额分析'
  end
  inherited Pnl_Head: TPanel
    Height = 4
    inherited Image1: TImage
      Height = 4
    end
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Width = 48
      Caption = '物料代码'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 384
    Height = 45
    inherited Image4: TImage
      Height = 45
    end
    object Label3: TLabel
      Left = 48
      Top = 24
      Width = 48
      Height = 12
      Caption = '年累计:'
    end
    object dbtxtfYearCount: TDBText
      Left = 96
      Top = 23
      Width = 90
      Height = 12
      AutoSize = True
      DataField = 'YearCount'
      DataSource = DataSource
    end
    object dbtxtItemflag: TDBText
      Left = 96
      Top = 6
      Width = 78
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
    end
    object Label1: TLabel
      Left = 36
      Top = 7
      Width = 60
      Height = 12
      Caption = '物料标识:'
    end
  end
  inherited Pnl_Body: TPanel
    Top = 61
    Height = 323
    inherited Image3: TImage
      Height = 323
    end
    inherited DBGridEh: TDBGridEh
      Height = 323
      OnDblClick = Act_LookExecute
      FrozenCols = 4
      UseMultiTitle = True
      Columns = <
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Width = 101
          Footer.FieldName = 'ItemCode'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Width = 191
          Footer.FieldName = 'ItemName'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Caption = '单位'
          Width = 28
          Footer.FieldName = 'UomName'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ordinal'
          PickList.Strings = (
            '数量'
            '价格'
            '金额')
          Title.Caption = '量价额标识'
          Width = 80
          Footer.FieldName = 'ordinal'
          KeyList.Strings = (
            '0'
            '1'
            '2')
        end
        Item
          FieldName = 'YearCount'
          PickList.Strings = ()
          ReadOnly = False
          Width = 68
          Footer.FieldName = 'YearCount'
          KeyList.Strings = ()
        end
        Item
          FieldName = '1月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '1月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '2月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '2月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '3月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '3月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '4月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '4月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '5月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '5月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '6月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '6月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '7月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '7月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '8月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '8月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '9月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '9月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '10月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '10月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '11月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '11月'
          KeyList.Strings = ()
        end
        Item
          FieldName = '12月'
          PickList.Strings = ()
          Width = 58
          Footer.FieldName = '12月'
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 197
    Top = 147
  end
  inherited ActionList: TActionList
    Top = 200
    inherited Act_Look: TAction
      Caption = '查看明细'
      Enabled = True
      Hint = '查看明细(Enter)'
      Visible = True
      OnExecute = Act_LookExecute
    end
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=NT2'
    CurSorType = ctStatic
    SQL.Strings = (
      'select ItemCode,'
      '       ItemName,'
      '       Itemflag=ItemCode+'#39' '#39'+ItemName,'
      '       UomName,ordinal=1,YearCount=convert(float,1.0),'
      '       [1月]=1.9,'
      '       [2月]=1.9,'
      '[3月]=1.9,'
      '[4月]=1.9,'
      '[5月]=1.9,'
      '[6月]=1.9,'
      '[7月]=1.9,'
      '[8月]=1.9,'
      '[9月]=1.9,'
      '[10月]=1.9,'
      '[11月]=1.9,'
      '[12月]=1.9'
      'from Item,Uom'
      'where Item.UomCode=Uom.UomCode'
      'and   1=1')
    Top = 145
    object AdoQry_MainItemCode: TStringField
      DisplayLabel = '物料代码'
      FieldName = 'ItemCode'
      Origin = '#tmpItem'
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      DisplayLabel = '物料描述'
      FieldName = 'ItemName'
      Origin = '#tmpItem'
      Size = 60
    end
    object AdoQry_MainUomName: TStringField
      DisplayLabel = '计量单位'
      FieldName = 'UomName'
      Origin = '#tmpItem'
      Size = 10
    end
    object AdoQry_Mainordinal: TIntegerField
      DisplayLabel = '标识'
      FieldName = 'ordinal'
      Origin = '#tmpItem'
      ReadOnly = True
    end
    object AdoQry_MainDSDesigner1: TBCDField
      FieldName = '1月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner2: TBCDField
      FieldName = '2月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner3: TBCDField
      FieldName = '3月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner4: TBCDField
      FieldName = '4月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner5: TBCDField
      FieldName = '5月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner6: TBCDField
      FieldName = '6月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner7: TBCDField
      FieldName = '7月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner8: TBCDField
      FieldName = '8月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner9: TBCDField
      FieldName = '9月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner10: TBCDField
      FieldName = '10月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner11: TBCDField
      FieldName = '11月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainDSDesigner12: TBCDField
      FieldName = '12月'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainYearCount: TBCDField
      DisplayLabel = '年累计'
      DisplayWidth = 12
      FieldName = 'YearCount'
      Origin = '#tmpItem'
      ReadOnly = True
      Precision = 2
      Size = 12
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
  end
  inherited DataSource: TDataSource
    Left = 368
    Top = 145
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 272
    Top = 249
  end
end

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -