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

📄 inv_whpmovebilllistqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_WhPMoveBillListQry: TFrm_Inv_WhPMoveBillListQry
  Left = 346
  Top = 86
  Caption = '货位移动单列表查询'
  ClientHeight = 478
  ClientWidth = 774
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 774
  end
  inherited Pnl_Title: TPanel
    Width = 774
    Caption = '货位移动单列表查询'
  end
  inherited Pnl_Head: TPanel
    Width = 774
    inherited Lbl_Order: TLabel
      Width = 66
      Caption = '日期,单据号'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 452
    Width = 774
    object Label1: TLabel
      Left = 24
      Top = 8
      Width = 84
      Height = 12
      Caption = '当前物料描述:'
    end
    object DBText1: TDBText
      Left = 112
      Top = 8
      Width = 42
      Height = 12
      AutoSize = True
      DataField = 'ItemName'
      DataSource = DataSource
    end
  end
  inherited Pnl_Body: TPanel
    Width = 774
    Height = 355
    inherited DBGridEh: TDBGridEh
      Width = 774
      Height = 355
      OnDblClick = Act_LookExecute
      FrozenCols = 4
      Columns = <
        Item
          FieldName = 'InvBillDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '日期'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据号'
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移出货位'
          Width = 160
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OWhPositionName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '移入货位'
          Width = 160
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WHName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓库'
          Width = 135
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 248
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 56
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '数量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '录入员'
          Width = 86
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BatchNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '批次号'
          Width = 94
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillLineRemArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 80
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 333
    Top = 147
  end
  inherited ActionList: TActionList
    Top = 176
    inherited Act_Look: TAction
      Enabled = True
      ShortCut = 16462
      Visible = True
      OnExecute = Act_LookExecute
    end
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = 
      'Provider=SQLOLEDB.1;Password=mdrcmrm;Persist Security Info=True;' +
      'User ID=mdrcmrm;Initial Catalog=mdrcmrm;Data Source=192.168.0.8'
    CurSorType = ctStatic
    SQL.Strings = (
      'Select InvOutBill.InvBillDate'
      '    ,InvOutBill.InvBillNo'
      
        '    ,InvOutBill.WhPositionCode+'#39' '#39'+WHP1.WhPositionName As WHPosi' +
        'tionName'
      
        '    ,InvOutBill.OWhPositionCode+'#39' '#39'+WHP2.WhPositionName as OWHpo' +
        'sitionName'
      '    ,InvOutBillLine.ItemCode'
      '    ,InvOutBillLine.BillLineRemArk'
      '    ,Warehouse.WHCode'
      '    ,Warehouse.WHCode+'#39' '#39'+Warehouse.WHName As WHName'
      '    ,Item.ItemName'
      '    ,Uom.UomName'
      '    ,InvOutBillLine.InvBillQty'
      
        '    ,InvOutBill.EmployeeCode+'#39' '#39'+Employee.EmployeeName As Employ' +
        'eeCodeName'
      '    ,InvOutBillLine.BatchNo'
      '     From InvOutBillLine'
      '     Join Item On InvOutBillLine.ItemCode=Item.ItemCode'
      '     Join Uom On Item.UomCode=Uom.UomCode'
      
        '     Join InvOutBill On InvOutBillLine.InvBillId=InvOutBill.InvB' +
        'illId'
      '     Join Warehouse On InvOutBill.WHCode=Warehouse.WhCode'
      
        '     Join Employee On  InvOutBill.EmployeeCode=Employee.Employee' +
        'Code'
      
        '     Join WhPosition AS WHP1 On InvOutBill.WhPositionCode=WHP1.W' +
        'HPositionCode'
      
        '     Join WhPosition AS WHP2 On InvOutBill.OWhPositionCode=WHP2.' +
        'WhPositionCode')
    Left = 56
    Top = 225
    object AdoQry_MainInvBillDate: TDateTimeField
      FieldName = 'InvBillDate'
      Origin = 'InvInBill'
    end
    object AdoQry_MainInvBillNo: TStringField
      FieldName = 'InvBillNo'
      Origin = 'InvInBill'
      Size = 10
    end
    object AdoQry_MainWhPositionName: TStringField
      FieldName = 'WhPositionName'
      Size = 160
    end
    object AdoQry_MainOWhPositionName: TStringField
      FieldName = 'OWhPositionName'
      Size = 160
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Origin = 'InvInBillLine'
      Size = 16
    end
    object AdoQry_MainWHCode: TStringField
      FieldName = 'WHCode'
    end
    object AdoQry_MainWHName: TStringField
      FieldName = 'WHName'
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      Origin = 'Item'
      Size = 60
    end
    object AdoQry_MainUomName: TStringField
      FieldName = 'UomName'
      Origin = 'Uom'
      Size = 10
    end
    object AdoQry_MainInvBillQty: TFloatField
      FieldName = 'InvBillQty'
      Origin = 'InvInBillLine'
    end
    object AdoQry_MainEmployeeCodeName: TStringField
      FieldName = 'EmployeeCodeName'
      ReadOnly = True
      Size = 91
    end
    object AdoQry_MainBatchNo: TStringField
      FieldName = 'BatchNo'
      Origin = 'InvInBillLine'
      Size = 16
    end
    object AdoQry_MaInBillLineRemArk: TStringField
      FieldName = 'BillLineRemArk'
      Size = 250
    end
  end
  inherited DataSource: TDataSource
    Left = 368
  end
end

⌨️ 快捷键说明

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