inherited frmTradeMarketDisScan: TfrmTradeMarketDisScan
  Left = 143
  Top = 4
  Caption = #25195#25551#37197#36135
  ClientHeight = 650
  ClientWidth = 1540
  Color = clWhite
  Font.Charset = GB2312_CHARSET
  Font.Name = #23435#20307
  Position = poMainFormCenter
  WindowState = wsMaximized
  ExplicitWidth = 1556
  ExplicitHeight = 689
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar [0]
    Tag = 1
    Left = 0
    Top = 0
    Width = 1540
    Height = 38
    AutoSize = True
    ButtonHeight = 38
    ButtonWidth = 91
    Caption = 'ToolBar1'
    Color = clWhite
    EdgeInner = esNone
    EdgeOuter = esNone
    Font.Charset = GB2312_CHARSET
    Font.Color = clWindowText
    Font.Height = -12
    Font.Name = #23435#20307
    Font.Style = []
    Images = DataLink_TradeMarket.ImageList_new32
    List = True
    ParentColor = False
    ParentFont = False
    ShowCaptions = True
    TabOrder = 0
    object TBSave: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #20445#23384
      ImageIndex = 16
      OnClick = TBSaveClick
    end
    object ToolButton3: TToolButton
      Left = 71
      Top = 0
      AutoSize = True
      Caption = #20445#23384#26684#24335
      ImageIndex = 16
    end
    object TBClose: TToolButton
      Left = 166
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 7
      OnClick = TBCloseClick
    end
  end
  object MovePanel2: TMovePanel [1]
    Left = 408
    Top = 192
    Width = 289
    Height = 49
    BevelInner = 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 = -13
    Font.Name = #23435#20307
    Font.Style = [fsBold]
    ParentFont = False
    TabOrder = 1
    Visible = False
  end
  object Panel1: TPanel [2]
    Left = 0
    Top = 38
    Width = 1540
    Height = 75
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 2
    object Label1: TLabel
      Left = 24
      Top = 24
      Width = 100
      Height = 24
      Caption = #26465#30721#32534#21495
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlue
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label15: TLabel
      Left = 428
      Top = 28
      Width = 80
      Height = 20
      Caption = #37197#36135#20154#21592
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
    end
    object SmNO: TEdit
      Left = 130
      Top = 20
      Width = 153
      Height = 32
      CharCase = ecUpperCase
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlue
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnKeyPress = SmNOKeyPress
    end
    object PHYG: TBtnEditA
      Left = 514
      Top = 24
      Width = 149
      Height = 29
      Hint = 'PHYG/'#37197#36135#21592
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 1
      OnBtnClick = PHYGBtnClick
    end
    object Button1: TButton
      Left = 281
      Top = 20
      Width = 75
      Height = 33
      Caption = #36873#25321
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 2
      OnClick = Button1Click
    end
  end
  object cxGrid1: TcxGrid [3]
    Left = 0
    Top = 113
    Width = 713
    Height = 537
    Align = alLeft
    TabOrder = 3
    object Tv1: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      ScrollbarAnnotations.CustomAnnotations = <>
      DataController.DataSource = DataSource1
      DataController.Filter.AutoDataSetFilter = True
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <
        item
          Format = 'C_Code'
        end>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = v1RollNum
        end
        item
          Kind = skSum
          Column = v1Qty
        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.Editing = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      object v1MJID: TcxGridDBColumn
        Caption = #35746#21333#21495
        DataBinding.FieldName = 'TMMNO'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 133
      end
      object v1MJXH: TcxGridDBColumn
        Caption = #23458#25143
        DataBinding.FieldName = 'CustName'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 99
      end
      object v1P_Code: TcxGridDBColumn
        Caption = #21697#21517
        DataBinding.FieldName = 'C_Name'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 88
      end
      object v1P_Color: TcxGridDBColumn
        Caption = #32534#21495
        DataBinding.FieldName = 'C_Code'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 62
      end
      object Tv1Column2: TcxGridDBColumn
        Caption = #33457#22411
        DataBinding.FieldName = 'C_Pattern'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 80
      end
      object v1RollNum: TcxGridDBColumn
        Caption = #21305#25968
        DataBinding.FieldName = 'TMSPiece'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 73
      end
      object v1Qty: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'TMSQty'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 76
      end
      object v1PHRollNum: TcxGridDBColumn
        Caption = #37197#36135#21305#25968
        DataBinding.FieldName = 'PHRollNum'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 131
      end
      object v1PHQty: TcxGridDBColumn
        Caption = #37197#36135#25968#37327
        DataBinding.FieldName = 'PHQty'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 125
      end
      object Tv1Column1: TcxGridDBColumn
        Caption = #39068#33394
        DataBinding.FieldName = 'C_Color'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 70
      end
    end
    object cxGrid1Level1: TcxGridLevel
      GridView = Tv1
    end
  end
  object cxGrid2: TcxGrid [4]
    Left = 713
    Top = 113
    Width = 827
    Height = 537
    Align = alClient
    TabOrder = 4
    object TV2: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      ScrollbarAnnotations.CustomAnnotations = <>
      OnCustomDrawCell = TV2CustomDrawCell
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <
        item
          Format = 'C_Code'
        end>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = cxGridDBColumn5
        end
        item
          Kind = skSum
          Column = cxGridDBColumn6
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsBehavior.FocusCellOnTab = True
      OptionsBehavior.GoToNextCellOnEnter = True
      OptionsBehavior.FocusCellOnCycle = True
      OptionsCustomize.ColumnFiltering = False
      OptionsCustomize.ColumnSorting = False
      OptionsData.Deleting = False
      OptionsData.Inserting = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      object V2Column2: TcxGridDBColumn
        Caption = #36873#25321
        DataBinding.FieldName = 'Ssel'
        DataBinding.IsNullValueType = True
        PropertiesClassName = 'TcxCheckBoxProperties'
        Properties.ImmediatePost = True
        Properties.NullStyle = nssUnchecked
        Width = 66
      end
      object cxGridDBColumn1: TcxGridDBColumn
        Caption = #25195#25551#20449#24687
        DataBinding.FieldName = 'SDefNote'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 204
      end
      object cxGridDBColumn5: TcxGridDBColumn
        Caption = #21305#25968
        DataBinding.FieldName = 'RollNum'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 70
      end
      object cxGridDBColumn6: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'stkmetet'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 102
      end
      object cxGridDBColumn2: TcxGridDBColumn
        Caption = #26465#30721
        DataBinding.FieldName = 'ciid'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 166
      end
      object cxGridDBColumn4: TcxGridDBColumn
        Caption = #21697#21517
        DataBinding.FieldName = 'C_Code'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 109
      end
      object cxGridDBColumn3: TcxGridDBColumn
        Caption = #32534#21495
        DataBinding.FieldName = 'C_Code'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 78
      end
      object TV2Column1: TcxGridDBColumn
        Caption = #33457#22411
        DataBinding.FieldName = 'C_Pattern'
        DataBinding.IsNullValueType = True
      end
      object V2Column1: TcxGridDBColumn
        Caption = #32568#21495
        DataBinding.FieldName = 'batchno'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 84
      end
      object cxGridDBColumn7: TcxGridDBColumn
        Caption = #31561#32423
        DataBinding.FieldName = 'Grade'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 93
      end
      object V2Column3: TcxGridDBColumn
        Caption = #20811#37325
        DataBinding.FieldName = 'C_GramWeight'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 67
      end
      object V2Column4: TcxGridDBColumn
        Caption = #38376#24133
        DataBinding.FieldName = 'C_Width'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 60
      end
      object TV2Column2: TcxGridDBColumn
        Caption = #39068#33394
        DataBinding.FieldName = 'C_Color'
        DataBinding.IsNullValueType = True
        HeaderAlignmentHorz = taCenter
        Width = 70
      end
    end
    object cxGridLevel1: TcxGridLevel
      GridView = TV2
    end
  end
  object MovePanel1: TMovePanel [5]
    Left = 54
    Top = 201
    Width = 561
    Height = 305
    BevelInner = bvLowered
    Color = clSkyBlue
    TabOrder = 5
    Visible = False
    object Label2: TLabel
      Left = 48
      Top = 160
      Width = 150
      Height = 48
      Caption = 'Label2'
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -48
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Edit2: TEdit
      Left = 85
      Top = 35
      Width = 386
      Height = 72
      Enabled = False
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -64
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 0
      Text = '91209120001'
    end
    object Button4: TButton
      Left = 224
      Top = 248
      Width = 75
      Height = 41
      Caption = #20851#38381
      TabOrder = 1
      OnClick = Button4Click
    end
  end
  inherited ADOQueryBaseCmd: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    Left = 265
    Top = 504
  end
  inherited ADOQueryBaseTemp: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    Left = 353
    Top = 505
  end
  inherited ImageList_new32: TImageList
    Left = 1480
    Top = 32
  end
  inherited cxImageList_bar: TcxImageList
    FormatVersion = 1
  end
  object GPM_1: TcxGridPopupMenu
    PopupMenus = <>
    Left = 436
    Top = 509
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 69
    Top = 130
    PixelsPerInch = 96
    object cxStyle1: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = clInactiveCaption
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle2: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = 4707838
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clBtnText
    end
    object cxStyle_gridRow: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = 16311512
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_gridFoot: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_gridHead: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_gridGroupBox: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = clMoneyGreen
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_yellow: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = 8454143
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_Red: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = clRed
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_fontBlack: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle_fontclFuchsia: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clFuchsia
    end
    object cxStyle_fontclPurple: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clPurple
    end
    object cxStyle_fontclGreen: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clGreen
    end
    object cxStyle_fontclBlue: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clBlue
    end
    object cxStyle_fontclTeal: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clTeal
    end
    object cxStyle_fontclOlive: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clOlive
    end
  end
  object CDSOrder: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 172
    Top = 144
  end
  object DataSource1: TDataSource
    DataSet = CDSOrder
    Left = 232
    Top = 160
  end
  object ADOQueryTmp: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    Parameters = <>
    Left = 352
    Top = 312
  end
  object ADOQueryPrint: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 360
    Top = 240
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    Parameters = <>
    Left = 404
    Top = 216
  end
  object ADOQueryCmd: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    Parameters = <>
    Left = 492
    Top = 252
  end
  object RMDB_Main: TRMDBDataSet
    Visible = True
    Left = 608
    Top = 264
  end
  object ADOQuery1: TADOQuery
    Connection = DataLink_TradeMarket.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 648
    Top = 232
  end
  object CDSMJID: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 732
    Top = 212
  end
  object DataSource2: TDataSource
    DataSet = CDSMJID
    Left = 872
    Top = 248
  end
  object RMXLSExport2: TRMXLSExport
    ShowAfterExport = True
    ExportPrecision = 1
    PagesOfSheet = 1
    ExportImages = True
    ExportFrames = True
    ExportImageFormat = ifBMP
    JPEGQuality = 0
    ScaleX = 1.000000000000000000
    ScaleY = 1.000000000000000000
    CompressFile = False
    Left = 860
    Top = 164
  end
  object RM1: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [rmpbZoom, rmpbLoad, rmpbSave, rmpbPrint, rmpbFind, rmpbPageSetup, rmpbExit, rmpbSaveToXLS, rmpbExport, rmpbNavigator]
    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
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    OnlyOwnerDataSet = False
    Left = 784
    Top = 136
    ReportData = {}
  end
end
