object frmMJManageNewFD: TfrmMJManageNewFD
  Left = 89
  Top = 0
  Width = 912
  Height = 705
  Caption = #25104#21697#26816#39564
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  OnClick = FormClick
  OnClose = FormClose
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 1366
    Height = 30
    ButtonHeight = 30
    ButtonWidth = 83
    Caption = 'ToolBar1'
    Color = clSkyBlue
    EdgeInner = esNone
    EdgeOuter = esNone
    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 ToolButton1: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #21047#26032
      ImageIndex = 9
      OnClick = ToolButton1Click
    end
    object TBCD: TToolButton
      Left = 63
      Top = 0
      AutoSize = True
      Caption = #30133#28857#31649#29702
      ImageIndex = 132
      OnClick = TBCDClick
    end
    object TBClose: TToolButton
      Left = 150
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 55
      OnClick = TBCloseClick
    end
  end
  object cxGrid2: TcxGrid
    Left = 817
    Top = 78
    Width = 403
    Height = 571
    Align = alLeft
    TabOrder = 1
    object Tv2: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      OnCellClick = Tv2CellClick
      OnCellDblClick = Tv2CellDblClick
      DataController.DataSource = DataSource2
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
          Column = v2Column1
        end
        item
          Kind = skSum
          Column = Tv2CDQty
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsSelection.CellSelect = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      object tv2CDType: TcxGridDBColumn
        Caption = #30133#28857#21517#31216
        DataBinding.FieldName = 'CDName'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Options.Sorting = False
        Styles.Content = cxStyle4
        Styles.Header = cxStyle4
        Width = 157
      end
      object tv2CDWZ: TcxGridDBColumn
        Caption = #20301#32622#36215
        DataBinding.FieldName = 'CDBeg'
        PropertiesClassName = 'TcxTextEditProperties'
        HeaderAlignmentHorz = taCenter
        HeaderGlyphAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Content = cxStyle1
        Styles.Header = cxStyle1
        Width = 82
      end
      object v2Column2: TcxGridDBColumn
        Caption = #20301#32622#27490
        DataBinding.FieldName = 'CDend'
        HeaderAlignmentHorz = taCenter
        HeaderGlyphAlignmentHorz = taCenter
        Styles.Content = cxStyle1
        Styles.Header = cxStyle1
        Width = 81
      end
      object Tv2CDQty: TcxGridDBColumn
        Caption = #25968#37327
        DataBinding.FieldName = 'CDQty'
        PropertiesClassName = 'TcxTextEditProperties'
        Properties.OnEditValueChanged = Tv2CDQtyPropertiesEditValueChanged
        HeaderAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Content = cxStyle3
        Styles.Header = cxStyle3
        Width = 76
      end
      object Tv2CDReason: TcxGridDBColumn
        Caption = #21407#22240
        DataBinding.FieldName = 'CDReason'
        Visible = False
        HeaderAlignmentHorz = taCenter
        Options.Sorting = False
        Styles.Content = cxStyle2
        Styles.Header = cxStyle1
        Width = 131
      end
      object v2Column1: TcxGridDBColumn
        DataBinding.FieldName = 'CDQty'
        Visible = False
        Width = 55
      end
    end
    object cxGridLevel1: TcxGridLevel
      GridView = Tv2
    end
  end
  object cxGrid3: TcxGrid
    Left = 1220
    Top = 78
    Width = 146
    Height = 571
    Align = alLeft
    TabOrder = 2
    object Tv3: TcxGridDBTableView
      NavigatorButtons.ConfirmDelete = False
      OnCellClick = Tv3CellClick
      DataController.DataSource = DataSource3
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      Styles.Inactive = cxStyle4
      Styles.IncSearch = cxStyle4
      Styles.Selection = cxStyle4
      object cxGridDBColumn1: TcxGridDBColumn
        Caption = #24050#30331#35760
        DataBinding.FieldName = 'MJID'
        HeaderAlignmentHorz = taCenter
        Options.Focusing = False
        Options.Sorting = False
        Styles.Content = cxStyle5
        Styles.Header = cxStyle5
        Width = 137
      end
    end
    object cxGridLevel2: TcxGridLevel
      GridView = Tv3
    end
  end
  object ScrollBox1: TScrollBox
    Left = 0
    Top = 78
    Width = 601
    Height = 571
    Align = alLeft
    TabOrder = 3
    object SpeedButton13: TSpeedButton
      Left = 3
      Top = 0
      Width = 70
      Height = 70
      Caption = #23567#40657#28857
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton14: TSpeedButton
      Left = 77
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton15: TSpeedButton
      Left = 151
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton16: TSpeedButton
      Left = 225
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton17: TSpeedButton
      Left = 299
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton18: TSpeedButton
      Left = 373
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton19: TSpeedButton
      Left = 447
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton20: TSpeedButton
      Left = 521
      Top = 0
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton21: TSpeedButton
      Left = 3
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton22: TSpeedButton
      Left = 77
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton23: TSpeedButton
      Left = 151
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton24: TSpeedButton
      Left = 225
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton25: TSpeedButton
      Left = 299
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton26: TSpeedButton
      Left = 373
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton27: TSpeedButton
      Left = 447
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton28: TSpeedButton
      Left = 521
      Top = 74
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton29: TSpeedButton
      Left = 3
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton30: TSpeedButton
      Left = 77
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton31: TSpeedButton
      Left = 151
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton32: TSpeedButton
      Left = 225
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton33: TSpeedButton
      Left = 299
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton34: TSpeedButton
      Left = 373
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton35: TSpeedButton
      Left = 447
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton36: TSpeedButton
      Left = 521
      Top = 148
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton37: TSpeedButton
      Left = 3
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton38: TSpeedButton
      Left = 77
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton39: TSpeedButton
      Left = 151
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton40: TSpeedButton
      Left = 225
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton41: TSpeedButton
      Left = 299
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton42: TSpeedButton
      Left = 373
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton43: TSpeedButton
      Left = 447
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton44: TSpeedButton
      Left = 521
      Top = 222
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton45: TSpeedButton
      Left = 3
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton46: TSpeedButton
      Left = 77
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton47: TSpeedButton
      Left = 151
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton48: TSpeedButton
      Left = 225
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton50: TSpeedButton
      Left = 299
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton51: TSpeedButton
      Left = 373
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton52: TSpeedButton
      Left = 447
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton53: TSpeedButton
      Left = 521
      Top = 296
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton54: TSpeedButton
      Left = 3
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton55: TSpeedButton
      Left = 77
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton56: TSpeedButton
      Left = 151
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton57: TSpeedButton
      Left = 225
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton58: TSpeedButton
      Left = 299
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton59: TSpeedButton
      Left = 373
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton60: TSpeedButton
      Left = 447
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton61: TSpeedButton
      Left = 521
      Top = 370
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton62: TSpeedButton
      Left = 3
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton63: TSpeedButton
      Left = 77
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton64: TSpeedButton
      Left = 151
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton65: TSpeedButton
      Left = 225
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton66: TSpeedButton
      Left = 299
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton67: TSpeedButton
      Left = 373
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton68: TSpeedButton
      Left = 447
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton69: TSpeedButton
      Left = 521
      Top = 444
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton70: TSpeedButton
      Left = 3
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton71: TSpeedButton
      Left = 77
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton72: TSpeedButton
      Left = 151
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton73: TSpeedButton
      Left = 225
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton74: TSpeedButton
      Left = 299
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton75: TSpeedButton
      Left = 373
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton76: TSpeedButton
      Left = 447
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton77: TSpeedButton
      Left = 521
      Top = 518
      Width = 70
      Height = 70
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
  end
  object MovePanel1: TMovePanel
    Left = 136
    Top = 112
    Width = 313
    Height = 281
    BevelInner = bvLowered
    Color = clSkyBlue
    TabOrder = 4
    Visible = False
    object Label17: TLabel
      Left = 29
      Top = 24
      Width = 88
      Height = 21
      Caption = #36215#22987#20301#32622
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label18: TLabel
      Left = 178
      Top = 59
      Width = 20
      Height = 19
      Caption = #21040
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label19: TLabel
      Left = 264
      Top = 24
      Width = 22
      Height = 21
      Caption = #30721
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label20: TLabel
      Left = 264
      Top = 89
      Width = 22
      Height = 21
      Caption = #30721
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label21: TLabel
      Left = 29
      Top = 89
      Width = 84
      Height = 21
      Caption = 'Label21'
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label7: TLabel
      Left = 264
      Top = 167
      Width = 22
      Height = 21
      Caption = #30721
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label8: TLabel
      Left = 29
      Top = 167
      Width = 92
      Height = 21
      Caption = #38271'    '#24230
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -21
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Edit1: TEdit
      Left = 124
      Top = 14
      Width = 131
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnChange = Edit2Change
      OnClick = Edit1Click
    end
    object Button1: TButton
      Left = 36
      Top = 221
      Width = 66
      Height = 43
      Caption = #30830#23450
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      OnClick = Button1Click
    end
    object Button4: TButton
      Left = 190
      Top = 221
      Width = 64
      Height = 42
      Caption = #21462#28040
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
      OnClick = Button4Click
    end
    object Edit2: TEdit
      Left = 124
      Top = 79
      Width = 131
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 3
      OnChange = Edit2Change
      OnClick = Edit1Click
    end
    object CDQty: TEdit
      Left = 124
      Top = 157
      Width = 131
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 4
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 30
    Width = 1366
    Height = 48
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 5
    object Label1: TLabel
      Left = 9
      Top = 16
      Width = 80
      Height = 19
      Caption = #25195#25551#20837#21475
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
    end
    object Label2: TLabel
      Left = 280
      Top = 15
      Width = 11
      Height = 20
      Font.Charset = GB2312_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
    end
    object Label16: TLabel
      Left = 864
      Top = 13
      Width = 42
      Height = 12
      Caption = 'Label16'
      Visible = False
    end
    object APID: TEdit
      Left = 88
      Top = 12
      Width = 185
      Height = 27
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = []
      ParentFont = False
      TabOrder = 0
      OnKeyPress = APIDKeyPress
    end
    object BTAdd: TButton
      Left = 739
      Top = 8
      Width = 46
      Height = 25
      Caption = #26032#22686
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      Visible = False
      OnClick = BTAddClick
    end
    object BTEdit: TButton
      Left = 819
      Top = 8
      Width = 38
      Height = 25
      Caption = #20462#25913
      TabOrder = 2
      Visible = False
      OnClick = BTEditClick
    end
  end
  object Panel3: TPanel
    Left = 13
    Top = 394
    Width = 588
    Height = 154
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 6
    Visible = False
    object SpeedButton1: TSpeedButton
      Left = 4
      Top = 3
      Width = 70
      Height = 70
      Caption = '0'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton2: TSpeedButton
      Left = 78
      Top = 3
      Width = 70
      Height = 70
      Caption = '1'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton3: TSpeedButton
      Left = 152
      Top = 3
      Width = 70
      Height = 70
      Caption = '2'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton4: TSpeedButton
      Left = 226
      Top = 3
      Width = 70
      Height = 70
      Caption = '3'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton5: TSpeedButton
      Left = 300
      Top = 5
      Width = 70
      Height = 70
      Caption = '4'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton6: TSpeedButton
      Left = 374
      Top = 5
      Width = 70
      Height = 70
      Caption = '5'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton7: TSpeedButton
      Left = 5
      Top = 78
      Width = 70
      Height = 70
      Caption = '6'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton8: TSpeedButton
      Left = 79
      Top = 78
      Width = 70
      Height = 70
      Caption = '7'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton9: TSpeedButton
      Left = 153
      Top = 80
      Width = 70
      Height = 70
      Caption = '8'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton10: TSpeedButton
      Left = 227
      Top = 80
      Width = 70
      Height = 70
      Caption = '9'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton11: TSpeedButton
      Tag = 9
      Left = 301
      Top = 80
      Width = 70
      Height = 70
      Caption = '.'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #40657#20307
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton12: TSpeedButton
      Left = 375
      Top = 80
      Width = 70
      Height = 70
      Caption = #8592
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton12Click
    end
    object SpeedButton49: TSpeedButton
      Tag = 9
      Left = 456
      Top = 52
      Width = 89
      Height = 69
      Caption = #38544#34255
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #26999#20307'_GB2312'
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = SpeedButton49Click
    end
  end
  object Panel2: TPanel
    Left = 601
    Top = 78
    Width = 216
    Height = 571
    Align = alLeft
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 7
    object Label9: TLabel
      Left = 174
      Top = 79
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label3: TLabel
      Left = 174
      Top = 136
      Width = 26
      Height = 22
      Caption = 'cm'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label4: TLabel
      Left = 174
      Top = 191
      Width = 24
      Height = 22
      Caption = 'Kg'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label5: TLabel
      Left = 17
      Top = 79
      Width = 40
      Height = 23
      Caption = #38271#24230
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label6: TLabel
      Left = 17
      Top = 136
      Width = 40
      Height = 23
      Caption = #24133#23485
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label11: TLabel
      Left = 17
      Top = 191
      Width = 40
      Height = 23
      Caption = #37325#37327
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label10: TLabel
      Left = 17
      Top = 290
      Width = 40
      Height = 23
      Caption = #27491#21697
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label12: TLabel
      Left = 114
      Top = 290
      Width = 40
      Height = 22
      Caption = #27425#21697
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label13: TLabel
      Left = 174
      Top = 18
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label14: TLabel
      Left = 17
      Top = 18
      Width = 40
      Height = 23
      Caption = #21407#30721
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label15: TLabel
      Left = 79
      Top = 348
      Width = 5
      Height = 22
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Visible = False
    end
    object Label22: TLabel
      Left = 174
      Top = 239
      Width = 36
      Height = 22
      Caption = 'g/'#13217
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label23: TLabel
      Left = 17
      Top = 238
      Width = 40
      Height = 23
      Caption = #20811#37325
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object MJFK: TEdit
      Left = 61
      Top = 127
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnClick = Edit1Click
    end
    object MJLen: TEdit
      Left = 61
      Top = 70
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      OnClick = Edit1Click
    end
    object MJMaoZ: TEdit
      Left = 61
      Top = 182
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
      OnClick = Edit1Click
    end
    object BTPrint: TButton
      Left = 56
      Top = 354
      Width = 105
      Height = 70
      Caption = #25171#21360
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 3
      OnClick = BTPrintClick
    end
    object Button5: TButton
      Left = 56
      Top = 458
      Width = 105
      Height = 70
      Caption = #37325#25171
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 4
      OnClick = Button5Click
    end
    object Edit3: TEdit
      Left = 62
      Top = 280
      Width = 46
      Height = 43
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -35
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 5
      Text = #8730
      OnClick = Edit3Click
    end
    object Edit4: TEdit
      Left = 156
      Top = 280
      Width = 46
      Height = 43
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -35
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 6
      OnClick = Edit4Click
    end
    object MJQty1: TEdit
      Left = 61
      Top = 9
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 7
      OnClick = Edit1Click
    end
    object MJSJKZ: TEdit
      Left = 61
      Top = 229
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 8
      OnClick = Edit1Click
    end
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 368
    object cxStyle1: TcxStyle
      AssignedValues = [svColor, svFont]
      Color = clBtnFace
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -14
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
    object cxStyle2: TcxStyle
      AssignedValues = [svFont, svTextColor]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Pitch = fpFixed
      Font.Style = [fsBold]
      TextColor = clDefault
    end
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    PopupMenus = <>
    Left = 400
  end
  object DataSource1: TDataSource
    DataSet = Order_MJ
    Left = 616
  end
  object Order_MJ: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 432
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 576
  end
  object ADOCmd: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    Parameters = <>
    Left = 536
  end
  object ADOTmp: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 504
  end
  object RMDB_Main: TRMDBDataSet
    Visible = True
    DataSet = ADOQueryPrint
    Left = 648
  end
  object RM2: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbExport, pbNavigator]
    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
    Dataset = RMDB_Main
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    OnlyOwnerDataSet = False
    Left = 464
    ReportData = {}
  end
  object DataSource2: TDataSource
    DataSet = CDS_MJCD
    Left = 616
    Top = 48
  end
  object CDS_MJCD: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 656
    Top = 48
  end
  object DataSource3: TDataSource
    DataSet = CDS_MJID
    Left = 1000
    Top = 296
  end
  object CDS_MJID: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 1016
    Top = 312
  end
  object Timer1: TTimer
    Interval = 100
    Left = 944
    Top = 320
  end
  object ADOQueryPrint: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 688
    Top = 48
  end
  object cxStyleRepository2: TcxStyleRepository
    object cxStyle3: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clBtnFace
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlue
      Font.Height = -16
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clBlue
    end
  end
  object cxStyleRepository3: TcxStyleRepository
    object cxStyle4: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clBtnFace
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clRed
    end
  end
  object cxStyleRepository4: TcxStyleRepository
    object cxStyle5: TcxStyle
      AssignedValues = [svColor, svFont, svTextColor]
      Color = clBtnFace
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      TextColor = clOlive
    end
  end
  object cxStyleRepository5: TcxStyleRepository
    object cxStyle6: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -29
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
  end
  object cxGridPopupMenu2: TcxGridPopupMenu
    PopupMenus = <>
    Left = 656
    Top = 467
  end
  object ADOQueryMainDSC: TADOQuery
    Connection = DataLink_TradeManage.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    SQL.Strings = (
      'select A.*,C.OrderNo,B.SWFBColor,B.SWFBHW,B.SWFBCodeName,'
      '       B.SWFBCode,B.SWFBKZ,B.WKMS,B.KZBig,B.KZSmal,'
      
        '       SCMQty=(select isnull(Sum(MJLen),0) from WFB_MJJY WM wher' +
        'e WM.APId=A.APId and len(WM.MJID)>8),'
      
        '       Case when A.OrderQtyM-(select isnull(Sum(MJLen),0) from W' +
        'FB_MJJY WM where WM.APId=A.APId )>0 '
      
        '                then A.OrderQtyM-(select isnull(Sum(MJLen),0) fr' +
        'om WFB_MJJY WM where WM.APId=A.APId ) else 0 end as WSCMQty'
      'from WFBOrder_Sub_AnPai A '
      'inner join WFBOrder_Sub B on A.SubId=B.SubId'
      'inner join WFBOrder_Main C on A.MainId=C.MainId'
      
        'where C.ChkStatus='#39#23457#26680#36890#36807#39' and RTrim(isnull(A.SCStatus,'#39#39'))<>'#39#24050#23436#25104#39 +
        ' '
      'and isnull(B.AnPaiChkStatus,'#39#39')='#39#23457#26680#36890#36807#39'  and A.SCXDFlag=1'
      '')
    Left = 840
    Top = 144
  end
end
