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

📄 mrp_qry_mps.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Qry_Mps: TFrm_Mrp_Qry_Mps
  Left = 69
  Top = 101
  Caption = '主生产计划列表查询'
  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 = 24
      Caption = '月份'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 384
    Height = 45
    inherited Image4: TImage
      Height = 45
    end
    object dbtxtMonth: TDBText
      Left = 96
      Top = 8
      Width = 60
      Height = 12
      AutoSize = True
      DataField = 'MpsMonth'
      DataSource = DataSource
      TransParent = True
    end
    object dbtxtItemflag: TDBText
      Left = 96
      Top = 24
      Width = 78
      Height = 12
      AutoSize = True
      DataField = 'Itemflag'
      DataSource = DataSource
      TransParent = True
    end
    object Label1: TLabel
      Left = 12
      Top = 24
      Width = 84
      Height = 12
      Caption = '当前物料标识:'
      TransParent = True
    end
    object Label2: TLabel
      Left = 36
      Top = 8
      Width = 60
      Height = 12
      Caption = '当前月份:'
      TransParent = True
    end
  end
  inherited Pnl_Body: TPanel
    Height = 287
    inherited Image3: TImage
      Height = 287
    end
    inherited DBGridEh: TDBGridEh
      Height = 287
      FrozenCols = 2
      Columns = <
        Item
          FieldName = 'MpsMonth'
          PickList.Strings = ()
          Title.Alignment = taCenter
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsBatchNo'
          PickList.Strings = ()
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Itemflag'
          PickList.Strings = ()
          Width = 200
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 200
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 54
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsStatus'
          PickList.Strings = (
            '2 准备'
            '3 下达'
            '4 关闭')
          Title.Alignment = taCenter
          Width = 54
          KeyList.Strings = (
            '2'
            '3'
            '4')
        end
        Item
          FieldName = 'MpsDATE'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsQTY'
          PickList.Strings = ()
          Width = 75
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MpsremArk'
          PickList.Strings = ()
          Width = 150
          KeyList.Strings = ()
        end>
    end
  end
  inherited ActionList: TActionList
    Top = 184
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=Mrpii_Standard;Data Source=192.1' +
      '68.0.100'
    CurSorType = ctStatic
    SQL.Strings = (
      'select Mps.MpsMonth,Mps.ItemCode,Mps.MpsDATE,Mps.MpsQTY,'
      '                   MpsStatus =0,'
      '                   Mps.MpsBatchNo,'
      '                   Item.ItemName,Uom.UomName,Mps.MpsremArk,'
      '                   Itemflag=Mps.ItemCode+'#39' '#39'+Item.ItemName'
      
        '                   from Mps  join Item  on Mps.ItemCode=Item.ite' +
        'mCode'
      '                   join Uom  on Item.UomCode=Uom.UomCode')
    Left = 304
    Top = 233
    object AdoQry_MainMpsMonth: TStringField
      DisplayLabel = '月份'
      FieldName = 'MpsMonth'
      Origin = 'Mps'
      FixedChAr = True
      Size = 7
    end
    object AdoQry_MainItemCode: TStringField
      DisplayLabel = '物料代码'
      FieldName = 'ItemCode'
      Origin = 'Mps'
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      DisplayLabel = '物料描述'
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 30
    end
    object AdoQry_MainUomName: TStringField
      DisplayLabel = '计量单位'
      FieldName = 'UomName'
      Origin = 'Uom'
      Size = 10
    end
    object AdoQry_MainMpsDATE: TDateTimeField
      DisplayLabel = '需用日期'
      FieldName = 'MpsDATE'
      Origin = 'Mps'
    end
    object AdoQry_MainMpsQTY: TFloatField
      DisplayLabel = '生产订货量'
      FieldName = 'MpsQTY'
    end
    object AdoQry_MainItemflag: TStringField
      DisplayLabel = '物料标识'
      FieldName = 'Itemflag'
      ReadOnly = True
      Size = 77
    end
    object AdoQry_MainMpsremArk: TStringField
      DisplayLabel = '备注'
      FieldName = 'MpsremArk'
      Size = 150
    end
    object AdoQry_MainMpsStatus: TIntegerField
      DisplayLabel = '行状态'
      FieldName = 'MpsStatus'
      Origin = 'Mps'
      ReadOnly = True
    end
    object AdoQry_MainMpsBatchNo: TStringField
      DisplayLabel = '主计划批次号'
      FieldName = 'MpsBatchNo'
      Origin = 'Mps'
      Size = 10
    end
  end
  inherited DataSource: TDataSource
    Left = 352
    Top = 145
  end
end

⌨️ 快捷键说明

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