object frmContract_Main: TfrmContract_Main
  Left = 64
  Top = 133
  Width = 1232
  Height = 656
  Caption = #21152#24037#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 = 1216
    AutoSize = True
    ButtonHeight = 30
    ButtonWidth = 83
    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 TBAdd: TToolButton
      Left = 126
      Top = 0
      AutoSize = True
      Caption = #26032#22686
      ImageIndex = 3
      OnClick = TBAddClick
    end
    object TBEdit: TToolButton
      Left = 189
      Top = 0
      AutoSize = True
      Caption = #20462#25913
      ImageIndex = 54
      OnClick = TBEditClick
    end
    object TBDel: TToolButton
      Left = 252
      Top = 0
      AutoSize = True
      Caption = #21024#38500
      ImageIndex = 17
      OnClick = TBDelClick
    end
    object Tchk: TToolButton
      Left = 315
      Top = 0
      AutoSize = True
      Caption = #23457#26680
      ImageIndex = 41
      Visible = False
      OnClick = TchkClick
    end
    object TNochk: TToolButton
      Left = 378
      Top = 0
      AutoSize = True
      Caption = #25764#38144#23457#26680
      ImageIndex = 86
      Visible = False
      OnClick = TNochkClick
    end
    object TBExport: TToolButton
      Left = 465
      Top = 0
      AutoSize = True
      Caption = #23548#20986
      ImageIndex = 75
      OnClick = TBExportClick
    end
    object TBPrint: TToolButton
      Left = 528
      Top = 0
      AutoSize = True
      Caption = #25171#21360
      ImageIndex = 12
      OnClick = TBPrintClick
    end
    object TBClose: TToolButton
      Left = 591
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 55
      OnClick = TBCloseClick
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 32
    Width = 1216
    Height = 54
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 1
    object Label1: TLabel
      Left = 21
      Top = 22
      Width = 52
      Height = 12
      Caption = #31614#35746#26085#26399
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label2: TLabel
      Left = 161
      Top = 22
      Width = 18
      Height = 12
      Caption = '---'
    end
    object Label3: TLabel
      Left = 283
      Top = 22
      Width = 52
      Height = 12
      Caption = #21512#21516#32534#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label5: TLabel
      Left = 444
      Top = 22
      Width = 52
      Height = 12
      Caption = #20135#21697#21517#31216
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label4: TLabel
      Left = 604
      Top = 22
      Width = 26
      Height = 12
      Caption = #35268#26684
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label6: TLabel
      Left = 740
      Top = 22
      Width = 39
      Height = 12
      Caption = #21152#24037#21378
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object BegDate: TDateTimePicker
      Left = 76
      Top = 18
      Width = 85
      Height = 20
      Date = 40675.464742650460000000
      Format = 'yyyy-MM-dd'
      Time = 40675.464742650460000000
      TabOrder = 0
    end
    object EndDate: TDateTimePicker
      Left = 179
      Top = 18
      Width = 86
      Height = 20
      Date = 40675.464761099540000000
      Format = 'yyyy-MM-dd'
      Time = 40675.464761099540000000
      TabOrder = 1
    end
    object ConNoM: TEdit
      Tag = 2
      Left = 337
      Top = 18
      Width = 81
      Height = 20
      TabOrder = 2
      OnChange = ConNoMChange
      OnKeyPress = conPress
    end
    object C_CodeNameM: TEdit
      Tag = 2
      Left = 497
      Top = 18
      Width = 83
      Height = 20
      TabOrder = 3
      OnChange = ConNoMChange
    end
    object C_Spec: TEdit
      Tag = 2
      Left = 632
      Top = 18
      Width = 83
      Height = 20
      TabOrder = 4
      OnChange = ConNoMChange
    end
    object FactoryNoName: TEdit
      Tag = 2
      Left = 784
      Top = 18
      Width = 83
      Height = 20
      TabOrder = 5
      OnChange = ConNoMChange
    end
  end
  object ScrollBox1: TScrollBox
    Left = 0
    Top = 107
    Width = 1216
    Height = 485
    Align = alTop
    BorderStyle = bsNone
    TabOrder = 2
    object cxGrid1: TcxGrid
      Left = 0
      Top = 0
      Width = 1216
      Height = 467
      Align = alTop
      TabOrder = 0
      object Tv1: TcxGridDBTableView
        OnMouseDown = Tv1MouseDown
        NavigatorButtons.ConfirmDelete = False
        OnFocusedRecordChanged = Tv1FocusedRecordChanged
        DataController.DataSource = DataSource1
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = v1C_Qty
          end
          item
            Kind = skSum
            Column = v1Price
          end
          item
            Kind = skSum
            Column = v1Money
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsCustomize.ColumnFiltering = False
        OptionsData.Deleting = False
        OptionsData.Editing = False
        OptionsSelection.CellSelect = False
        OptionsView.Footer = True
        OptionsView.GroupByBox = False
        Styles.Inactive = DataLink_TradeManage.SHuangSe
        Styles.IncSearch = DataLink_TradeManage.SHuangSe
        Styles.Selection = DataLink_TradeManage.SHuangSe
        Styles.Header = DataLink_TradeManage.Default
        object v1OrderNo: TcxGridDBColumn
          Caption = #21512#21516#32534#21495
          DataBinding.FieldName = 'ConNo'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 80
        end
        object v1Column2: TcxGridDBColumn
          Caption = #20135#21697#21517#31216
          DataBinding.FieldName = 'C_CodeName'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 100
        end
        object v1DeliveryDate: TcxGridDBColumn
          Caption = #20132#36135#26085#26399
          DataBinding.FieldName = 'DeliveryDate'
          PropertiesClassName = 'TcxDateEditProperties'
          Properties.SaveTime = False
          Properties.ShowTime = False
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 75
        end
        object v1Column5: TcxGridDBColumn
          Caption = #31614#35746#26085#26399
          DataBinding.FieldName = 'QDTime'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 75
        end
        object v1FactoryNo1Name: TcxGridDBColumn
          Caption = #21152#24037#21378
          DataBinding.FieldName = 'FactoryNoName'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 100
        end
        object v1PRTSpec: TcxGridDBColumn
          Caption = #35268#26684
          DataBinding.FieldName = 'C_Spec'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 80
        end
        object v1PRTMF: TcxGridDBColumn
          Caption = #38376#24133'(cm)'
          DataBinding.FieldName = 'MFQty'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 60
        end
        object v1PRTKZ: TcxGridDBColumn
          Caption = #20811#37325'(g/'#13217')'
          DataBinding.FieldName = 'KZQty'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 77
        end
        object v1Qty1: TcxGridDBColumn
          Caption = #21152#24037#21305#25968
          DataBinding.FieldName = 'Qty1'
          HeaderAlignmentHorz = taCenter
          Hidden = True
          Styles.Header = DataLink_TradeManage.Default
          Width = 62
        end
        object v1C_Qty: TcxGridDBColumn
          Caption = #21152#24037#25968#37327
          DataBinding.FieldName = 'C_Qty'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 62
        end
        object v1OrderUnit: TcxGridDBColumn
          Caption = #21333#20301
          DataBinding.FieldName = 'C_Unit'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 50
        end
        object v1Price: TcxGridDBColumn
          Caption = #21152#24037#21333#20215
          DataBinding.FieldName = 'Price'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 83
        end
        object v1Money: TcxGridDBColumn
          Caption = #37329#39069
          DataBinding.FieldName = 'JGMoney'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 83
        end
        object v1Column4: TcxGridDBColumn
          Caption = #22791#27880
          DataBinding.FieldName = 'C_Note'
          HeaderAlignmentHorz = taCenter
          Styles.Header = DataLink_TradeManage.Default
          Width = 106
        end
      end
      object cxGrid1Level1: TcxGridLevel
        GridView = Tv1
      end
    end
  end
  object cxTabControl1: TcxTabControl
    Left = 0
    Top = 86
    Width = 1216
    Height = 21
    Align = alTop
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    ParentFont = False
    Style = 9
    TabIndex = 0
    TabOrder = 3
    Tabs.Strings = (
      #26410#23457#26680
      #23457#26680
      #20840#37096)
    Visible = False
    OnChange = cxTabControl1Change
    ClientRectBottom = 21
    ClientRectRight = 1216
    ClientRectTop = 19
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    Grid = cxGrid1
    PopupMenus = <>
    Left = 1140
    Top = 52
  end
  object ADOQueryCmd: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    Parameters = <>
    Left = 1092
    Top = 16
  end
  object ADOQueryTemp: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 1032
    Top = 52
  end
  object DataSource1: TDataSource
    DataSet = Order_Main
    Left = 1080
    Top = 76
  end
  object ClientDataSet3: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 1112
    Top = 240
  end
  object DataSource2: TDataSource
    DataSet = ClientDataSet2
    Left = 880
    Top = 176
  end
  object DataSource3: TDataSource
    DataSet = ClientDataSet3
    Left = 1112
    Top = 216
  end
  object ClientDataSet2: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 920
    Top = 224
  end
  object RM1: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, 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 = RMDBMain
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    OnlyOwnerDataSet = False
    Left = 918
    Top = 186
    ReportData = {}
  end
  object RMDBMain: TRMDBDataSet
    Visible = True
    DataSet = CDS_PRT
    Left = 864
    Top = 248
  end
  object RMXLSExport1: TRMXLSExport
    ShowAfterExport = True
    ExportPrecision = 1
    PagesOfSheet = 1
    ExportImages = True
    ExportFrames = True
    ExportImageFormat = ifBMP
    JPEGQuality = 0
    ScaleX = 1.000000000000000000
    ScaleY = 1.000000000000000000
    CompressFile = False
    Left = 853
    Top = 207
  end
  object CDS_PRT: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 934
    Top = 65
  end
  object Order_Main: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 1112
    Top = 163
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    Parameters = <>
    Left = 616
    Top = 279
  end
end
