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

📄 inv_valuationbilllistqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_ValuationBillListQry: TFrm_Inv_ValuationBillListQry
  Left = -1
  Top = 94
  Caption = '暂估价单据列表查询'
  ClientHeight = 426
  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 = 400
    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 = 303
    inherited DBGridEh: TDBGridEh
      Width = 774
      Height = 303
      OnDblClick = DBGridEhDblClick
      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 = 'BillTypeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据类型'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商'
          Width = 150
          KeyList.Strings = ()
        end
        Item
          FieldName = 'PONo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '采购订单号'
          Width = 80
          KeyList.Strings = ()
        end
        Item
          FieldName = 'POLineNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '订单行号'
          Width = 50
          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 = '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 = 'EmployeeCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '录入员'
          Width = 100
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BatchNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '批次号'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BilllineremArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 150
          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 '
      ' InvInBill.InvBillDate, '
      ' InvInBill.InvBillNo,'
      ' BillType.BillTypeName,'
      ' InvInBill.VendorCode+'#39' '#39'+Vendor.VendorName As VendorCodeName,'
      ' InvInBill.PONo,'
      ' InvInBillLine.POLineNo,'
      ' InvInBillLine.ItemCode,'
      ' Item.ItemName, Uom.UomName, '
      ' InvInBillLine.InvBillQty,'
      ' InvInBillLine.InvBillNoTaxPrice,'
      ' InvInBillLine.InvBillNoTaxAmount,'
      ' InvInBillLine.InvBillNoTaxPriceC,'
      ' InvInBillLine.InvBillNoTaxAmountC,'
      
        ' InvInBill.EmployeeCode+'#39' '#39'+Employee.EmployeeName As EmployeeCod' +
        'eName,'
      ' InvInBillLine.BatchNo'
      ''
      ' From  InvInBillLine '
      '   Left Outer Join Item On  InvInBillLine.ItemCode=Item.ItemCode'
      '   Left Outer Join Uom On  Item.UomCode=Uom.UomCode,'
      '  InvInBill'
      '  Left Outer Join Dept On  InvInBill.DeptCode=Dept.DeptCode'
      
        '  Left Outer Join Vendor On InvInBill.VendorCode=Vendor.VendorCo' +
        'de'
      
        '  Left Outer Join Employee On  InvInBill.EmployeeCode=Employee.E' +
        'mployeeCode '
      '  where (InvInBillLine.InvBillId=InvInBill.InvBillId)')
    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_MaInBillTypeName: TStringField
      FieldName = 'BillTypeName'
    end
    object AdoQry_MaInvendorCodeName: TStringField
      FieldName = 'VendorCodeName'
      ReadOnly = True
      Size = 73
    end
    object AdoQry_MainPONo: TStringField
      FieldName = 'PONo'
      Origin = 'InvInBill'
      Size = 16
    end
    object AdoQry_MainPOLineNo: TIntegerField
      FieldName = 'POLineNo'
      Origin = 'InvInBillLine'
    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_MainInvBillNoTaxPrice: TFloatField
      FieldName = 'InvBillNoTaxPrice'
      Origin = 'InvInBillLine'
    end
    object AdoQry_MainInvBillNoTaxAmount: TBCDField
      FieldName = 'InvBillNoTaxAmount'
      Origin = 'InvInBillLine'
      Precision = 12
      Size = 2
    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_MaInBillTypeCode: TStringField
      FieldName = 'BillTypeCode'
    end
  end
  inherited DataSource: TDataSource
    Left = 368
  end
end

⌨️ 快捷键说明

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