inherited frmPurchaseContractSel: TfrmPurchaseContractSel
  Left = 372
  Top = 106
  Caption = #37319#36141#21152#24037#21512#21516#36873#25321
  ClientHeight = 558
  ClientWidth = 1564
  Color = clWhite
  Font.Charset = GB2312_CHARSET
  Font.Height = -12
  Font.Name = #23435#20307
  Position = poScreenCenter
  OnClose = FormClose
  ExplicitWidth = 1580
  ExplicitHeight = 597
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar [0]
    Tag = 1
    Left = 0
    Top = 0
    Width = 1564
    Height = 38
    AutoSize = True
    ButtonHeight = 38
    ButtonWidth = 91
    Caption = 'ToolBar1'
    Color = clWhite
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    Images = ImageList1
    List = True
    ParentColor = False
    ParentFont = False
    ShowCaptions = True
    TabOrder = 0
    object ToolButton1: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #36873#25321
      ImageIndex = 12
      OnClick = ToolButton1Click
    end
    object TBSave: TToolButton
      Left = 71
      Top = 0
      AutoSize = True
      Caption = #20445#23384#26684#24335
      ImageIndex = 16
      OnClick = TBSaveClick
    end
    object TBClose: TToolButton
      Left = 166
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 7
      OnClick = TBCloseClick
    end
  end
  object Panel1: TPanel [1]
    Left = 0
    Top = 38
    Width = 1564
    Height = 44
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 1
    object Label1: TLabel
      Left = 18
      Top = 15
      Width = 36
      Height = 12
      Caption = #21512#21516#21495
    end
    object Label2: TLabel
      Left = 450
      Top = 15
      Width = 48
      Height = 12
      Caption = #20135#21697#21517#31216
    end
    object Label3: TLabel
      Left = 242
      Top = 15
      Width = 24
      Height = 12
      Caption = #23458#25143
    end
    object ConNo: TEdit
      Tag = 2
      Left = 60
      Top = 11
      Width = 169
      Height = 20
      TabOrder = 0
      OnChange = ConNoChange
    end
    object C_Name: TEdit
      Tag = 2
      Left = 500
      Top = 11
      Width = 169
      Height = 20
      TabOrder = 1
      OnChange = ConNoChange
    end
    object BuyName: TEdit
      Tag = 2
      Left = 272
      Top = 11
      Width = 169
      Height = 20
      TabOrder = 2
      OnChange = ConNoChange
    end
  end
  object cxGrid1: TcxGrid [2]
    Left = 0
    Top = 104
    Width = 1564
    Height = 454
    Align = alClient
    BorderStyle = cxcbsNone
    PopupMenu = PM_1
    TabOrder = 2
    object TV1: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = DS_1
      DataController.Filter.AutoDataSetFilter = True
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <
        item
          Format = '0'
          Position = spFooter
        end
        item
          Format = '0'
          Position = spFooter
          Column = v1PRTOrderQty
        end
        item
          Format = '0'
          Position = spFooter
        end>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = v1PRTOrderQty
        end
        item
          Kind = skSum
        end
        item
          Kind = skSum
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsCustomize.ColumnFiltering = False
      OptionsData.Deleting = False
      OptionsData.DeletingConfirmation = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      Styles.Header = Default
      object TV1Column7: TcxGridDBColumn
        Caption = #36873#25321
        DataBinding.FieldName = 'SSel'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.ImmediatePost = True
        HeaderAlignmentHorz = taCenter
        Width = 41
      end
      object TV1Column1: TcxGridDBColumn
        Caption = #21512#21516#21495
        DataBinding.FieldName = 'ConNo'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
      end
      object TV1Column6: TcxGridDBColumn
        Caption = #23458#25143#21333#21495
        DataBinding.FieldName = 'BuyConNo'
        HeaderAlignmentHorz = taCenter
        Width = 88
      end
      object TV1Column5: TcxGridDBColumn
        Caption = #32463#33829#21333#20301
        DataBinding.FieldName = 'SellName'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
      end
      object TV1Column3: TcxGridDBColumn
        Caption = #23458#25143
        DataBinding.FieldName = 'BuyName'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
      end
      object TV1Column4: TcxGridDBColumn
        Caption = #20013#38388#21830
        DataBinding.FieldName = 'MiddleName'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
      end
      object v1Column5: TcxGridDBColumn
        Caption = #35268#26684
        DataBinding.FieldName = 'C_Spec'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 60
      end
      object TV1Column2: TcxGridDBColumn
        Caption = #20132#36135#26085#26399
        DataBinding.FieldName = 'DlyDate'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 72
      end
      object VC_SCSCode: TcxGridDBColumn
        Caption = #20135#21697#32534#21495
        DataBinding.FieldName = 'C_Code'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ReadOnly = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 77
      end
      object cxGridDBColumn2: TcxGridDBColumn
        Caption = #20135#21697#21517#31216
        DataBinding.FieldName = 'C_Name'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object cxGridDBColumn4: TcxGridDBColumn
        Caption = #25104#20998
        DataBinding.FieldName = 'C_Composition'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object cxGridDBColumn5: TcxGridDBColumn
        Caption = #39068#33394
        DataBinding.FieldName = 'C_Color'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object cxGridDBColumn6: TcxGridDBColumn
        Caption = #33394#21495
        DataBinding.FieldName = 'C_ColorNo'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 57
      end
      object cxGridDBColumn7: TcxGridDBColumn
        Caption = #27454#21495
        DataBinding.FieldName = 'C_StyleNo'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 77
      end
      object cxGridDBColumn8: TcxGridDBColumn
        Caption = #33457#22411
        DataBinding.FieldName = 'C_Pattern'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ReadOnly = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object v1Column6: TcxGridDBColumn
        Caption = #38376#24133
        DataBinding.FieldName = 'C_Width'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object v1Column7: TcxGridDBColumn
        Caption = #20811#37325
        DataBinding.FieldName = 'C_GramWeight'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object v1PRTOrderQty: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'ConQty'
        PropertiesClassName = 'TcxTextEditProperties'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object v1OrderUnit: TcxGridDBColumn
        Caption = #21333#20301
        DataBinding.FieldName = 'ConUnit'
        PropertiesClassName = 'TcxComboBoxProperties'
        Properties.DropDownListStyle = lsEditFixedList
        Properties.Items.Strings = (
          'Kg'
          'M'
          'Y')
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 58
      end
      object v1Column2: TcxGridDBColumn
        Caption = #22791#27880
        DataBinding.FieldName = 'ConSNote'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
    end
    object cxGridLevel1: TcxGridLevel
      GridView = TV1
    end
  end
  object cxTabControl1: TcxTabControl [3]
    Left = 0
    Top = 82
    Width = 1564
    Height = 22
    Align = alTop
    TabOrder = 3
    Properties.CustomButtons.Buttons = <>
    Properties.Style = 9
    Properties.TabIndex = 0
    Properties.Tabs.Strings = (
      '  '#26410#21040#36135'  '
      '    '#20840#37096'    ')
    OnChange = cxTabControl1Change
    ClientRectBottom = 22
    ClientRectRight = 1564
    ClientRectTop = 19
  end
  inherited ADOQueryBaseCmd: TADOQuery
    Connection = ADOConnection1
    Left = 289
    Top = 128
  end
  inherited ADOQueryBaseTemp: TADOQuery
    Connection = ADOConnection1
    Left = 145
    Top = 129
  end
  inherited ImageList_new32: TImageList
    Left = 344
    Top = 352
    Bitmap = {
[encoded data, 37772 characters]
      00000000000000000000000000000000}
  end
  object ADOQueryMain: TADOQuery
    Connection = ADOConnection1
    LockType = ltReadOnly
    Parameters = <>
    Left = 112
    Top = 352
  end
  object ADOQueryTemp: TADOQuery
    Connection = ADOConnection1
    LockType = ltReadOnly
    Parameters = <>
    Left = 112
    Top = 288
  end
  object ADOQueryCmd: TADOQuery
    Connection = ADOConnection1
    Parameters = <>
    Left = 112
    Top = 416
  end
  object DS_1: TDataSource
    DataSet = CDS_1
    Left = 584
    Top = 272
  end
  object CDS_1: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 496
    Top = 272
  end
  object ADOConnection1: TADOConnection
    LoginPrompt = False
    Left = 624
    Top = 168
  end
  object GPM_1: TcxGridPopupMenu
    PopupMenus = <>
    Left = 416
    Top = 272
  end
  object ImageList1: TImageList
    DrawingStyle = dsTransparent
    Height = 32
    Width = 32
    Left = 448
    Top = 352
    Bitmap = {
[encoded data, 262771 characters]
      000000000000}
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 528
    Top = 136
    PixelsPerInch = 96
    object cxStyle1: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
  end
  object ThreeColorBase: TcxStyleRepository
    Left = 411
    Top = 136
    PixelsPerInch = 96
    object SHuangSe: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = 4707838
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      TextColor = clBtnText
    end
    object SkyBlue: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clSkyBlue
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      TextColor = clBlack
    end
    object Default: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object QHuangSe: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = 8454143
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
    end
    object Red: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = clRed
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
    end
    object FontBlue: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlue
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clBlue
    end
    object TextSHuangSe: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clOlive
    end
    object FonePurple: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindow
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clPurple
    end
    object FoneClMaroon: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clMaroon
    end
    object FoneRed: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clRed
    end
    object RowColor: TcxStyle
      AssignedValues = [svColor]
      Color = 16311512
    end
    object handBlack: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxBlue: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = 16711731
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
    end
    object SHuangSeCu: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = 4707838
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlack
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clRed
    end
  end
  object PM_1: TPopupMenu
    Left = 648
    Top = 296
    object N1: TMenuItem
      Caption = #20840#36873
      OnClick = N1Click
    end
    object N2: TMenuItem
      Caption = #20840#24323
      OnClick = N2Click
    end
  end
end
