inv_salebillqry.dfm

来自「一个MRPII系统源代码版本」· DFM 代码 · 共 332 行

DFM
332
字号
inherited Frm_Inv_SaleBillQry: TFrm_Inv_SaleBillQry
  Left = 3
  Top = 68
  BOrderIcons = [biSystemMenu, biMinimize]
  ClientHeight = 481
  ClientWidth = 778
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 778
    inherited ToolBar: TToolBar
      inherited TlBtn_Filter: TToolButton
        Enabled = False
      end
      inherited TlBtn_Locate: TToolButton
        Enabled = False
      end
      inherited TlBtn_Order: TToolButton
        Enabled = False
      end
      inherited TlBtn_SetColumn: TToolButton
        Enabled = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Width = 778
    Height = 33
  end
  inherited Pnl_Head: TPanel
    Top = 63
    Width = 778
    Height = 69
    inherited Lbl_Order: TLabel
      Width = 66
      Caption = '日期,单据号'
    end
    object Panel1: TPanel
      Left = 0
      Top = 0
      Width = 778
      Height = 63
      Align = alTop
      BevelOuter = bvNone
      TabOrder = 0
      object Label2: TLabel
        Left = 85
        Top = 5
        Width = 6
        Height = 12
      end
      object Label3: TLabel
        Left = 40
        Top = 3
        Width = 36
        Height = 12
        Caption = '仓库:'
      end
      object Label4: TLabel
        Left = 272
        Top = 3
        Width = 36
        Height = 12
        Caption = '货位:'
      end
      object Label7: TLabel
        Left = 576
        Top = 3
        Width = 48
        Height = 12
        Caption = '单据号:'
      end
      object Label5: TLabel
        Left = 16
        Top = 25
        Width = 60
        Height = 12
        Caption = '客户代码:'
      end
      object Label6: TLabel
        Left = 248
        Top = 25
        Width = 60
        Height = 12
        Caption = '客户名称:'
      end
      object Lbl_CustomerName: TLabel
        Left = 312
        Top = 25
        Width = 6
        Height = 12
      end
      object Label8: TLabel
        Left = 588
        Top = 25
        Width = 36
        Height = 12
        Caption = '日期:'
      end
      object Label9: TLabel
        Left = 40
        Top = 49
        Width = 36
        Height = 12
        Caption = '备注:'
      end
      object Lbl_Warehouse: TLabel
        Left = 80
        Top = 3
        Width = 6
        Height = 12
      end
      object Lbl_CustomerCode: TLabel
        Left = 80
        Top = 25
        Width = 6
        Height = 12
      end
      object Lbl_InvBillNo: TLabel
        Left = 624
        Top = 3
        Width = 6
        Height = 12
      end
      object Lbl_WhPosition: TLabel
        Left = 312
        Top = 3
        Width = 6
        Height = 12
      end
      object Lbl_InvBillDate: TLabel
        Left = 624
        Top = 25
        Width = 6
        Height = 12
      end
      object Lbl_InvBillRemArk: TLabel
        Left = 80
        Top = 49
        Width = 6
        Height = 12
      end
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 455
    Width = 778
    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
    Top = 132
    Width = 778
    Height = 323
    inherited DBGridEh: TDBGridEh
      Width = 778
      Height = 323
      Columns = <
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 69
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 357
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 250
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 54
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '数量'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillNoTaxPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillNoTaxAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税金额'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'RealNoTaxSalePrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'RealNoTaxSaleAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '未税金额'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'RealSalePrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'RealSaleAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税金额'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillLineRemArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 86
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 333
    Top = 243
  end
  inherited ActionList: TActionList
    Left = 208
    Top = 264
    inherited Act_Look: TAction
      ShortCut = 16462
    end
    inherited Act_Excel: TAction
      Enabled = False
      Visible = False
    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.DeptCode+'#39' '#39'+Dept.DeptName As DeptCodeName,'
      '  InvOutBill.MONo,'
      '  InvOutBillLine.MoLineNo,'
      '  InvOutBillLine.ItemCode,'
      '  Item.ItemName,'
      '  Uom.UomName,'
      '  InvOutBillLine.InvBillQty,'
      '  InvOutBillLine.InvBillNoTaxPrice,'
      '  InvOutBillLine.InvBillNoTaxAmount,'
      
        '  InvOutBill.EmployeeCode+'#39' '#39'+Employee.EmployeeName As EmployeeC' +
        'odeName,'
      '  InvOutBillLine.BatchNo,InvOutBill.InvBillRemArk,'
      '  RealSalePrice.InvBillSalePrice As RealSalePrice,'
      '  RealSalePrice.InvBillSaleAmount As RealSaleAmount,'
      '  RealSalePrice.InvBillNoTaxSalePrice As RealNoTaxSalePrice,'
      '  RealSalePrice.InvBillNoTaxSaleAmount As RealNoTaxSaleAmount'
      ''
      'From  InvOutBillLine'
      '  Left Outer Join Item On  InvOutBillLine.ItemCode=Item.ItemCode'
      '  Left Outer Join Uom On  Item.UomCode=Uom.UomCode,'
      '  RealSalePrice,InvOutBill'
      '  Left Outer Join Dept On  InvOutBill.DeptCode=Dept.DeptCode'
      
        '  Left Outer Join Employee On  InvOutBill.EmployeeCode=Employee.' +
        'EmployeeCode'
      'Where  InvOutBillLine.InvBillId=InvOutBill.InvBillId')
    Left = 56
    Top = 265
  end
  inherited DataSource: TDataSource
    Left = 312
    Top = 281
  end
  inherited ExtPrintReport: TExtPrintReport
    Left = 456
    Top = 257
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 104
    Top = 273
  end
end

⌨️ 快捷键说明

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