object frmContractList: TfrmContractList
  Left = 344
  Top = 138
  Width = 1518
  Height = 667
  Caption = #35746#21333#21512#21516
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 1502
    Height = 62
    AutoSize = True
    ButtonHeight = 30
    ButtonWidth = 107
    Caption = 'ToolBar1'
    Color = clSkyBlue
    Flat = True
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    Images = DataLink_TradeManage.ThreeImgList
    List = True
    ParentColor = False
    ParentFont = False
    ShowCaptions = True
    TabOrder = 0
    object TBRafresh: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #21047#26032
      ImageIndex = 2
      OnClick = TBRafreshClick
    end
    object TBFind: TToolButton
      Left = 63
      Top = 0
      AutoSize = True
      Caption = #36807#28388
      ImageIndex = 59
      OnClick = TBFindClick
    end
    object ToolButton4: TToolButton
      Left = 126
      Top = 0
      Caption = #20135#21697#31867#21035#23450#20041
      ImageIndex = 58
      Visible = False
      OnClick = ToolButton4Click
    end
    object TBAdd: TToolButton
      Left = 233
      Top = 0
      AutoSize = True
      Caption = #26032#22686
      ImageIndex = 3
      OnClick = TBAddClick
    end
    object TBEdit: TToolButton
      Left = 296
      Top = 0
      AutoSize = True
      Caption = #20462#25913
      ImageIndex = 54
      OnClick = TBEditClick
    end
    object ToolButton2: TToolButton
      Left = 359
      Top = 0
      AutoSize = True
      Caption = #22797#21046
      ImageIndex = 57
      OnClick = ToolButton2Click
    end
    object ToolButton1: TToolButton
      Left = 422
      Top = 0
      AutoSize = True
      Caption = #26597#30475
      ImageIndex = 58
      OnClick = ToolButton1Click
    end
    object TBDel: TToolButton
      Left = 485
      Top = 0
      AutoSize = True
      Caption = #21024#38500
      ImageIndex = 17
      OnClick = TBDelClick
    end
    object Tchk: TToolButton
      Left = 548
      Top = 0
      AutoSize = True
      Caption = #21512#21516#23436#25104
      ImageIndex = 41
      OnClick = TchkClick
    end
    object Tnochk: TToolButton
      Left = 635
      Top = 0
      AutoSize = True
      Caption = #25764#38144#23436#25104
      ImageIndex = 86
      Visible = False
      OnClick = TnochkClick
    end
    object TQX: TToolButton
      Left = 722
      Top = 0
      AutoSize = True
      Caption = #21512#21516#21462#28040
      ImageIndex = 41
      Wrap = True
      OnClick = TQXClick
    end
    object TNOQX: TToolButton
      Left = 0
      Top = 30
      AutoSize = True
      Caption = #25764#38144#21512#21516#21462#28040
      ImageIndex = 86
      OnClick = TNOQXClick
    end
    object ToolButton5: TToolButton
      Left = 111
      Top = 30
      AutoSize = True
      Caption = #35746#21333#23548#20837
      ImageIndex = 8
      OnClick = ToolButton5Click
    end
    object ToolButton9: TToolButton
      Left = 198
      Top = 30
      AutoSize = True
      Caption = #35746#21333#23548#20837'2'
      ImageIndex = 8
      OnClick = ToolButton9Click
    end
    object TBExport: TToolButton
      Left = 291
      Top = 30
      AutoSize = True
      Caption = #23548#20986
      ImageIndex = 75
      OnClick = TBExportClick
    end
    object ToolButton7: TToolButton
      Left = 354
      Top = 30
      AutoSize = True
      Caption = #26631#31614#35774#32622
      ImageIndex = 60
      OnClick = ToolButton7Click
    end
    object ToolButton8: TToolButton
      Left = 441
      Top = 30
      AutoSize = True
      Caption = #26631#31614#25171#21360
      ImageIndex = 12
      OnClick = ToolButton8Click
    end
    object TBPrint: TToolButton
      Left = 528
      Top = 30
      AutoSize = True
      Caption = #25171#21360
      ImageIndex = 12
      OnClick = TBPrintClick
    end
    object ToolButton6: TToolButton
      Left = 591
      Top = 30
      AutoSize = True
      Caption = #21512#24182#25171#21360
      ImageIndex = 12
      OnClick = ToolButton6Click
    end
    object ToolButton3: TToolButton
      Left = 678
      Top = 30
      AutoSize = True
      Caption = #21512#21516#38468#20214
      ImageIndex = 57
      OnClick = ToolButton3Click
    end
    object TBClose: TToolButton
      Left = 765
      Top = 30
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 55
      OnClick = TBCloseClick
    end
    object ToolButton10: TToolButton
      Left = 828
      Top = 30
      Caption = #26631#31614#35774#32622#29305#27530
      ImageIndex = 56
      OnClick = ToolButton10Click
    end
  end
  object cxGrid1: TcxGrid
    Left = 0
    Top = 127
    Width = 1502
    Height = 276
    Align = alTop
    PopupMenu = PopupMenu1
    TabOrder = 1
    object Tv1: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      OnCellDblClick = Tv1CellDblClick
      OnCustomDrawCell = Tv1CustomDrawCell
      OnFocusedRecordChanged = Tv1FocusedRecordChanged
      DataController.DataSource = DataSource1
      DataController.Filter.AutoDataSetFilter = True
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = v1PRTOrderQty
        end
        item
          Kind = skSum
          Column = v1ConMoney
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      Styles.Inactive = DataLink_TradeManage.SHuangSe
      Styles.IncSearch = DataLink_TradeManage.SHuangSe
      Styles.Selection = DataLink_TradeManage.SHuangSe
      Styles.OnGetContentStyle = Tv1StylesGetContentStyle
      Styles.Header = DataLink_TradeManage.Default
      object v1Column4: TcxGridDBColumn
        Caption = #36873#25321
        DataBinding.FieldName = 'SSel'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.NullStyle = nssUnchecked
        HeaderAlignmentHorz = taCenter
        Width = 49
      end
      object v1ConNo: TcxGridDBColumn
        Caption = #21512#21516#21495
        DataBinding.FieldName = 'ConNo'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 73
      end
      object v1Column3: TcxGridDBColumn
        Caption = 'PO#'
        DataBinding.FieldName = 'KHConNO'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 80
      end
      object v1Column1: TcxGridDBColumn
        Caption = #20844#21496#21488#22836
        DataBinding.FieldName = 'SYRName'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 119
      end
      object v1OrdPerson1: TcxGridDBColumn
        Caption = #19994#21153#21592
        DataBinding.FieldName = 'ConPerson1'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 83
      end
      object v1CustomerNoName: TcxGridDBColumn
        Caption = #23458#25143
        DataBinding.FieldName = 'CustomerNoName'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 102
      end
      object v1OrdDate: TcxGridDBColumn
        Caption = #21046#21333#26085#26399
        DataBinding.FieldName = 'OrdDate'
        PropertiesClassName = 'TcxDateEditProperties'
        Properties.ShowTime = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 120
      end
      object v1DeliveryDate: TcxGridDBColumn
        Caption = #20132#36135#26085#26399
        DataBinding.FieldName = 'DlyDate'
        PropertiesClassName = 'TcxDateEditProperties'
        Properties.ShowTime = False
        OnCustomDrawCell = v1DeliveryDateCustomDrawCell
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 97
      end
      object v1MPRTSpec: TcxGridDBColumn
        Caption = #20132#26399#35828#26126
        DataBinding.FieldName = 'DlyNote'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 100
      end
      object v1OrdDefStr1: TcxGridDBColumn
        Caption = #20215#26684#26415#35821
        DataBinding.FieldName = 'PriceNote'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 93
      end
      object v1PRTOrderQty: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'PRTOrderQty'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 72
      end
      object v1Column2: TcxGridDBColumn
        Caption = #25968#37327#21333#20301
        DataBinding.FieldName = 'OrderUnit'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 60
      end
      object v1Column9: TcxGridDBColumn
        DataBinding.FieldName = 'status'
        Visible = False
        Options.Editing = False
        VisibleForCustomization = False
      end
      object v1Column10: TcxGridDBColumn
        Caption = #21512#21516#38468#20214
        DataBinding.FieldName = 'ISSC'
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.NullStyle = nssUnchecked
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 58
      end
      object v1ConMoney: TcxGridDBColumn
        Caption = #37329#39069
        DataBinding.FieldName = 'ConMoney'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Content = FoneRed
        Styles.Footer = FoneRed
        Styles.Header = FoneRed
        Width = 81
      end
      object Tv1Column1: TcxGridDBColumn
        Caption = #26631#31614#21517#31216
        DataBinding.FieldName = 'LBName'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Options.Focusing = False
        Width = 80
      end
    end
    object cxGrid1Level1: TcxGridLevel
      GridView = Tv1
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 62
    Width = 1502
    Height = 43
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 2
    object Label1: TLabel
      Left = 23
      Top = 15
      Width = 52
      Height = 12
      Caption = #21046#21333#26085#26399
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label4: TLabel
      Left = 295
      Top = 15
      Width = 40
      Height = 12
      Caption = #23458'  '#25143
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label5: TLabel
      Left = 658
      Top = 15
      Width = 53
      Height = 12
      Caption = #19994' '#21153' '#21592
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label8: TLabel
      Left = 458
      Top = 87
      Width = 52
      Height = 12
      Caption = #33521#25991#21517#31216
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label9: TLabel
      Left = 471
      Top = 15
      Width = 39
      Height = 12
      Caption = #21512#21516#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label12: TLabel
      Left = 335
      Top = 83
      Width = 26
      Height = 12
      Caption = #20811#37325
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label13: TLabel
      Left = 335
      Top = 107
      Width = 26
      Height = 12
      Caption = #38376#24133
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label2: TLabel
      Left = 164
      Top = 16
      Width = 6
      Height = 12
      Caption = '-'
    end
    object Label3: TLabel
      Left = 846
      Top = 15
      Width = 21
      Height = 12
      Caption = 'PO#'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label6: TLabel
      Left = 1064
      Top = 16
      Width = 54
      Height = 12
      Caption = #38144#21806#39069#65306'0'
    end
    object BegDate: TDateTimePicker
      Left = 76
      Top = 11
      Width = 85
      Height = 20
      Date = 40675.464742650460000000
      Format = 'yyyy-MM-dd'
      Time = 40675.464742650460000000
      TabOrder = 0
    end
    object EndDate: TDateTimePicker
      Left = 172
      Top = 11
      Width = 86
      Height = 20
      Date = 40675.464761099540000000
      Format = 'yyyy-MM-dd'
      Time = 40675.464761099540000000
      TabOrder = 1
    end
    object CustomerNoName: TEdit
      Tag = 2
      Left = 343
      Top = 11
      Width = 100
      Height = 20
      TabOrder = 2
      OnChange = CustomerNoNameChange
      OnKeyPress = ConNoKeyPress
    end
    object ConPerson1: TEdit
      Tag = 2
      Left = 719
      Top = 11
      Width = 100
      Height = 20
      TabOrder = 3
      OnChange = CustomerNoNameChange
      OnKeyPress = ConNoKeyPress
    end
    object MPRTCodeName: TEdit
      Tag = 2
      Left = 511
      Top = 83
      Width = 76
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
      TabOrder = 4
      OnChange = CustomerNoNameChange
    end
    object ConNo: TEdit
      Tag = 2
      Left = 516
      Top = 11
      Width = 100
      Height = 20
      TabOrder = 5
      OnChange = CustomerNoNameChange
      OnKeyPress = ConNoKeyPress
    end
    object MPRTKZ: TEdit
      Tag = 2
      Left = 364
      Top = 79
      Width = 56
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
      TabOrder = 6
      OnChange = CustomerNoNameChange
    end
    object MPRTMF: TEdit
      Tag = 2
      Left = 364
      Top = 103
      Width = 56
      Height = 20
      ImeName = #20013#25991' ('#31616#20307') - '#25628#29399#25340#38899#36755#20837#27861
      TabOrder = 7
      OnChange = CustomerNoNameChange
    end
    object KHConNO: TEdit
      Tag = 2
      Left = 875
      Top = 11
      Width = 100
      Height = 20
      TabOrder = 8
      OnChange = CustomerNoNameChange
      OnKeyPress = ConNoKeyPress
    end
  end
  object cxTabControl1: TcxTabControl
    Left = 0
    Top = 105
    Width = 1502
    Height = 22
    Align = alTop
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    TabOrder = 3
    Properties.CustomButtons.Buttons = <>
    Properties.Style = 9
    Properties.TabIndex = 0
    Properties.Tabs.Strings = (
      #26410#23436#25104
      #24050#23436#25104
      #20840#37096)
    OnChange = cxTabControl1Change
    ClientRectBottom = 22
    ClientRectRight = 1502
    ClientRectTop = 19
  end
  object cxSplitter1: TcxSplitter
    Left = 0
    Top = 417
    Width = 1502
    Height = 8
    HotZoneClassName = 'TcxMediaPlayer9Style'
    AlignSplitter = salBottom
    Control = cxGrid2
  end
  object cxGrid2: TcxGrid
    Left = 0
    Top = 425
    Width = 1502
    Height = 203
    Align = alBottom
    TabOrder = 5
    object TV2: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <
        item
          Format = '0'
          Position = spFooter
        end
        item
          Format = '0'
          Position = spFooter
          Column = cxGridDBColumn3
        end
        item
          Format = '0'
          Position = spFooter
          Column = v1PRTPrice
        end
        item
          Format = '0'
          Position = spFooter
          Column = cxGridDBColumn4
        end
        item
          Format = '0'
          Position = spFooter
          Column = cxGridDBColumn5
        end>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = cxGridDBColumn3
        end
        item
          Kind = skSum
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsCustomize.ColumnFiltering = False
      OptionsData.Editing = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      Styles.Inactive = DataLink_TradeManage.SHuangSe
      Styles.IncSearch = DataLink_TradeManage.SHuangSe
      Styles.Selection = DataLink_TradeManage.SHuangSe
      Styles.Header = DataLink_TradeManage.Default
      object V2Column1: TcxGridDBColumn
        Caption = #20135#21697#32534#21495
        DataBinding.FieldName = 'prtCode'
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object v1Column5: TcxGridDBColumn
        Caption = #33521#25991#21697#21517
        DataBinding.FieldName = 'PrtCodeName'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object v1Column6: TcxGridDBColumn
        Caption = #27454#21495
        DataBinding.FieldName = 'PRTspec'
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object v1PRTColor: TcxGridDBColumn
        Caption = #39068#33394
        DataBinding.FieldName = 'PRTColor'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        Properties.ReadOnly = False
        HeaderAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Header = DataLink_TradeManage.handBlack
        Width = 100
      end
      object cxGridDBColumn1: TcxGridDBColumn
        Caption = #39068#33394#33521#25991
        DataBinding.FieldName = 'SOrdDefStr4'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.Default
        Width = 100
      end
      object cxGridDBColumn2: TcxGridDBColumn
        Caption = #23610#23544'/'#23610#30721
        DataBinding.FieldName = 'SOrdDefStr5'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.FonePurple
        Width = 100
      end
      object v1Column7: TcxGridDBColumn
        Caption = #38376#24133
        DataBinding.FieldName = 'PRTMF'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object v1Column8: TcxGridDBColumn
        Caption = #20811#37325
        DataBinding.FieldName = 'PRTKZ'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object cxGridDBColumn3: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'PRTOrderQty'
        PropertiesClassName = 'TcxTextEditProperties'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.Default
        Width = 60
      end
      object v1OrderUnit: TcxGridDBColumn
        Caption = #25968#37327#21333#20301
        DataBinding.FieldName = 'OrderUnit'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.Default
        Width = 60
      end
      object v1PRTPrice: TcxGridDBColumn
        Caption = #21333#20215
        DataBinding.FieldName = 'PRTPrice'
        PropertiesClassName = 'TcxTextEditProperties'
        HeaderAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Header = DataLink_TradeManage.handBlack
        Width = 60
      end
      object v1PriceUnit: TcxGridDBColumn
        Caption = #24065#31181
        DataBinding.FieldName = 'PriceUnit'
        PropertiesClassName = 'TcxButtonEditProperties'
        Properties.Buttons = <
          item
            Default = True
            Kind = bkEllipsis
          end>
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.Default
        Width = 60
      end
      object cxGridDBColumn4: TcxGridDBColumn
        Caption = #20844#26020#25968#37327
        DataBinding.FieldName = 'KgQty'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 60
      end
      object cxGridDBColumn5: TcxGridDBColumn
        Caption = #20844#26020#21333#20215
        DataBinding.FieldName = 'KgPrice'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Styles.Header = DataLink_TradeManage.Default
        Width = 60
      end
      object V2Column4: TcxGridDBColumn
        Caption = #27719#29575
        DataBinding.FieldName = 'huilv'
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object V2Column2: TcxGridDBColumn
        Caption = #38144#21806#26085#26399
        DataBinding.FieldName = 'Sorddate'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 80
      end
      object V2Column5: TcxGridDBColumn
        Caption = #24555#36882#21333#21495
        DataBinding.FieldName = 'SOrdDefNote2'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 80
      end
      object V2Column3: TcxGridDBColumn
        Caption = #22791#27880
        DataBinding.FieldName = 'SOrdDefNote1'
        HeaderAlignmentHorz = taCenter
        Width = 100
      end
      object TV2Column1: TcxGridDBColumn
        Caption = #26465#24418#30721
        DataBinding.FieldName = 'barcode'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 120
      end
    end
    object cxGridLevel1: TcxGridLevel
      GridView = TV2
    end
  end
  object cxGrid3: TcxGrid
    Left = 480
    Top = 310
    Width = 629
    Height = 236
    Align = alCustom
    TabOrder = 6
    Visible = False
    object TV3: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <
        item
          Format = '0'
          Position = spFooter
        end
        item
          Format = '0'
          Position = spFooter
          Column = cxGridDBColumn11
        end
        item
          Format = '0'
          Position = spFooter
        end>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = cxGridDBColumn11
        end
        item
          Kind = skSum
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsCustomize.ColumnFiltering = False
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      Styles.Inactive = DataLink_TradeManage.SHuangSe
      Styles.IncSearch = DataLink_TradeManage.SHuangSe
      Styles.Selection = DataLink_TradeManage.SHuangSe
      Styles.Header = DataLink_TradeManage.Default
      object TV3Column2: TcxGridDBColumn
      end
      object TV3Column1: TcxGridDBColumn
        Caption = 'Name'
        DataBinding.FieldName = 'OrderNo'
        HeaderAlignmentHorz = taCenter
        Width = 84
      end
      object cxGridDBColumn6: TcxGridDBColumn
        Caption = 'color'
        DataBinding.FieldName = 'PRTColor'
        HeaderAlignmentHorz = taCenter
        Width = 55
      end
      object cxGridDBColumn7: TcxGridDBColumn
        Caption = 'Lineitem sku'
        DataBinding.FieldName = 'PRTCodeName'
        HeaderAlignmentHorz = taCenter
        Width = 95
      end
      object cxGridDBColumn11: TcxGridDBColumn
        Caption = 'Lineitem quantity'
        DataBinding.FieldName = 'PRTOrderQty'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.FontBlue
        Width = 105
      end
      object cxGridDBColumn13: TcxGridDBColumn
        Caption = 'Notes'
        DataBinding.FieldName = 'Note'
        HeaderAlignmentHorz = taCenter
        Width = 93
      end
      object TV3Column3: TcxGridDBColumn
        Caption = 'Lineitem name'
        DataBinding.FieldName = 'PRTCode'
      end
      object TV3Column4: TcxGridDBColumn
        Caption = 'size'
        DataBinding.FieldName = 'PRTCM'
        HeaderAlignmentHorz = taRightJustify
      end
    end
    object cxGridLevel2: TcxGridLevel
      GridView = TV3
    end
  end
  object cxGrid4: TcxGrid
    Left = 180
    Top = 166
    Width = 629
    Height = 236
    Align = alCustom
    TabOrder = 7
    Visible = False
    object TV4: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <
        item
          Format = '0'
          Position = spFooter
        end
        item
          Format = '0'
          Position = spFooter
          Column = cxGridDBColumn14
        end
        item
          Format = '0'
          Position = spFooter
        end>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = cxGridDBColumn14
        end
        item
          Kind = skSum
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsCustomize.ColumnFiltering = False
      OptionsData.Deleting = False
      OptionsData.Editing = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      OptionsView.Indicator = True
      Styles.Inactive = DataLink_TradeManage.SHuangSe
      Styles.IncSearch = DataLink_TradeManage.SHuangSe
      Styles.Selection = DataLink_TradeManage.SHuangSe
      Styles.Header = DataLink_TradeManage.Default
      object cxGridDBColumn8: TcxGridDBColumn
      end
      object cxGridDBColumn9: TcxGridDBColumn
        Caption = 'Name'
        DataBinding.FieldName = 'OrderNo'
        HeaderAlignmentHorz = taCenter
        Width = 84
      end
      object cxGridDBColumn14: TcxGridDBColumn
        Caption = 'Lineitem quantity'
        DataBinding.FieldName = 'PRTOrderQty'
        HeaderAlignmentHorz = taCenter
        Styles.Header = DataLink_TradeManage.FontBlue
        Width = 105
      end
      object cxGridDBColumn12: TcxGridDBColumn
        Caption = 'Lineitem sku'
        DataBinding.FieldName = 'PRTCode'
        HeaderAlignmentHorz = taCenter
        Width = 95
      end
      object cxGridDBColumn16: TcxGridDBColumn
        Caption = 'Lineitem name'
        DataBinding.FieldName = 'PRTCodeName'
      end
      object cxGridDBColumn15: TcxGridDBColumn
        Caption = 'Notes'
        DataBinding.FieldName = 'Note'
        HeaderAlignmentHorz = taCenter
        Width = 93
      end
      object cxGridDBColumn10: TcxGridDBColumn
        Caption = 'Color'
        DataBinding.FieldName = 'PRTColor'
        HeaderAlignmentHorz = taCenter
        Width = 55
      end
      object cxGridDBColumn17: TcxGridDBColumn
        Caption = 'Size'
        DataBinding.FieldName = 'PRTCM'
        HeaderAlignmentHorz = taRightJustify
      end
    end
    object cxGridLevel3: TcxGridLevel
      GridView = TV4
    end
  end
  object Panel2: TPanel
    Left = 172
    Top = 184
    Width = 361
    Height = 93
    TabOrder = 8
    Visible = False
    object Label7: TLabel
      Left = 55
      Top = 15
      Width = 80
      Height = 19
      Caption = #20135#21697#32534#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Button2: TButton
      Left = 35
      Top = 59
      Width = 75
      Height = 25
      Caption = #25171#21360
      TabOrder = 0
      OnClick = Button2Click
    end
    object Button3: TButton
      Left = 235
      Top = 59
      Width = 75
      Height = 25
      Caption = #20851#38381
      TabOrder = 1
      OnClick = Button3Click
    end
    object Edit1: TEdit
      Tag = 2
      Left = 141
      Top = 12
      Width = 180
      Height = 27
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 2
    end
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    Grid = cxGrid1
    PopupMenus = <>
    Left = 544
    Top = 176
  end
  object ADOQueryCmd: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    Parameters = <>
    Left = 688
    Top = 224
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 552
    Top = 216
  end
  object ADOQueryTemp: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 280
    Top = 272
  end
  object DataSource1: TDataSource
    DataSet = Order_Main
    Left = 440
    Top = 184
  end
  object Order_Main: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 480
    Top = 152
  end
  object RM1: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbSaveToXLS, pbExport, pbNavigator]
    DefaultCollate = False
    SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
    PreviewOptions.RulerUnit = rmutScreenPixels
    PreviewOptions.RulerVisible = False
    PreviewOptions.DrawBorder = False
    PreviewOptions.BorderPen.Color = clGray
    PreviewOptions.BorderPen.Style = psDash
    Dataset = RMDBDataSet1
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    OnlyOwnerDataSet = False
    Left = 336
    Top = 168
    ReportData = {}
  end
  object RMDBDataSet1: TRMDBDataSet
    Visible = True
    DataSet = Cds_Print1
    Left = 388
    Top = 180
  end
  object RMXLSExport1: TRMXLSExport
    ShowAfterExport = True
    ExportPrecision = 1
    PagesOfSheet = 100
    ExportImages = True
    ExportFrames = True
    ExportImageFormat = ifBMP
    JPEGQuality = 0
    ScaleX = 1.000000000000000000
    ScaleY = 1.000000000000000000
    CompressFile = False
    Left = 608
    Top = 304
  end
  object PopupMenu1: TPopupMenu
    Left = 288
    Top = 184
    object N2: TMenuItem
      Caption = #20840#36873
      OnClick = N2Click
    end
    object N1: TMenuItem
      Caption = #20840#24323
      OnClick = N1Click
    end
  end
  object ADOQueryPrint: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 416
    Top = 300
  end
  object CDS_Print: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 344
    Top = 288
  end
  object PopupMenu2: TPopupMenu
    Left = 648
    Top = 168
    object N11: TMenuItem
      Caption = #26684#24335'1'
    end
    object N21: TMenuItem
      Caption = #26684#24335'2'
    end
    object N31: TMenuItem
      Caption = #26684#24335'3'
    end
  end
  object ADOQuerySub: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    Parameters = <>
    Left = 556
    Top = 416
  end
  object DataSource2: TDataSource
    DataSet = Order_sub
    Left = 488
    Top = 440
  end
  object ThreeColorBase: TcxStyleRepository
    Left = 139
    Top = 80
    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]
      Color = clSkyBlue
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
    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 = clBlack
    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 = clBlack
    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 = clRed
      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 cxStyle1: TcxStyle
      AssignedValues = [svColor]
      Color = clLime
    end
  end
  object OpenDialog1: TOpenDialog
    Left = 1000
    Top = 4
  end
  object Order_sub: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 540
    Top = 448
  end
  object Cds_Print1: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 604
    Top = 236
  end
end
