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

📄 qc_checkitemlist.dfm

📁 一个MRPII系统源代码版本
💻 DFM
字号:
inherited Frm_Qc_CheckItemList: TFrm_Qc_CheckItemList
  Left = 0
  Top = 57
  ClientHeight = 480
  ClientWidth = 774
  PixelsPerInch = 96
  TextHeight = 12
  inherited ControlBar: TControlBar
    Width = 774
  end
  inherited Pnl_Title: TPanel
    Width = 774
    inherited Image2: TImage
      Width = 774
    end
  end
  inherited Pnl_Head: TPanel
    Width = 774
    inherited Image1: TImage
      Width = 774
    end
    inherited Lbl_Order: TLabel
      Width = 144
      Caption = '供应商/到货日期/物料代码'
    end
  end
  inherited Pnl_Hint: TPanel
    Top = 454
    Width = 774
    inherited Image4: TImage
      Width = 774
    end
    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 Image3: TImage
      Width = 774
      Height = 357
    end
    inherited DBGridEh: TDBGridEh
      Width = 774
      Height = 357
      Columns = <
        Item
          FieldName = 'VendorCode'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商代码'
          Width = 76
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商名称'
          Width = 194
          Visible = False
          KeyList.Strings = ()
        end
        Item
          FieldName = 'VendorCodeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '供应商标识'
          Width = 219
          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 = 140
          KeyList.Strings = ()
        end
        Item
          FieldName = 'UomName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '计量单位'
          Width = 53
          KeyList.Strings = ()
        end
        Item
          FieldName = 'BillTypeName'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '单据类型'
          Width = 69
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OnCheckDate'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '到货日期'
          Width = 68
          KeyList.Strings = ()
        end
        Item
          FieldName = 'OnCheckQty'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '到货量'
          Width = 61
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ReceivedQty0'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '质检合格量'
          Width = 70
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ReceivedQty1'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '正式入库量'
          Width = 78
          KeyList.Strings = ()
        end
        Item
          FieldName = 'ReceivedQty2'
          PickList.Strings = ()
          Title.Alignment = taCenter
          Title.Caption = '退货量'
          Width = 76
          KeyList.Strings = ()
        end>
    end
  end
  inherited AdoQry_Tmp: TAdoQuery
    Left = 333
    Top = 147
  end
  inherited ActionList: TActionList
    Top = 176
  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 + -