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

📄 bas_bombatchreplace1.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Bas_BomBatchReplace1: TFrm_Bas_BomBatchReplace1
  Left = 45
  Top = 96
  Caption = '子项成批替换'
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_Modify: TToolButton
        Visible = False
      end
      inherited TlBtn_Delete: TToolButton
        Visible = False
      end
      inherited ToolButton5: TToolButton
        Visible = False
      end
      inherited TlBtn_Filter: TToolButton
        Visible = False
      end
      inherited TlBtn_Locate: TToolButton
        Visible = False
      end
      inherited ToolButton3: TToolButton
        Visible = False
      end
      inherited TlBtn_Order: TToolButton
        Visible = False
      end
      inherited ToolButton2: TToolButton
        Visible = False
      end
      inherited ToolButton9: TToolButton
        Visible = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '子项成批替换'
  end
  inherited Pnl_Head: TPanel
    Height = 80
    inherited Image1: TImage
      Height = 80
    end
    inherited Lbl_Condition: TLabel
      Left = 717
      Visible = False
    end
    inherited Lbl_ConditionTitle: TLabel
      Left = 649
      Visible = False
    end
    inherited Lbl_OrderTitle: TLabel
      Left = 649
      Visible = False
    end
    inherited Lbl_Order: TLabel
      Left = 717
      Visible = False
    end
    object Label1: TLabel
      Left = 8
      Top = 8
      Width = 66
      Height = 12
      Caption = '物料代码1:'
      TransParent = True
    end
    object Lb_ItemCode1: TLabel
      Left = 200
      Top = 8
      Width = 72
      Height = 12
      Caption = 'Lb_ItemCode1'
      TransParent = True
    end
    object Label3: TLabel
      Left = 8
      Top = 55
      Width = 66
      Height = 12
      Caption = '物料代码2:'
      TransParent = True
    end
    object Lb_ItemCode2: TLabel
      Left = 199
      Top = 55
      Width = 72
      Height = 12
      Caption = 'Lb_ItemCode2'
      TransParent = True
    end
    object Label5: TLabel
      Left = 8
      Top = 32
      Width = 36
      Height = 12
      Caption = '替换成'
      TransParent = True
    end
    object Label2: TLabel
      Left = 520
      Top = 56
      Width = 156
      Height = 12
      Caption = '替换过程中是否需要提示信息'
      TransParent = True
    end
    object Extedt_ItemCode1: TExtEdit
      Left = 72
      Top = 4
      Width = 125
      Height = 20
      TabOrder = 0
      Text = 'Extedt_ItemCode1'
      OnExit = Extedt_ItemCode1Exit
      OnKeyDown = ItemHint
      DispLabel = Lb_ItemCode1
    end
    object Extedt_ItemCode2: TExtEdit
      Left = 72
      Top = 51
      Width = 125
      Height = 20
      TabOrder = 1
      Text = 'Extedt_ItemCode2'
      OnExit = Extedt_ItemCode2Exit
      OnKeyDown = ItemHint
      DispLabel = Lb_ItemCode2
    end
    object CheckBox1: TCheckBox
      Left = 504
      Top = 53
      Width = 15
      Height = 17
      Caption = '替换过程中是否需要提示信息'
      TabOrder = 2
    end
  end
  inherited Pnl_Body: TPanel
    Top = 137
    Height = 266
    inherited Image3: TImage
      Height = 266
    end
    inherited DBGridEh: TDBGridEh
      Height = 266
      ReadOnly = False
      OnTitleClick = DBGridEhTitleClick
      UseMultiTitle = True
      Columns = <
        Item
          FieldName = 'BommArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '标记'
          Width = 34
          KeyList.Strings = (
            '1'
            '0')
          Checkboxes = True
        end
        Item
          FieldName = 'ite_ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '父项物料代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '父项物料描述'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ite_ItemCodeB'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '父项物料标识'
          Width = 350
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '子项物料代码'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName_1'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '子项物料描述'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCodeB'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '子项物料标识'
          Width = 350
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 541
    Top = 243
  end
  inherited ActionList: TActionList
    Left = 456
    Top = 264
    inherited Act_next: TAction
      Caption = ''
      Hint = '替换'
      ShortCut = 0
      OnExecute = Act_nextExecute
    end
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=samsung;Persist Security Info=True;' +
      'User ID=sa;Initial Catalog=mdrcmrm;Data Source=192.168.0.151;Use' +
      ' procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Wo' +
      'rkstation ID=XYB'
    SQL.Strings = (
      'select Bom.ite_ItemCode,'
      '       Item.ItemName,'
      '       Bom.ite_ItemCode+'#39' '#39'+Item.ItemName as ite_ItemCodeB,'
      ' '#9'Bom.ItemCode,'
      #9'I.ItemName,'
      ' '#9'Bom.ItemCode+'#39' '#39'+I.ItemName as ItemCodeB,'
      #9'Bom.BommArk  '
      'from Bom '
      'join Item on Bom.ite_ItemCode=Item.ItemCode'
      'join Item I on Bom.ItemCode=I.ItemCode'
      'where Bom.ItemCode='#39'300-000971'#39
      '')
    Left = 328
    Top = 281
    object AdoQry_Mainite_ItemCode: TStringField
      FieldName = 'ite_ItemCode'
      Origin = 'Bom'
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      Size = 80
    end
    object AdoQry_Mainite_ItemCodeB: TStringField
      FieldName = 'ite_ItemCodeB'
      ReadOnly = True
      Size = 97
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Origin = 'Bom'
      Size = 16
    end
    object AdoQry_MainItemName_1: TStringField
      FieldName = 'ItemName_1'
      Size = 80
    end
    object AdoQry_MainItemCodeB: TStringField
      FieldName = 'ItemCodeB'
      ReadOnly = True
      Size = 97
    end
    object AdoQry_MainBommArk: TIntegerField
      FieldName = 'BommArk'
    end
  end
  inherited DataSource: TDataSource
    Left = 528
    Top = 281
  end
  inherited ExtPrintReport: TExtPrintReport
    Left = 400
    Top = 265
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 432
    Top = 281
  end
  object AdoQry_Tmp1: TAdoQuery
    Parameters = <>
    Left = 592
    Top = 281
  end
end

⌨️ 快捷键说明

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