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

📄 mrp_qry_analyzercapacity_h_new.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Qry_AnalyzerCapacity_H_New: TFrm_Mrp_Qry_AnalyzerCapacity_H_New
  Left = 7
  Top = 126
  Caption = '能力需求计划表(日/周/月)'
  Windowstate = wsMaximized
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited Pnl_Title: TPanel
    Caption = '能力需求计划表(日/周/月)'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Width = 72
      Caption = '工作中心代码'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 410
    Height = 31
    object Label1: TLabel
      Left = 24
      Top = 13
      Width = 108
      Height = 12
      Caption = '当前工作中心代码:'
    end
    object dbtxtwcflag: TDBText
      Left = 136
      Top = 13
      Width = 66
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Height = 313
    inherited DBGridEh: TDBGridEh
      Height = 313
      ReadOnly = False
      OnDblClick = Act_LookExecute
      Columns = <
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 79
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 117
          Visible = False
          KeyList.Strings = ()
        end
        Item
          Alignment = taLeftJustify
          FieldName = 'Capacityhours'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '工作中心能力(日)'
          Width = 100
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsType'
          PickList.Strings = (
            'MO准备'
            'MO下达'
            'PO准备'
            'PO下达'
            '系统建议'
            '全部')
          Title.Alignment = taCenter
          KeyList.Strings = (
            'MO准备'
            'MO下达'
            'PO准备'
            'PO下达'
            '系统建议'
            '全部')
          DblClickNextVal = True
        end
        Item
          FieldName = 'dateType'
          PickList.Strings = (
            '日'
            '周'
            '月')
          Title.Alignment = taCenter
          Width = 43
          KeyList.Strings = (
            '日'
            '周'
            '月')
          DblClickNextVal = True
        end
        Item
          FieldName = 'modate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 67
          KeyList.Strings = ()
          DblClickNextVal = True
        end>
    end
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=NT2;Use Proc' +
      'edure for Prepare=1;Auto Translate=True;Packet Size=4096;Worksta' +
      'tion ID=XYB'
    CurSorType = ctStatic
    SQL.Strings = (
      'select it.ItemCode,it.ItemName,'
      '       Itemflag=it.ItemCode+'#39' '#39'+it.ItemName,'
      '       it.Capacityhours,'
      
        '       '#39'系统建议'#39' as MpsType,'#39'月'#39' as dateType,getdate() as modat' +
        'e'
      'from Item it(nolock)'
      'where it.ItemType=1'
      ' and  it.Capacityhours>0')
    Left = 304
    Top = 249
    object AdoQry_HeadItemCode: TStringField
      DisplayLabel = '工作中心代码'
      FieldName = 'ItemCode'
      Origin = '#tmp'
      Size = 16
    end
    object AdoQry_HeadItemName: TStringField
      DisplayLabel = '工作中心描述'
      FieldName = 'ItemName'
      Origin = '#tmp'
      Size = 60
    end
    object AdoQry_HeadCapacityhours: TFloatField
      DisplayLabel = '工作中心能力'
      FieldName = 'Capacityhours'
      Origin = '#tmp'
    end
    object AdoQry_HeadMpsType: TStringField
      DisplayLabel = '计划类型'
      FieldName = 'MpsType'
      Origin = '#tmp'
      Size = 8
    end
    object AdoQry_HeaddateType: TStringField
      DisplayLabel = '阶段'
      FieldName = 'dateType'
      Origin = '#tmp'
      Size = 2
    end
    object AdoQry_Headmodate: TDateTimeField
      DisplayLabel = '开始日期'
      FieldName = 'modate'
      Origin = '#tmp'
    end
    object AdoQry_HeadItemflag: TStringField
      DisplayLabel = '工作中心标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
  end
end

⌨️ 快捷键说明

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