object Form1: TForm1
  Left = 204
  Top = 180
  Width = 870
  Height = 500
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 862
    Height = 30
    ButtonHeight = 30
    ButtonWidth = 59
    Caption = 'ToolBar1'
    Color = clSkyBlue
    EdgeInner = esNone
    EdgeOuter = esNone
    Flat = True
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    Images = DataLink_RCInspection.ThreeImgList
    List = True
    ParentColor = False
    ParentFont = False
    ShowCaptions = True
    TabOrder = 0
    object ToolButton2: TToolButton
      Left = 0
      Top = 0
      Caption = #20445#23384
      ImageIndex = 58
    end
    object TBClose: TToolButton
      Left = 59
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 55
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 30
    Width = 862
    Height = 41
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 1
    object Label1: TLabel
      Left = 25
      Top = 16
      Width = 52
      Height = 12
      Caption = #24067#21305#26465#30721
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object APID: TEdit
      Left = 80
      Top = 10
      Width = 138
      Height = 24
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 0
    end
  end
  object cxGrid2: TcxGrid
    Left = 0
    Top = 71
    Width = 862
    Height = 392
    Align = alClient
    TabOrder = 2
    object Tv2: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = DataSource1
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = v2Column1
        end
        item
          Kind = skSum
          Column = Tv2CDQty
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsSelection.CellSelect = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      Styles.Header = DataLink_RCInspection.TextSHuangSe
      object tv2CDType: TcxGridDBColumn
        Caption = #30133#28857#21517#31216
        DataBinding.FieldName = 'CDName'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Options.Sorting = False
        Styles.Content = DataLink_RCInspection.Default
        Width = 144
      end
      object tv2CDWZ: TcxGridDBColumn
        Caption = #20301#32622#36215
        DataBinding.FieldName = 'CDBeg'
        PropertiesClassName = 'TcxTextEditProperties'
        HeaderAlignmentHorz = taCenter
        HeaderGlyphAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Content = DataLink_RCInspection.Default
        Width = 96
      end
      object v2Column2: TcxGridDBColumn
        Caption = #20301#32622#27490
        DataBinding.FieldName = 'CDend'
        HeaderAlignmentHorz = taCenter
        HeaderGlyphAlignmentHorz = taCenter
        Styles.Content = DataLink_RCInspection.Default
        Width = 93
      end
      object Tv2CDQty: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'CDQty'
        PropertiesClassName = 'TcxTextEditProperties'
        HeaderAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Content = DataLink_RCInspection.Default
        Width = 93
      end
      object Tv2CDReason: TcxGridDBColumn
        Caption = #21407#22240
        DataBinding.FieldName = 'CDReason'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Sorting = False
        Width = 131
      end
      object v2Column1: TcxGridDBColumn
        DataBinding.FieldName = 'CDQty'
        Visible = False
        Width = 55
      end
    end
    object cxGridLevel1: TcxGridLevel
      GridView = Tv2
    end
  end
  object ADOTmp: TADOQuery
    Connection = DataLink_RCInspection.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 336
    Top = 40
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_RCInspection.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 312
    Top = 200
  end
  object ADOCmd: TADOQuery
    Connection = DataLink_RCInspection.ADOLink
    Parameters = <>
    Left = 288
    Top = 40
  end
  object DataSource1: TDataSource
    DataSet = Order_MJ
    Left = 528
    Top = 200
  end
  object Order_MJ: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 344
    Top = 200
  end
end
