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

📄 mrp_qry_chginfomps.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Qry_ChgInfoMps: TFrm_Mrp_Qry_ChgInfoMps
  Left = -59
  Top = 110
  Caption = '主生产计划操作日志'
  ClientWidth = 804
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 804
  end
  inherited Pnl_Title: TPanel
    Width = 804
    Caption = '主生产计划操作日志'
    inherited Image2: TImage
      Width = 804
    end
  end
  inherited Pnl_Head: TPanel
    Width = 804
    inherited Image1: TImage
      Width = 804
    end
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Width = 72
      Caption = '主生产计划号'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 368
    Width = 804
    Height = 61
    inherited Image4: TImage
      Width = 804
      Height = 61
    end
    object dbtxtMpsid: TDBText
      Left = 108
      Top = 8
      Width = 60
      Height = 12
      AutoSize = True
      DataField = 'MpsId'
      DataSource = DataSource
      TransParent = True
    end
    object dbtxtItemflag: TDBText
      Left = 108
      Top = 24
      Width = 78
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
      TransParent = True
    end
    object Label1: TLabel
      Left = 42
      Top = 24
      Width = 60
      Height = 12
      Caption = '物料标识:'
      TransParent = True
    end
    object Label2: TLabel
      Left = 18
      Top = 8
      Width = 84
      Height = 12
      Caption = '主生产计划号:'
      TransParent = True
    end
    object Label3: TLabel
      Left = 30
      Top = 40
      Width = 72
      Height = 12
      Caption = '操作员标识:'
      TransParent = True
    end
    object dbtxTEmployeeflag: TDBText
      Left = 108
      Top = 40
      Width = 102
      Height = 12
      AutoSize = True
      DataField = 'Employeeflag'
      DataSource = DataSource
      TransParent = True
    end
  end
  inherited Pnl_Body: TPanel
    Width = 804
    Height = 271
    inherited Image3: TImage
      Width = 804
      Height = 271
    end
    inherited DBGridEh: TDBGridEh
      Width = 804
      Height = 271
      FrozenCols = 4
      Columns = <
        Item
          FieldName = 'MpsId'
          PickList.Strings = ()
          Width = 76
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Width = 200
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsQty'
          PickList.Strings = ()
          Width = 75
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsDate'
          PickList.Strings = ()
          Title.Caption = '需用日期'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsStatus'
          PickList.Strings = (
            '2 准备'
            '3 下达'
            '4 关闭')
          Width = 45
          KeyList.Strings = (
            '2'
            '3'
            '4')
        end
        Item
          FieldName = 'MpsRemArk'
          PickList.Strings = ()
          Width = 132
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgType'
          PickList.Strings = ()
          Width = 59
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgTime'
          PickList.Strings = ()
          Width = 120
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Employeeflag'
          PickList.Strings = ()
          Width = 88
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ChgEmployeeCode'
          PickList.Strings = ()
          Width = 65
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeName'
          PickList.Strings = ()
          Width = 67
          Visible = False
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Left = 200
    Top = 176
  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 MpsHistory.MpsId,'
      '       MpsHistory.ItemCode,'
      '       MpsHistory.MpsQty,'
      '       MpsHistory.MpsDate,'
      '       MpsHistory.MpsRemArk,'
      '       MpsHistory.MpSchgType,'
      '       MpsHistory.MpSchgTime,'
      '       MpsHistory.MpSchgEmployeeCode,'
      '       MpsHistory.MpsStatus,'
      '       Employee.EmployeeName,'
      '       Item.ItemName,'
      '       Itemflag=MpsHistory.ItemCode+'#39' '#39'+Item.ItemName,'
      
        '       Employeeflag=MpsHistory.MpSchgEmployeeCode+'#39' '#39'+Employee.e' +
        'mployeeName,'
      '       Item.UomCode,Uom.UomName'
      'From MpsHistory '
      'Join Item On MpsHistory.ItemCode=Item.ItemCode'
      'Join Uom On Item.UomCode=Uom.UomCode'
      
        'Join Employee On MpsHistory.MpSchgEmployeeCode=Employee.Employee' +
        'Code')
    Left = 296
    Top = 209
    object AdoQry_MainMpsId: TBCDField
      DisplayLabel = '主生产计划号'
      FieldName = 'MpsId'
      Origin = '#tmPmpshistory'
      Precision = 18
      Size = 0
    end
    object AdoQry_MainItemCode: TStringField
      DisplayLabel = '物料代码'
      FieldName = 'ItemCode'
      Origin = '#tmPmpshistory'
      Size = 16
    end
    object AdoQry_MainMpsDate: TDateTimeField
      DisplayLabel = '需求日期'
      FieldName = 'MpsDate'
      Origin = '#tmPmpshistory'
    end
    object AdoQry_MainMpsRemArk: TStringField
      DisplayLabel = '备注'
      FieldName = 'MpsRemArk'
      Origin = '#tmPmpshistory'
      Size = 70
    end
    object AdoQry_MainMpSchgType: TStringField
      DisplayLabel = '操作类型'
      FieldName = 'ChgType'
      Origin = '#tmPmpshistory'
      Size = 10
    end
    object AdoQry_MainMpSchgTime: TDateTimeField
      DisplayLabel = '操作时间'
      FieldName = 'ChgTime'
      Origin = '#tmPmpshistory'
    end
    object AdoQry_MainMpSchgEmployeeCode: TStringField
      DisplayLabel = '操作员代码'
      FieldName = 'ChgEmployeeCode'
      Origin = '#tmPmpshistory'
      Size = 30
    end
    object AdoQry_MainEmployeeName: TStringField
      DisplayLabel = '操作员名称'
      FieldName = 'EmployeeName'
      Origin = '#tmPmpshistory'
      Size = 60
    end
    object AdoQry_MainItemName: TStringField
      DisplayLabel = '物料描述'
      FieldName = 'ItemName'
      Origin = '#tmPmpshistory'
      Size = 30
    end
    object AdoQry_MainUomCode: TStringField
      DisplayLabel = '单位代码'
      FieldName = 'UomCode'
      Origin = '#tmPmpshistory'
      Size = 4
    end
    object AdoQry_MainUomName: TStringField
      DisplayLabel = '单位名称'
      FieldName = 'UomName'
      Origin = '#tmPmpshistory'
      Size = 10
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      Origin = '#tmPmpshistory'
      ReadOnly = True
      Size = 77
    end
    object AdoQry_MainEmployeeflag: TStringField
      DisplayLabel = '操作员标识'
      FieldName = 'Employeeflag'
      Origin = '#tmPmpshistory'
      ReadOnly = True
      Size = 91
    end
    object AdoQry_MainMpsQty: TFloatField
      DisplayLabel = '生产订货量'
      FieldName = 'MpsQty'
      Origin = '#tmPmpshistory'
    end
    object AdoQry_MainMpsStatus: TIntegerField
      DisplayLabel = '行状态'
      FieldName = 'MpsStatus'
      Origin = '#tmPmpshistory'
    end
  end
  inherited DataSource: TDataSource
    Left = 344
    Top = 137
  end
end

⌨️ 快捷键说明

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