object frmCPAdd: TfrmCPAdd
  Left = 134
  Top = 162
  Width = 1167
  Height = 399
  Align = alClient
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 1151
    Height = 33
    ButtonHeight = 30
    ButtonWidth = 59
    Caption = 'ToolBar1'
    Color = clSkyBlue
    DisabledImages = DataLink_DDMD.ThreeImgList
    Flat = True
    Images = DataLink_DDMD.ThreeImgList
    List = True
    ParentColor = False
    ShowCaptions = True
    TabOrder = 0
    object ToolButton1: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #20445#23384
      ImageIndex = 15
      OnClick = ToolButton1Click
    end
    object TBClose: TToolButton
      Left = 63
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 21
      OnClick = TBCloseClick
    end
    object Panel1: TPanel
      Left = 126
      Top = 0
      Width = 131
      Height = 30
      BevelInner = bvRaised
      BevelOuter = bvLowered
      Color = clSkyBlue
      TabOrder = 0
      Visible = False
      object CheckBox1: TCheckBox
        Left = 10
        Top = 7
        Width = 97
        Height = 17
        Caption = #38376#24133#21333#20301#33521#23544
        TabOrder = 0
        OnClick = CheckBox1Click
      end
    end
  end
  object cxGrid1: TcxGrid
    Left = 0
    Top = 33
    Width = 1151
    Height = 327
    Align = alClient
    TabOrder = 1
    object Tv1: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsCustomize.ColumnFiltering = False
      OptionsView.GroupByBox = False
      object v1Column1: TcxGridDBColumn
        Tag = 3
        Caption = #20135#21697#32534#21495
        DataBinding.FieldName = 'CYNo'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.CharCase = ecUpperCase
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 112
      end
      object v1Column12: TcxGridDBColumn
        Tag = 3
        Caption = #32769#32534#21495
        DataBinding.FieldName = 'OldCYNo'
        HeaderAlignmentHorz = taCenter
        HeaderGlyphAlignmentHorz = taRightJustify
        Styles.Header = DataLink_DDMD.Default
        Width = 73
      end
      object v1Column16: TcxGridDBColumn
        Tag = 3
        Caption = #35746#21333#21495
        DataBinding.FieldName = 'OrderNo'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 79
      end
      object v1Column13: TcxGridDBColumn
        Tag = 3
        Caption = #38472#21015#20301#32622
        DataBinding.FieldName = 'DefStr2'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.OnButtonClick = v1Column13PropertiesButtonClick
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 67
      end
      object v1Column2: TcxGridDBColumn
        Tag = 3
        Caption = #20013#25991#21517#31216
        DataBinding.FieldName = 'CYName'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.OnButtonClick = v1Column2PropertiesButtonClick
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 80
      end
      object v1Column3: TcxGridDBColumn
        Tag = 3
        Caption = #33521#25991#21517#31216
        DataBinding.FieldName = 'CYEName'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 66
      end
      object v1Column4: TcxGridDBColumn
        Tag = 3
        Caption = #35268#26684
        DataBinding.FieldName = 'CYSpec'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 67
      end
      object v1Column5: TcxGridDBColumn
        Tag = 3
        Caption = #20013#25991#25104#20998
        DataBinding.FieldName = 'CYCF'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 66
      end
      object v1Column6: TcxGridDBColumn
        Tag = 3
        Caption = #33521#25991#25104#20998
        DataBinding.FieldName = 'CYECF'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 63
      end
      object v1Column7: TcxGridDBColumn
        Tag = 3
        Caption = #38376#24133
        DataBinding.FieldName = 'CYMF'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.OnEditValueChanged = v1Column7PropertiesEditValueChanged
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 62
      end
      object v1Column8: TcxGridDBColumn
        Tag = 3
        Caption = #20811#37325
        DataBinding.FieldName = 'CYKZ'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.OnEditValueChanged = v1Column8PropertiesEditValueChanged
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 68
      end
      object v1Column9: TcxGridDBColumn
        Tag = 3
        Caption = #20013#25991#39068#33394
        DataBinding.FieldName = 'CYColor'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 67
      end
      object v1Column41: TcxGridDBColumn
        Tag = 3
        Caption = #33521#25991#39068#33394
        DataBinding.FieldName = 'CYColorEng'
        Styles.Header = DataLink_DDMD.Default
        Width = 60
      end
      object v1Column14: TcxGridDBColumn
        Tag = 3
        Caption = #33457#22411
        DataBinding.FieldName = 'CYHX'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 70
      end
      object v1Column20: TcxGridDBColumn
        Tag = 2
        Caption = #20844#26020#20215
        DataBinding.FieldName = 'CYPriceKg'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.OnEditValueChanged = v1Column20PropertiesEditValueChanged
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 53
      end
      object v1Column10: TcxGridDBColumn
        Tag = 2
        Caption = #31859#20215
        DataBinding.FieldName = 'CYPriceM'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 66
      end
      object v1Column15: TcxGridDBColumn
        Tag = 3
        Caption = #38754#26009#26469#28304
        DataBinding.FieldName = 'CYFrom'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 91
      end
      object v1Column11: TcxGridDBColumn
        Tag = 3
        Caption = #22791#27880
        DataBinding.FieldName = 'CYNote'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_DDMD.Default
        Width = 85
      end
    end
    object cxGrid1Level1: TcxGridLevel
      GridView = Tv1
    end
  end
  object CDS_Sub: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 416
    Top = 208
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 453
    Top = 209
  end
  object DataSource2: TDataSource
    DataSet = CDS_Sub
    Left = 491
    Top = 211
  end
  object ADOQueryCmd: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    Parameters = <>
    Left = 589
    Top = 169
  end
  object ADOQueryTemp: TADOQuery
    Connection = DataLink_DDMD.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 573
    Top = 121
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    Grid = cxGrid1
    PopupMenus = <>
    Left = 528
    Top = 216
  end
end
