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

📄 inv_salebilllistqry.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Inv_SaleBillListQry: TFrm_Inv_SaleBillListQry
  Left = 3
  Top = 52
  ClientHeight = 480
  ClientWidth = 774
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 774
  end
  inherited Pnl_Title: TPanel
    Width = 774
  end
  inherited Pnl_Head: TPanel
    Width = 774
    inherited Lbl_Order: TLabel
      Width = 66
      Caption = '日期,单据号'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 454
    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 = 357
    inherited DBGridEh: TDBGridEh
      Width = 774
      Height = 357
      OnDblClick = Act_LookExecute
      FrozenCols = 3
      Columns = <
        Item
          FieldName = 'InvBillDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '日期'
          Width = 65
          KeyList.Strings = ()
        end
        Item
          FieldName = 'InvBillNo'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据号'
          Width = 65
          KeyList.Strings = ()
        end
        Item
          FieldName = 'CustomerCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '客户'
          Width = 139
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WHName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓库'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'WhPositionName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '货位'
          Width = 103
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料代码'
          Width = 79
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料描述'
          Width = 111
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ItemCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '物料标识'
          Width = 199
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 51
          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 = '未税金额'
          Width = 67
          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 = 'EmployeeCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '仓管员'
          Width = 87
          KeyList.Strings = ()
        end
        Item
          FieldName = 'EmployeeCodeName1'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '制单员'
          Width = 83
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BatchNO'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '批次号'
          Width = 62
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillLineRemArk'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '备注'
          Width = 108
          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
      Visible = True
      OnExecute = Act_LookExecute
    end
  end
  inherited AdoQry_Main: TAdoQuery
    ConnectionString = ''
    CurSorType = ctStatic
    SQL.Strings = (
      'Select InvOutBill.InvBillDate,'
      '  InvOutBill.InvBillNo,'
      
        '  InvOutBill.CustomerCode+'#39' '#39'+Customer.CustomerName As CustomerC' +
        'odeName,'
      '  InvOutBillLine.MpsId,'
      '  InvOutBillLine.MoLineNo,'
      '  InvOutBillLine.ItemCode,'
      '  Item.ItemName,'
      
        '  InvOutBillLine.ItemCode+'#39' '#39'+InvOutBillLine.ItemCode As ItemCod' +
        'eName,'
      '  Uom.UomName,'
      '  InvOutBillLine.InvBillQty,'
      '  case Warehouse.PriceType When 1 then StandardPrice.SPPrice'
      
        '  else InvOutBillLine.InvBillNoTaxPrice end As InvBillNoTaxPrice' +
        ','
      
        '  case Warehouse.PriceType When 1 then StandardPrice.SPPrice*Inv' +
        'OutBillLine.InvBillQty'
      
        '  else InvOutBillLine.InvBillNoTaxAmount end As InvBillNoTaxAmou' +
        'nt,'
      '  RealSalePrice.InvBillSalePrice As RealSalePrice,'
      '  RealSalePrice.InvBillSaleAmount As RealSaleAmount,'
      
        '  InvOutBill.EmployeeCode+'#39' '#39'+Employee.EmployeeName As EmployeeC' +
        'odeName,'
      '  InvOutBillLine.BatchNo,Warehouse.whCode '
      'From  InvOutBillLine'
      '  Left Outer Join Item On  InvOutBillLine.ItemCode=Item.ItemCode'
      '  Left Outer Join Uom On  Item.UomCode=Uom.UomCode,'
      '  StandardPrice,RealSalePrice,InvOutBill'
      
        '  Left Outer Join Customer On  InvOutBill.CustomerCode=Customer.' +
        'CustomerCode'
      
        '  Left Outer Join Warehouse On  InvOutBill.WHCode=Warehouse.WHCo' +
        'de'
      
        '  Left Outer Join Employee On  InvOutBill.EmployeeCode=Employee.' +
        'EmployeeCode'
      'Where  (InvOutBillLine.InvBillId=InvOutBill.InvBillId)'
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ''
      ' '
      ''
      ''
      ' ')
    Left = 200
    Top = 241
  end
end

⌨️ 快捷键说明

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