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

📄 inv_mninbillqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_MnInBillQry: TFrm_Inv_MnInBillQry
  Left = 69
  Top = 112
  BOrderIcons = [biSystemMenu, biMinimize]
  Caption = '车间生产入库单查询'
  ClientHeight = 350
  ClientWidth = 710
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 710
    inherited ToolBar: TToolBar
      inherited TlBtn_Filter: TToolButton
        Enabled = False
      end
      inherited TlBtn_Locate: TToolButton
        Enabled = False
      end
      inherited TlBtn_Order: TToolButton
        Enabled = False
      end
    end
  end
  inherited Pnl_Title: TPanel
    Width = 710
    Height = 43
    Caption = '车间生产入库单查询'
    object Label2: TLabel
      Left = 24
      Top = 48
      Width = 42
      Height = 14
      Caption = 'Label2'
    end
  end
  inherited Pnl_Head: TPanel
    Top = 73
    Width = 710
    Height = 72
    inherited Lbl_Order: TLabel
      Width = 66
      Caption = '日期,单据号'
    end
    object Panel1: TPanel
      Left = 0
      Top = 0
      Width = 710
      Height = 75
      Align = alTop
      BevelOuter = bvNone
      TabOrder = 0
      object Label6: TLabel
        Left = 23
        Top = 55
        Width = 48
        Height = 12
        Caption = '订单号:'
      end
      object Label7: TLabel
        Left = 592
        Top = 28
        Width = 36
        Height = 12
        Caption = '日期:'
      end
      object Label8: TLabel
        Left = 368
        Top = 30
        Width = 36
        Height = 12
        Caption = '班别:'
      end
      object Label9: TLabel
        Left = 336
        Top = 1
        Width = 36
        Height = 12
        Caption = '货位:'
      end
      object Label10: TLabel
        Left = 580
        Top = 4
        Width = 48
        Height = 12
        Caption = '单据号:'
      end
      object Label11: TLabel
        Left = 336
        Top = 55
        Width = 36
        Height = 12
        Caption = '备注:'
      end
      object Lbl_MoNo: TLabel
        Left = 70
        Top = 54
        Width = 6
        Height = 12
      end
      object LbL_ShiftType: TLabel
        Left = 409
        Top = 29
        Width = 6
        Height = 12
      end
      object Lbl_WhCodeName: TLabel
        Left = 72
        Top = 2
        Width = 6
        Height = 12
      end
      object Lable1: TLabel
        Left = 32
        Top = 2
        Width = 36
        Height = 12
        Caption = '仓库:'
      end
      object Label5: TLabel
        Left = 9
        Top = 29
        Width = 60
        Height = 12
        Caption = '领料部门:'
      end
      object Lbl_DeptCodeName: TLabel
        Left = 72
        Top = 29
        Width = 6
        Height = 12
      end
      object Lbl_WhPosition: TLabel
        Left = 376
        Top = 0
        Width = 6
        Height = 12
      end
      object Lbl_RemArk: TLabel
        Left = 376
        Top = 55
        Width = 6
        Height = 12
      end
      object Edt_BillNo: TEdit
        Left = 632
        Top = 0
        Width = 121
        Height = 20
        Enabled = False
        ReadOnly = True
        TabOrder = 0
      end
      object Edt_Date: TMaskEdit
        Left = 632
        Top = 24
        Width = 121
        Height = 20
        Enabled = False
        EditMask = '!9999/99/00;1;_'
        MaxLength = 10
        TabOrder = 1
        Text = ' .  -  -  '
      end
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 328
    Width = 710
    Height = 22
    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 = 145
    Width = 710
    Height = 183
    inherited DBGridEh: TDBGridEh
      Width = 710
      Height = 183
      Columns = <
        Item
          FieldName = 'MoLineNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '订单行号'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 125
          WordWrAp = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 346
          WordWrAp = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 52
          WordWrAp = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillSfcQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '拟入数量'
          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 = 'InvBillPrice'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税价'
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillAmount'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '含税金额'
          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'
      'From  InvOutBillLine'
      '  Left Outer Join Item On  InvOutBillLine.ItemCode=Item.ItemCode'
      '  Left Outer Join Uom On  Item.UomCode=Uom.UomCode,'
      '  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
    object AdoQry_MainInvBillDate: TDateTimeField
      FieldName = 'InvBillDate'
    end
    object AdoQry_MainInvBillNo: TStringField
      FieldName = 'InvBillNo'
      Size = 10
    end
    object AdoQry_MainMoNo: TStringField
      FieldName = 'MoNo'
    end
    object AdoQry_MainMoLineNo: TIntegerField
      FieldName = 'MoLineNo'
    end
    object AdoQry_MainWhPositionCode: TStringField
      FieldName = 'WhPositionCode'
    end
    object AdoQry_MainWhPositionName: TStringField
      FieldName = 'WhPositionName'
    end
    object AdoQry_MainItemCode: TStringField
      FieldName = 'ItemCode'
      Size = 16
    end
    object AdoQry_MainItemName: TStringField
      FieldName = 'ItemName'
      Size = 60
      Transliterate = False
    end
    object AdoQry_MainUomName: TStringField
      FieldName = 'UomName'
      Size = 10
    end
    object AdoQry_MainInvBillSfcQty: TFloatField
      FieldName = 'InvBillSfcQty'
    end
    object AdoQry_MainInvBillQty: TFloatField
      FieldName = 'InvBillQty'
    end
    object AdoQry_MainInvBillRemArk: TStringField
      FieldName = 'InvBillRemArk'
    end
    object AdoQry_MainInvBillNoTaxPrice: TFloatField
      FieldName = 'InvBillNoTaxPrice'
    end
    object AdoQry_MainInvBillNoTaxAmount: TBCDField
      FieldName = 'InvBillNoTaxAmount'
      Origin = 'InvInBillLine'
      Precision = 12
      Size = 2
    end
    object AdoQry_MainShiftType: TStringField
      FieldName = 'ShiftType'
    end
    object AdoQry_MainInvBillPrice: TFloatField
      FieldName = 'InvBillPrice'
    end
    object AdoQry_MainInvBillAmount: TFloatField
      FieldName = 'InvBillAmount'
    end
    object AdoQry_MainDeptCodeName: TStringField
      FieldName = 'DeptCodeName'
    end
    object AdoQry_MainWHCodeName: TStringField
      FieldName = 'WHCodeName'
    end
  end
  inherited DataSource: TDataSource
    Left = 312
    Top = 281
  end
  inherited ExtPrintReport: TExtPrintReport
    PAperType = ptNArrow
    Left = 456
    Top = 257
  end
  inherited PopuPmenu: TPopuPmenu
    Left = 104
    Top = 273
  end
end

⌨️ 快捷键说明

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