object frmCPSel: TfrmCPSel
  Left = 75
  Top = 75
  Width = 1175
  Height = 635
  Caption = #20135#21697#26597#35810
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnClose = FormClose
  OnDestroy = FormDestroy
  OnKeyDown = FormKeyDown
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 1159
    Height = 31
    ButtonHeight = 30
    ButtonWidth = 83
    Caption = 'ToolBar1'
    Color = clSkyBlue
    DisabledImages = DataLink_DDMD.ThreeImgList
    Flat = True
    Images = DataLink_DDMD.ThreeImgList
    List = True
    ParentColor = False
    ShowCaptions = True
    TabOrder = 0
    object TBRafresh: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #21047#26032
      ImageIndex = 0
      OnClick = TBRafreshClick
    end
    object ToolButton2: TToolButton
      Left = 63
      Top = 0
      AutoSize = True
      Caption = #36807#28388
      ImageIndex = 20
      OnClick = ToolButton2Click
    end
    object ToolButton4: TToolButton
      Left = 126
      Top = 0
      AutoSize = True
      Caption = #26631#31614#25171#21360
      ImageIndex = 4
      Visible = False
    end
    object Panel4: TPanel
      Left = 213
      Top = 0
      Width = 174
      Height = 30
      BevelInner = bvRaised
      BevelOuter = bvLowered
      Color = clSkyBlue
      TabOrder = 0
      Visible = False
      object Label13: TLabel
        Left = 3
        Top = 9
        Width = 52
        Height = 12
        Caption = #26631#31614#21517#31216
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object LabName: TBtnEditA
        Left = 61
        Top = 5
        Width = 105
        Height = 20
        TabOrder = 0
        OnBtnClick = LabNameBtnClick
      end
    end
    object ToolButton3: TToolButton
      Left = 387
      Top = 0
      Caption = #26631#31614#39044#35272
      ImageIndex = 66
      Visible = False
      OnClick = ToolButton3Click
    end
    object ToolButton6: TToolButton
      Left = 470
      Top = 0
      AutoSize = True
      Caption = #22270#29255#19979#36733
      ImageIndex = 19
      OnClick = ToolButton6Click
    end
    object TBClose: TToolButton
      Left = 557
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 21
      OnClick = TBCloseClick
    end
  end
  object cxGrid1: TcxGrid
    Left = 228
    Top = 89
    Width = 931
    Height = 507
    Align = alClient
    TabOrder = 1
    object Tv1: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      NavigatorButtons.Delete.Enabled = False
      NavigatorButtons.Delete.Visible = False
      OnCellClick = Tv1CellClick
      OnCellDblClick = Tv1CellDblClick
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsView.GroupByBox = False
      Styles.Inactive = DataLink_DDMD.SHuangSe
      Styles.IncSearch = DataLink_DDMD.SHuangSe
      Styles.Selection = DataLink_DDMD.SHuangSe
      Styles.Header = DataLink_DDMD.Default
      object v1Column19: TcxGridDBColumn
        Caption = #36873#25321
        DataBinding.FieldName = 'SSel'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.ImmediatePost = True
        Properties.NullStyle = nssUnchecked
        Properties.OnChange = v1Column19PropertiesChange
        Visible = False
        HeaderAlignmentHorz = taCenter
        Hidden = True
        Styles.Header = DataLink_DDMD.Default
        Width = 40
      end
      object v1Column12: TcxGridDBColumn
        Caption = #31867#21035
        DataBinding.FieldName = 'CPName'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 58
      end
      object v1Column15: TcxGridDBColumn
        Caption = #38472#21015#20301#32622
        DataBinding.FieldName = 'DefStr2'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 71
      end
      object v1Column2: TcxGridDBColumn
        Caption = #20013#25991#21517#31216
        DataBinding.FieldName = 'CYName'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 68
      end
      object v1Column1: TcxGridDBColumn
        Caption = #20135#21697#32534#21495
        DataBinding.FieldName = 'CYNo'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 70
      end
      object v1Column4: TcxGridDBColumn
        Caption = #35268#26684
        DataBinding.FieldName = 'CYSpec'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 67
      end
      object v1Column5: TcxGridDBColumn
        Caption = #20013#25991#25104#20998
        DataBinding.FieldName = 'CYCF'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 66
      end
      object v1Column3: TcxGridDBColumn
        Caption = #33521#25991#21517#31216
        DataBinding.FieldName = 'CYEName'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 66
      end
      object v1Column6: TcxGridDBColumn
        Caption = #33521#25991#25104#20998
        DataBinding.FieldName = 'CYECF'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 69
      end
      object v1Column8: TcxGridDBColumn
        Caption = #20811#37325
        DataBinding.FieldName = 'CYKZ'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 67
      end
      object v1Column7: TcxGridDBColumn
        Caption = #38376#24133
        DataBinding.FieldName = 'CYMF'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 73
      end
      object v1Column16: TcxGridDBColumn
        Caption = #33457#22411
        DataBinding.FieldName = 'CYHX'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 58
      end
      object v1Column9: TcxGridDBColumn
        Caption = #20013#25991#39068#33394
        DataBinding.FieldName = 'CYColor'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 67
      end
      object v1Column42: TcxGridDBColumn
        Caption = #33521#25991#39068#33394
        DataBinding.FieldName = 'CYColorEng'
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object v1Column11: TcxGridDBColumn
        Caption = #22791#27880
        DataBinding.FieldName = 'CYNote'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 66
      end
      object v1Column14: TcxGridDBColumn
        Caption = #22270#29255#19978#20256
        DataBinding.FieldName = 'TPFlag'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.NullStyle = nssUnchecked
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Styles.Header = DataLink_DDMD.Default
        Width = 59
      end
      object v1Column10: TcxGridDBColumn
        Caption = #20844#26020#20215
        DataBinding.FieldName = 'CYPriceKg'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 56
      end
      object v1Column13: TcxGridDBColumn
        Caption = #31859#20215
        DataBinding.FieldName = 'CYPriceM'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 54
      end
    end
    object cxGrid1Level1: TcxGridLevel
      GridView = Tv1
    end
  end
  object cxSplitter1: TcxSplitter
    Left = 220
    Top = 89
    Width = 8
    Height = 507
    HotZoneClassName = 'TcxMediaPlayer9Style'
    Control = Panel5
  end
  object Panel1: TPanel
    Left = 0
    Top = 31
    Width = 1159
    Height = 58
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 3
    object Label2: TLabel
      Left = 16
      Top = 15
      Width = 48
      Height = 12
      Caption = #25195#25551#20837#21475
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object Label1: TLabel
      Left = 364
      Top = 15
      Width = 48
      Height = 12
      Caption = #20013#25991#21517#31216
    end
    object Label4: TLabel
      Left = 482
      Top = 15
      Width = 48
      Height = 12
      Caption = #33521#25991#21517#31216
    end
    object Label5: TLabel
      Left = 216
      Top = 39
      Width = 48
      Height = 12
      Caption = #35268'    '#26684
    end
    object Label3: TLabel
      Left = 216
      Top = 15
      Width = 48
      Height = 12
      Caption = #20135#21697#32534#21495
    end
    object Label6: TLabel
      Left = 773
      Top = 15
      Width = 24
      Height = 12
      Caption = #20221#25968
      Visible = False
    end
    object Label7: TLabel
      Left = 606
      Top = 39
      Width = 24
      Height = 12
      Caption = #20811#37325
    end
    object Label8: TLabel
      Left = 364
      Top = 39
      Width = 48
      Height = 12
      Caption = #20013#25991#25104#20998
    end
    object Label9: TLabel
      Left = 482
      Top = 39
      Width = 48
      Height = 12
      Caption = #33521#25991#25104#20998
    end
    object Label10: TLabel
      Left = 606
      Top = 15
      Width = 24
      Height = 12
      Caption = #38376#24133
    end
    object Label11: TLabel
      Left = 832
      Top = 15
      Width = 7
      Height = 12
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlue
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label12: TLabel
      Left = 832
      Top = 39
      Width = 7
      Height = 12
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object CYID: TEdit
      Tag = 3
      Left = 72
      Top = 11
      Width = 121
      Height = 20
      TabOrder = 0
      OnKeyPress = CYIDKeyPress
    end
    object CYName: TEdit
      Tag = 2
      Left = 414
      Top = 11
      Width = 56
      Height = 20
      TabOrder = 1
      OnChange = CYNameChange
    end
    object CYEName: TEdit
      Tag = 2
      Left = 531
      Top = 11
      Width = 59
      Height = 20
      TabOrder = 2
      OnChange = CYNameChange
    end
    object CYSpec: TEdit
      Tag = 2
      Left = 265
      Top = 35
      Width = 89
      Height = 20
      TabOrder = 3
      OnChange = CYNoChange
    end
    object CYNO: TEdit
      Tag = 2
      Left = 265
      Top = 11
      Width = 89
      Height = 20
      TabOrder = 4
      OnChange = CYNoChange
      OnKeyPress = CYNOKeyPress
    end
    object Edit1: TEdit
      Left = 731
      Top = 11
      Width = 38
      Height = 20
      TabOrder = 5
      Visible = False
    end
    object CYKZ: TEdit
      Tag = 2
      Left = 632
      Top = 35
      Width = 76
      Height = 20
      TabOrder = 6
      OnChange = CYMFChange
    end
    object CYCF: TEdit
      Tag = 2
      Left = 414
      Top = 35
      Width = 56
      Height = 20
      TabOrder = 7
      OnChange = CYNameChange
    end
    object CYECF: TEdit
      Tag = 2
      Left = 531
      Top = 35
      Width = 59
      Height = 20
      TabOrder = 8
      OnChange = CYNameChange
    end
    object CYMF: TEdit
      Tag = 2
      Left = 632
      Top = 11
      Width = 76
      Height = 20
      TabOrder = 9
      OnChange = CYMFChange
    end
  end
  object Panel2: TPanel
    Left = 512
    Top = 232
    Width = 185
    Height = 41
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Caption = #27491#22312#26597#35810#25968#25454#65292#35831#31245#21518#12290#12290#12290
    Color = clSkyBlue
    Font.Charset = GB2312_CHARSET
    Font.Color = clRed
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 4
    Visible = False
  end
  object Panel5: TPanel
    Left = 0
    Top = 89
    Width = 220
    Height = 507
    Align = alLeft
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 5
    object Image2: TImage
      Left = 2
      Top = 318
      Width = 216
      Height = 187
      Align = alBottom
    end
    object cxDBTreeList1: TcxDBTreeList
      Left = 2
      Top = 2
      Width = 216
      Height = 316
      Align = alClient
      Bands = <
        item
        end>
      BufferedPaint = False
      DataController.DataSource = DataSource1
      DataController.ParentField = 'CPParent'
      DataController.KeyField = 'CPID'
      OptionsBehavior.ExpandOnDblClick = False
      OptionsSelection.CellSelect = False
      OptionsView.CellAutoHeight = True
      OptionsView.Headers = False
      RootValue = -1
      Styles.Inactive = DataLink_DDMD.Red
      Styles.Selection = DataLink_DDMD.Red
      Styles.IncSearch = DataLink_DDMD.Red
      TabOrder = 0
      OnDblClick = cxDBTreeList1DblClick
      object cxDBTreeList1cxDBTreeListColumn2: TcxDBTreeListColumn
        DataBinding.FieldName = 'CPName'
        Width = 210
        Position.ColIndex = 1
        Position.RowIndex = 0
        Position.BandIndex = 0
      end
    end
  end
  object DataSource1: TDataSource
    DataSet = ADOQueryTree
    Left = 91
    Top = 147
  end
  object ADOQueryTree20: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 61
    Top = 145
  end
  object ADOQueryTemp: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 989
    Top = 1
  end
  object ADOQueryCmd: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    Parameters = <>
    Left = 1029
    Top = 1
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    Grid = cxGrid1
    PopupMenus = <>
    Left = 432
    Top = 184
  end
  object DataSource2: TDataSource
    DataSet = CDS_Main
    Left = 451
    Top = 155
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 493
    Top = 193
  end
  object CDS_Main: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 392
    Top = 184
  end
  object RM1: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbExport, pbNavigator]
    DefaultCollate = False
    ShowPrintDialog = False
    SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
    PreviewOptions.RulerUnit = rmutScreenPixels
    PreviewOptions.RulerVisible = False
    PreviewOptions.DrawBorder = False
    PreviewOptions.BorderPen.Color = clGray
    PreviewOptions.BorderPen.Style = psDash
    Dataset = RMDB_Main
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    OnlyOwnerDataSet = False
    Left = 392
    Top = 152
    ReportData = {}
  end
  object RMDB_Main: TRMDBDataSet
    Visible = True
    DataSet = CDS_Main
    Left = 424
    Top = 152
  end
  object ODPat: TOpenDialog
    Options = [ofReadOnly, ofAllowMultiSelect, ofPathMustExist, ofFileMustExist, ofEnableSizing]
    Left = 484
    Top = 157
  end
  object IdFTP1: TIdFTP
    MaxLineAction = maException
    ReadTimeout = 0
    ProxySettings.ProxyType = fpcmNone
    ProxySettings.Port = 0
    Left = 461
    Top = 188
  end
  object SaveDialog1: TSaveDialog
    Left = 513
    Top = 157
  end
  object DSCYNO: TDataSource
    DataSet = CDS_CYNO
    Left = 771
    Top = 235
  end
  object CDS_CYNO: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 712
    Top = 264
  end
  object ADOQueryTree: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 32
    Top = 200
  end
end
