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

📄 mrp_enter_assignalternative1.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Enter_AssignAlterNative1: TFrm_Mrp_Enter_AssignAlterNative1
  Left = 60
  Top = 56
  Caption = '替代件建议分配'
  ClientHeight = 463
  ClientWidth = 722
  PixelsPerInch = 96
  TextHeight = 12
  object Splitter1: TSplitter [0]
    Left = 0
    Top = 275
    Width = 722
    Height = 3
    Cursor = crVSplit
    Align = alBottom
  end
  inherited ControlBar: TControlBar
    Width = 722
    inherited ToolBar: TToolBar
      inherited TlBtn_InsertLine: TToolButton
        Hint = '主生产计划'
        Caption = '主生产计划'
      end
    end
  end
  inherited Pnl_Title: TPanel
    Width = 722
    Caption = '替代件建议分配'
  end
  inherited Pnl_Head: TPanel
    Width = 722
    Height = 66
    object Lbl_SaleType: TLabel
      Left = 231
      Top = 54
      Width = 6
      Height = 12
      Visible = False
    end
    object Lbl_DeptName: TLabel
      Left = 475
      Top = 13
      Width = 6
      Height = 12
      Visible = False
    end
    object Label1: TLabel
      Left = 24
      Top = 0
      Width = 84
      Height = 12
      Caption = '父项物料标识:'
    end
    object lbl_Item: TLabel
      Left = 107
      Top = 0
      Width = 66
      Height = 12
      Caption = '           '
    end
    object Label2: TLabel
      Left = 453
      Top = 0
      Width = 6
      Height = 12
    end
    object Label3: TLabel
      Left = 416
      Top = 0
      Width = 36
      Height = 12
      Caption = '单位:'
    end
    object Label4: TLabel
      Left = 47
      Top = 19
      Width = 60
      Height = 12
      Caption = '建议信息:'
    end
    object Label5: TLabel
      Left = 111
      Top = 19
      Width = 6
      Height = 12
    end
    object Label6: TLabel
      Left = 180
      Top = 19
      Width = 72
      Height = 12
      Caption = '约定交货日:'
    end
    object Label8: TLabel
      Left = 256
      Top = 19
      Width = 6
      Height = 12
    end
    object Label11: TLabel
      Left = 381
      Top = 19
      Width = 72
      Height = 12
      Caption = '约定交货量:'
    end
    object Label12: TLabel
      Left = 456
      Top = 19
      Width = 6
      Height = 12
    end
    object Label13: TLabel
      Left = 512
      Top = 19
      Width = 84
      Height = 12
      Caption = '系统建议余量:'
    end
    object Label14: TLabel
      Left = 600
      Top = 19
      Width = 6
      Height = 12
    end
    object btn_fmo: TButton
      Left = 24
      Top = 36
      Width = 97
      Height = 25
      Caption = '父项生产订单'
      TabOrder = 0
      OnClick = btn_fmoClick
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 437
    Width = 722
  end
  inherited Pnl_Body: TPanel
    Top = 278
    Width = 722
    Height = 159
    Align = alBottom
    inherited DBGridEh: TDBGridEh
      Width = 722
      Height = 159
      DataSource = DataSource1
      UseMultiTitle = True
      Columns = <
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '子项物料代码'
          Width = 107
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '子项物料描述'
          Width = 197
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 32
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Bomqty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 52
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BomScrAp_Percent'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '损耗率'
          Width = 44
          KeyList.Strings = ()
        end
        Item
          FieldName = 'CurrentonhandInv'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 56
          KeyList.Strings = ()
        end
        Item
          FieldName = 'duedate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 71
          KeyList.Strings = ()
        end
        Item
          FieldName = 'SSDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'SSQty'
          PickList.Strings = ()
          ReadOnly = False
          Title.Alignment = taCenter
          KeyList.Strings = ()
        end>
    end
  end
  object Panel1: TPanel [6]
    Left = 0
    Top = 123
    Width = 722
    Height = 152
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 5
    object DBGridEh1: TDBGridEh
      Left = 0
      Top = 0
      Width = 722
      Height = 152
      Align = alClient
      DataSource = DataSource
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      ReadOnly = True
      TabOrder = 0
      TitleFont.ChArset = GB2312_CHArSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -12
      TitleFont.Name = '宋体'
      TitleFont.Style = []
      OnDblClick = Act_ModifyExecute
      UseMultiTitle = True
      Columns = <
        Item
          Alignment = taCenter
          FieldName = 'ItemCode'
          Title.Alignment = taCenter
          Width = 107
        end
        Item
          FieldName = 'ItemName'
          Title.Alignment = taCenter
          Width = 198
        end
        Item
          FieldName = 'UomName'
          Title.Alignment = taCenter
          Width = 28
        end
        Item
          FieldName = 'Bomqty'
          Width = 53
        end
        Item
          FieldName = 'ite_ItemCode'
          Width = 44
        end
        Item
          Alignment = taCenter
          FieldName = 'CurrentonhandInv'
          Title.Alignment = taCenter
          Width = 55
        end
        Item
          FieldName = 'duedate'
          Title.Alignment = taCenter
          Width = 70
        end
        Item
          FieldName = 'SSDate'
          Title.Alignment = taCenter
          Width = 70
        end
        Item
          FieldName = 'SSQty'
          Title.Alignment = taCenter
          Width = 67
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 509
    Top = 179
  end
  inherited ActionList: TActionList
    Left = 168
    Top = 168
    inherited Act_InsertLine: TAction
      Enabled = False
      Visible = False
    end
    inherited Act_Look: TAction
      Caption = '反查主生产计划'
      Hint = '反查主生产计划'
    end
    inherited Act_Excel: TAction
      OnExecute = Act_ExcelExecute
    end
  end
  inherited AdoQry_Body: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm_B;Data Source=192.168.0.' +
      '151'
    AfterPost = AdoQry_BodyAfterPost
    AfterScroll = AdoQry_BodyAfterScroll
    SQL.Strings = (
      'select Top 0 ss.*,Item.ItemName,'
      '          Item.CurrentonhandInv,'
      '           Bomqty=convert(float,0),'
      '           BomScrAp_Percent=convert(float,0),'
      '           ite_ItemCode='#39'gfdssssssss'#39','
      '           Uom.UomName '
      'from ss'
      ' join Item '
      'on ss.ItemCode=Item.ItemCode '
      'join Uom on Item.UomCode=Uom.UomCode')
    Left = 288
    Top = 153
    object AdoQry_BodyItemCode: TStringField
      DisplayLabel = '物料代码'
      FieldName = 'ItemCode'
      Size = 16
    end
    object AdoQry_BodySSDate: TDateTimeField
      DisplayLabel = '约定交货日'
      FieldName = 'SSDate'
    end
    object AdoQry_Bodyduedate: TDateTimeField
      DisplayLabel = '约定开工日'
      FieldName = 'duedate'
    end
    object AdoQry_BodyItemName: TStringField
      DisplayLabel = '物料描述'
      FieldName = 'ItemName'
      Size = 60
    end
    object AdoQry_BodyCurrentonhandInv: TFloatField
      DisplayLabel = '当前库存'
      FieldName = 'CurrentonhandInv'
    end
    object AdoQry_BodyUomName: TStringField
      DisplayLabel = '单位'
      FieldName = 'UomName'
      Size = 10
    end
    object AdoQry_BodyPmType: TIntegerField
      FieldName = 'PmType'
    end
    object AdoQry_BodyReMainQty: TFloatField
      FieldName = 'ReMainQty'
    end
    object AdoQry_BodyDeptVendorCode: TStringField
      FieldName = 'DeptVendorCode'
      Size = 12
    end
    object AdoQry_BodyBomqty: TFloatField
      DisplayLabel = 'Bom定额'
      FieldName = 'Bomqty'
      DisplayFormat = '###.##'
    end
    object AdoQry_Bodyite_ItemCode: TStringField
      DisplayLabel = '损耗率'
      FieldName = 'ite_ItemCode'
      Size = 11
    end
    object AdoQry_BodyBomScrAp_Percent: TFloatField
      FieldName = 'BomScrAp_Percent'
    end
    object AdoQry_BodySSQty: TFloatField
      DisplayLabel = '约定交货量'
      FieldName = 'SSQty'
    end
  end
  inherited DataSource: TDataSource
    Left = 376
    Top = 177
  end
  object AdoQry_Head1: TAdoQuery
    CacheSize = 500
    Parameters = <>
    Left = 330
    Top = 310
  end
  object AdoQry_Temp: TAdoQuery
    Parameters = <>
    Left = 232
    Top = 214
  end
  object DataSource1: TDataSource
    DataSet = AdoQry_Body1
    Left = 320
    Top = 377
  end
  object AdoQry_Body1: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=192.168.0.15' +
      '1'
    CurSorType = ctStatic
    LockType = ltBatchOptimistic
    AfterOpen = AdoQueryAfterOpen
    EnableBCD = False
    Parameters = <>
    SQL.Strings = (
      'select Top 0 ss.*,Item.ItemName,'
      '          '
      '          Item.CurrentonhandInv,'
      '           Bomqty=convert(float,0),'
      '           BomItemType=0,'
      '           BomScrAp_Percent=convert(float,0),'
      '           ite_ItemCode='#39'gfdssssssss'#39','
      '           Uom.UomName '
      'from ss'
      ' join Item '
      'on ss.ItemCode=Item.ItemCode '
      'join Uom on Item.UomCode=Uom.UomCode')
    Left = 264
    Top = 345
    object StringField1: TStringField
      DisplayLabel = '物料代码'
      FieldName = 'ItemCode'
      Size = 16
    end
    object DateTimeField1: TDateTimeField
      DisplayLabel = '约定交货日'
      FieldName = 'SSDate'
    end
    object DateTimeField2: TDateTimeField
      DisplayLabel = '约定开工日'
      FieldName = 'duedate'
    end
    object StringField2: TStringField
      DisplayLabel = '物料描述'
      FieldName = 'ItemName'
      Size = 60
    end
    object FloatField1: TFloatField
      DisplayLabel = '当前库存'
      FieldName = 'CurrentonhandInv'
    end
    object StringField3: TStringField
      DisplayLabel = '单位'
      FieldName = 'UomName'
      Size = 10
    end
    object IntegerField1: TIntegerField
      FieldName = 'PmType'
    end
    object FloatField2: TFloatField
      FieldName = 'ReMainQty'
    end
    object StringField4: TStringField
      FieldName = 'DeptVendorCode'
      Size = 12
    end
    object FloatField3: TFloatField
      DisplayLabel = 'Bom定额'
      FieldName = 'Bomqty'
      DisplayFormat = '###.##'
    end
    object StringField5: TStringField
      DisplayLabel = '损耗率'
      FieldName = 'ite_ItemCode'
      Size = 11
    end
    object FloatField4: TFloatField
      FieldName = 'BomScrAp_Percent'
    end
    object FloatField5: TFloatField
      DisplayLabel = '约定交货量'
      FieldName = 'SSQty'
    end
    object AdoQry_Body1SSSysInfoFlag: TIntegerField
      FieldName = 'SSSysInfoFlag'
    end
    object AdoQry_Body1BomItemType: TIntegerField
      FieldName = 'BomItemType'
      ReadOnly = True
    end
  end
end

⌨️ 快捷键说明

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