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

📄 inv_enter_whtowhh.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_Enter_WhToWhH: TFrm_Inv_Enter_WhToWhH
  Left = 4
  Top = 110
  Caption = '仓库调拨'
  Windowstate = wsMaximized
  OnDestroy = FormDestroy
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    inherited ToolBar: TToolBar
      inherited TlBtn_Modify: TToolButton
        Enabled = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Caption = '仓库调拨'
  end
  inherited Pnl_Head: TPanel
    inherited Lbl_Condition: TLabel
      Width = 24
      Caption = '全部'
    end
    inherited Lbl_Order: TLabel
      Width = 204
      Caption = '单据日期/移出仓库代码/移出货位代码'
    end
  end
  inherited Pnl_Body: TPanel
    inherited DBGridEh: TDBGridEh
      FrozenCols = 2
      Columns = <
        Item
          FieldName = 'BillDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据日期'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据号'
          Width = 81
          KeyList.Strings = ()
        end
        Item
          FieldName = 'DeptCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出部门代码'
          Width = 116
          KeyList.Strings = ()
        end
        Item
          FieldName = 'DeptName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出部门名称'
          Width = 100
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ToDeptCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移入部门代码'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'toDeptName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移入部门名称'
          Width = 85
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WHCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出仓库代码'#9
          Width = 113
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WHName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出仓库名称'
          Width = 101
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ToWHCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移入仓库代码'#9
          Width = 145
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ToWHName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移入仓库名称'
          Width = 110
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出货位代码'
          Width = 113
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出货位名称'
          Width = 128
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ToWhPositionCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移入货位代码'
          Width = 125
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ToWhPositionName'
          PickList.Strings = ()
          Title.Caption = '移入货位名称'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvInBillNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '入库单据号'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvOutBillNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '出库单据号'
          Width = 74
          KeyList.Strings = ()
        end
        Item
          FieldName = 'RemArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 87
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Create_EmployeeCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '系统建档人员标识'
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Create_Date'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '系统建档日期'#9
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'Create_EmployeeCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '系统建档人员代码'
          Visible = False
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 704
    Top = 1
  end
  inherited ActionList: TActionList
    Left = 576
    Top = 0
    inherited Act_Delete: TAction
      Enabled = False
    end
  end
  inherited AdoQry_Head: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=Mrpii_Standard;Data Source=ExtDAT' +
      'ASERVER;Use procedure for Prepare=1;Auto Translate=True;Packet S' +
      'ize=4096;Workstation ID=XYB'
    SQL.Strings = (
      'select Inv_WhToWh.BillID,'
      '       Inv_WhToWh.BillDate,'
      '       Inv_WhToWh.BillNo,'
      '       Inv_WhToWh.WHCode as WHCode,'
      '       Warehouse.WHName as WHName,'
      '       Inv_WhToWh.WhPositionCode,'
      '       WhPosition.WhPositionName  as WhPositionName,'
      '       Warehouse1.WHCode as ToWHCode,'
      '       Warehouse1.WHName as ToWHName,'
      '       Inv_WhToWh.ToWhPositionCode,'
      '       WhPosition1.WhPositionName  as ToWhPositionName,'
      '       Inv_WhToWh.InvInBillNo,'
      '       Inv_WhToWh.InvOutBillNo,'
      '                         Inv_WhToWh.DeptCode,'
      '                         Dept.DeptName as  DeptName,'
      '                         Inv_WhToWh.ToDeptCode,'
      '                         Dept1.DeptName as toDeptName,'
      
        '                         Inv_WhToWh.Create_EmployeeCode+'#39' '#39'+Empl' +
        'oyee.EmployeeName  as Create_EmployeeCodeName,'
      '                         Inv_WhToWh.RemArk,'
      '                         Inv_WhToWh.Create_Date'
      '                  from Inv_WhToWh'
      
        '                  left join Warehouse on  Inv_WhToWh.WHCode=WAre' +
        'house.WHCode'
      
        '                  left join Warehouse Warehouse1  on  Inv_WhToWh' +
        '.ToWHCode=Warehouse1.WHCode'
      
        '                  left join WhPosition  on Inv_WhToWh.WhPosition' +
        'Code= WhPosition.WhPositionCode'
      
        '                  left join (select * from  WhPosition ) WHPosit' +
        'ion1 on Inv_WhToWh.ToWhPositionCode= WhPosition1.WhPositionCode'
      
        '                  left join Dept on Inv_WhToWh.DeptCode=Dept.dep' +
        'tCode '
      
        '                  left join (select * from Dept) Dept1 on Inv_Wh' +
        'towh.ToDeptCode=Dept1.DeptCode '
      
        '                  left join Employee on Inv_WhToWh.Create_Employ' +
        'eeCode=Employee.EmployeeCode')
    Left = 608
    Top = 1
    object AdoQry_HeadBillID: TAutoIncField
      FieldName = 'BillID'
      ReadOnly = True
    end
    object AdoQry_HeadBillDate: TDateTimeField
      FieldName = 'BillDate'
      Origin = 'Inv_WhToWh'
    end
    object AdoQry_HeadBillNo: TStringField
      FieldName = 'BillNo'
      Origin = 'Inv_WhToWh'
      Size = 10
    end
    object AdoQry_HeadWHCode: TStringField
      FieldName = 'WHCode'
      Origin = 'Inv_WhToWh'
      Size = 4
    end
    object AdoQry_HeadWHName: TStringField
      FieldName = 'WHName'
      Origin = 'Warehouse'
      Size = 40
    end
    object AdoQry_HeadWhPositionCode: TStringField
      FieldName = 'WhPositionCode'
      Origin = 'Inv_WhToWh'
      Size = 4
    end
    object AdoQry_HeadWhPositionName: TStringField
      FieldName = 'WhPositionName'
      Origin = 'WhPosition'
      Size = 40
    end
    object AdoQry_HeadToWHCode: TStringField
      FieldName = 'ToWHCode'
      Origin = 'Inv_WhToWh'
      Size = 4
    end
    object AdoQry_HeadToWHName: TStringField
      FieldName = 'ToWHName'
      Origin = 'Warehouse'
      Size = 40
    end
    object AdoQry_HeadToWhPositionCode: TStringField
      FieldName = 'ToWhPositionCode'
      Origin = 'Inv_WhToWh'
      Size = 4
    end
    object AdoQry_HeadToWhPositionName: TStringField
      FieldName = 'ToWhPositionName'
      Origin = 'WhPosition'
      Size = 40
    end
    object AdoQry_HeadInvInBillNo: TStringField
      FieldName = 'InvInBillNo'
      Origin = 'Inv_WhToWh'
      Size = 10
    end
    object AdoQry_HeadInvOutBillNo: TStringField
      FieldName = 'InvOutBillNo'
      Origin = 'Inv_WhToWh'
      Size = 10
    end
    object AdoQry_HeadRemArk: TStringField
      FieldName = 'RemArk'
      Origin = 'Inv_WhToWh'
      Size = 120
    end
    object AdoQry_HeadCreate_Date: TStringField
      FieldName = 'Create_Date'
      Origin = 'Inv_WhToWh'
      Size = 30
    end
    object AdoQry_HeadDeptCode: TStringField
      FieldName = 'DeptCode'
      Origin = 'Inv_WhToWh'
      Size = 12
    end
    object AdoQry_HeadDeptName: TStringField
      FieldName = 'DeptName'
      Size = 40
    end
    object AdoQry_HeadToDeptCode: TStringField
      FieldName = 'ToDeptCode'
      Origin = 'Inv_WhToWh'
      Size = 12
    end
    object AdoQry_HeadtoDeptName: TStringField
      FieldName = 'toDeptName'
      Size = 40
    end
    object AdoQry_HeadCreate_EmployeeCodeName: TStringField
      FieldName = 'Create_EmployeeCodeName'
      ReadOnly = True
      Size = 91
    end
  end
  inherited DataSource: TDataSource
    Left = 672
    Top = 1
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 640
    Top = 1
  end
end

⌨️ 快捷键说明

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