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

📄 mrp_qry_analyzercapacity_new.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Qry_AnalyzerCapacity_New: TFrm_Mrp_Qry_AnalyzerCapacity_New
  Left = 25
  Caption = '能力需求计划表(日/周/月)'
  ClientHeight = 443
  ClientWidth = 725
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 725
    inherited ToolBar: TToolBar
      inherited TlBtn_Filter: TToolButton
        Visible = False
      end
      inherited TlBtn_Locate: TToolButton
        Visible = False
      end
      inherited TlBtn_Order: TToolButton
        Visible = False
      end
      inherited ToolButton2: TToolButton
        Visible = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Width = 725
    Caption = '能力需求计划表(日/周/月)'
  end
  inherited Pnl_Head: TPanel
    Width = 725
    inherited Lbl_OrderTitle: TLabel
      Visible = False
    end
    inherited Lbl_ConditionTitle: TLabel
      Visible = False
    end
    inherited Lbl_Condition: TLabel
      Left = 17
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Width = 84
      Caption = '完工日期/周/月'
      Visible = False
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 424
    Width = 725
    Height = 19
  end
  inherited Pnl_Body: TPanel
    Width = 725
    Height = 327
    inherited DBGridEh: TDBGridEh
      Width = 725
      Height = 327
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      OnDblClick = Act_LookExecute
      FooterRowCount = 1
      SumList.Active = True
      Columns = <
        Item
          FieldName = 'amodate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '完工日期(日/周/月)'
          Width = 150
          Footer.Alignment = taCenter
          Footer.Color = clYellow
          Footer.ValueType = fvtStaticText
          Footer.FieldName = 'amodate'
          Footer.Value = '合计'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'mohours'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '需求工时'
          Width = 80
          Footer.Alignment = tArightJustify
          Footer.Color = clYellow
          Footer.ValueType = fvtSum
          Footer.FieldName = 'mohours'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Capacityhours'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '额定工时'
          Width = 80
          Footer.Alignment = tArightJustify
          Footer.Color = clYellow
          Footer.ValueType = fvtSum
          Footer.FieldName = 'Capacityhours'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'sumhours'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '超负荷能力'
          Width = 80
          Footer.Alignment = tArightJustify
          Footer.Color = clYellow
          Footer.ValueType = fvtSum
          Footer.FieldName = 'sumhours'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OverCapacityrate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '超能力比率(%)'
          Width = 120
          Footer.Alignment = tArightJustify
          Footer.Color = clYellow
          Footer.ValueType = fvtSum
          Footer.FieldName = 'OverCapacityrate'
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 397
    Top = 163
  end
  inherited ActionList: TActionList
    Left = 408
    Top = 128
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdysjmrm;Data Source=192.168.0.1' +
      '51;Use procedure for Prepare=1;Auto Translate=True;Packet Size=4' +
      '096;Workstation ID=XYB'
    CurSorType = ctStatic
    SQL.Strings = (
      
        '  select substring(amodate,1,5) amodate,(Capacityhours+sumhours)' +
        ' mohours,Capacityhours,sumhours'
      
        '        ,((sumhours-Capacityhours)*100/Capacityhours) OverCapaci' +
        'tyrate'
      
        '  from Capacityweek where flag=0 and mohours is not null and amo' +
        'date is not null'
      '  union'
      
        '  select substring(amodate,1,5) amodate,mohours,Capacityhours,su' +
        'mhours,'#39'-100'#39' OverCapacityrate'
      
        '  from  Capacityweek where sumhours is null and amodate is not n' +
        'ull')
    Left = 304
    Top = 153
  end
  inherited DataSource: TDataSource
    Left = 320
    Top = 209
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 344
    Top = 129
  end
end

⌨️ 快捷键说明

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