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

📄 mrp_enter_assignalternative.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Mrp_Enter_AssignAlterNative: TFrm_Mrp_Enter_AssignAlterNative
  Left = 107
  Top = 114
  Caption = '替代件建议分配'
  ClientHeight = 463
  ClientWidth = 722
  PixelsPerInch = 96
  TextHeight = 12
  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 = 40
    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
  end
  inherited Pnl_Hint: TPanel
    Top = 437
    Width = 722
  end
  inherited Pnl_Body: TPanel
    Top = 97
    Width = 722
    Height = 340
    inherited DBGridEh: TDBGridEh
      Width = 722
      Height = 340
      Columns = <
        Item
          FieldName = 'MONO'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineNO'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MOQTY'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineDATE'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoNoFinishQTY'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MoLineSTATUS'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MOStArtWorkDate'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'MOMNQty'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomCode'
          PickList.Strings = ()
          KeyList.Strings = ()
        end>
    end
    object DBGridEh1: TDBGridEh
      Left = 0
      Top = 0
      Width = 722
      Height = 340
      Align = alClient
      DataSource = DataSource
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      ReadOnly = True
      TabOrder = 1
      TitleFont.ChArset = GB2312_CHArSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -12
      TitleFont.Name = '宋体'
      TitleFont.Style = []
      OnDblClick = Act_ModifyExecute
      FrozenCols = 3
      UseMultiTitle = True
      Columns = <
        Item
          Alignment = taCenter
          FieldName = 'ItemCode'
          Title.Alignment = taCenter
          Width = 125
        end
        Item
          FieldName = 'ItemName'
          Title.Alignment = taCenter
          Width = 250
        end
        Item
          FieldName = 'UomName'
          Title.Alignment = taCenter
          Width = 28
        end
        Item
          FieldName = 'Bomqty'
          Width = 59
        end
        Item
          FieldName = 'ite_ItemCode'
        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 = 90
        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'
    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 = 192
    Top = 217
    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_BodySSQty: TFloatField
      DisplayLabel = '分配建议下达量'
      FieldName = 'SSQty'
    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
  end
  inherited DataSource: TDataSource
    Left = 376
    Top = 177
  end
  object AdoQry_Head1: TAdoQuery
    CacheSize = 500
    Parameters = <>
    Left = 466
    Top = 270
  end
  object AdoQry_Temp: TAdoQuery
    Parameters = <>
    Left = 280
    Top = 214
  end
end

⌨️ 快捷键说明

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