object frmBpSmCk: TfrmBpSmCk
  Left = 10
  Top = 2
  Width = 1308
  Height = 707
  Caption = #25195#25551#20986#24211
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  WindowState = wsMaximized
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 1292
    Height = 29
    ButtonHeight = 30
    ButtonWidth = 59
    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 = CPCK_DataLink.ThreeImgList
    List = True
    ParentColor = False
    ParentFont = False
    ShowCaptions = True
    TabOrder = 0
    Visible = False
    object TBSave: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #20445#23384
      ImageIndex = 14
      OnClick = TBSaveClick
    end
    object TBClose: TToolButton
      Left = 63
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 55
      OnClick = TBCloseClick
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 228
    Width = 1292
    Height = 52
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 1
    object Label1: TLabel
      Left = 20
      Top = 20
      Width = 48
      Height = 12
      Caption = #20986#24211#26085#26399
    end
    object Label2: TLabel
      Left = 504
      Top = 20
      Width = 48
      Height = 12
      Caption = #20986#24211#31867#22411
    end
    object Label3: TLabel
      Left = 36
      Top = 80
      Width = 48
      Height = 12
      Caption = #21457#24448#21333#20301
    end
    object Label4: TLabel
      Left = 364
      Top = 20
      Width = 24
      Height = 12
      Caption = #20179#24211
    end
    object Label5: TLabel
      Left = 36
      Top = 64
      Width = 48
      Height = 12
      Caption = #35746#21333#20449#24687
    end
    object Label6: TLabel
      Left = 252
      Top = 64
      Width = 24
      Height = 12
      Caption = #20135#21697
    end
    object Label7: TLabel
      Left = 488
      Top = 64
      Width = 48
      Height = 12
      Caption = #39068'    '#33394
    end
    object Label8: TLabel
      Left = 196
      Top = 20
      Width = 48
      Height = 12
      Caption = #20986#24211#21333#21495
    end
    object Label10: TLabel
      Left = 856
      Top = 20
      Width = 48
      Height = 12
      Caption = #21457#24448#21333#20301
    end
    object Label11: TLabel
      Left = 668
      Top = 20
      Width = 48
      Height = 12
      Caption = #23458'    '#25143
    end
    object CRTime: TDateTimePicker
      Left = 72
      Top = 16
      Width = 100
      Height = 20
      Date = 41509.970132187500000000
      Format = 'yyyy-MM-dd'
      Time = 41509.970132187500000000
      TabOrder = 0
    end
    object CRType: TComboBox
      Left = 556
      Top = 16
      Width = 100
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      ItemIndex = 0
      TabOrder = 1
      Text = #38144#21806#20986#24211
      Items.Strings = (
        #38144#21806#20986#24211
        #21152#24037#20986#24211)
    end
    object FirstName: TBtnEditA
      Left = 88
      Top = 76
      Width = 557
      Height = 20
      ReadOnly = True
      TabOrder = 2
      OnBtnClick = FirstNameBtnClick
    end
    object ckName: TComboBox
      Left = 392
      Top = 16
      Width = 100
      Height = 20
      Style = csDropDownList
      ItemHeight = 12
      ItemIndex = 0
      TabOrder = 3
      Text = #26679#21697#20179#24211
      Items.Strings = (
        #26679#21697#20179#24211)
    end
    object orderNO: TBtnEditA
      Left = 88
      Top = 60
      Width = 100
      Height = 20
      ReadOnly = True
      TabOrder = 4
      OnBtnClick = orderNOBtnClick
    end
    object PRTCodeName: TEdit
      Left = 280
      Top = 60
      Width = 100
      Height = 20
      Enabled = False
      ReadOnly = True
      TabOrder = 5
    end
    object PRTColor: TEdit
      Left = 544
      Top = 60
      Width = 100
      Height = 20
      Enabled = False
      ReadOnly = True
      TabOrder = 6
    end
    object InoutNo: TEdit
      Left = 244
      Top = 16
      Width = 100
      Height = 20
      TabOrder = 7
    end
    object ToCustName: TBtnEditA
      Left = 912
      Top = 16
      Width = 120
      Height = 20
      ReadOnly = True
      TabOrder = 8
      OnBtnClick = ToCustNameBtnClick
    end
    object custName: TBtnEditA
      Left = 720
      Top = 16
      Width = 120
      Height = 20
      ReadOnly = True
      TabOrder = 9
      OnBtnClick = custNameBtnClick
    end
  end
  object GroupBox1: TGroupBox
    Left = 0
    Top = 280
    Width = 565
    Height = 389
    Align = alLeft
    TabOrder = 2
    object cxGrid1: TcxGrid
      Left = 2
      Top = 14
      Width = 561
      Height = 373
      Align = alClient
      TabOrder = 0
      object Tv1: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.DataSource = DataSource1
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <
          item
            Format = 'C_Code'
            Column = v1P_CodeName
          end>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = v1RollNum
          end
          item
            Kind = skSum
            Column = v1Qty
          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.Header = CPCK_DataLink.Default
        object v1MJID: TcxGridDBColumn
          Caption = #21367#26465#30721
          DataBinding.FieldName = 'MJID'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 75
        end
        object v1MJXH: TcxGridDBColumn
          Caption = #21367#21495
          DataBinding.FieldName = 'MJXH'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object v1P_Code: TcxGridDBColumn
          Caption = #21697#21495
          DataBinding.FieldName = 'P_Code'
          HeaderAlignmentHorz = taCenter
          Width = 70
        end
        object v1P_CodeName: TcxGridDBColumn
          Caption = #20135#21697#21517#31216
          DataBinding.FieldName = 'P_CodeName'
          PropertiesClassName = 'TcxButtonEditProperties'
          Properties.Buttons = <
            item
              Default = True
              Kind = bkEllipsis
            end>
          Properties.OnButtonClick = v1P_CodeNamePropertiesButtonClick
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 90
        end
        object v1P_SPEC: TcxGridDBColumn
          Caption = #35268#26684#22411#21495
          DataBinding.FieldName = 'P_SPEC'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Sorting = False
          Width = 90
        end
        object v1P_Color: TcxGridDBColumn
          Caption = #39068#33394
          DataBinding.FieldName = 'P_Color'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object v1P_MF: TcxGridDBColumn
          Caption = #38376#24133'(cm)'
          DataBinding.FieldName = 'P_MF'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 90
        end
        object v1P_KZ: TcxGridDBColumn
          Caption = #20811#37325'(g/'#13217')'
          DataBinding.FieldName = 'P_KZ'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 90
        end
        object v1CPType: TcxGridDBColumn
          Caption = #31561#32423
          DataBinding.FieldName = 'CPType'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object v1RollNum: TcxGridDBColumn
          Caption = #21305#25968
          DataBinding.FieldName = 'RollNum'
          HeaderAlignmentHorz = taCenter
          Styles.Content = CPCK_DataLink.FontBlue
          Styles.Footer = CPCK_DataLink.FontBlue
          Styles.Header = CPCK_DataLink.FontBlue
          Width = 50
        end
        object v1Qty: TcxGridDBColumn
          Caption = #25968#37327
          DataBinding.FieldName = 'Qty'
          HeaderAlignmentHorz = taCenter
          Styles.Content = CPCK_DataLink.FontBlue
          Styles.Footer = CPCK_DataLink.FontBlue
          Styles.Header = CPCK_DataLink.FontBlue
          Width = 60
        end
        object v1QtyUnit: TcxGridDBColumn
          Caption = #25968#37327#21333#20301
          DataBinding.FieldName = 'QtyUnit'
          PropertiesClassName = 'TcxComboBoxProperties'
          Properties.DropDownListStyle = lsFixedList
          Properties.Items.Strings = (
            'M'
            'Kg')
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object v1Note: TcxGridDBColumn
          Caption = #22791#27880
          DataBinding.FieldName = 'Note'
          HeaderAlignmentHorz = taCenter
          Width = 132
        end
      end
      object cxGrid1Level1: TcxGridLevel
        GridView = Tv1
      end
    end
  end
  object GroupBox2: TGroupBox
    Left = 565
    Top = 280
    Width = 612
    Height = 389
    Align = alLeft
    TabOrder = 3
    object Panel2: TPanel
      Left = 2
      Top = 14
      Width = 608
      Height = 75
      Align = alTop
      BevelOuter = bvNone
      TabOrder = 0
      object Label9: TLabel
        Left = 28
        Top = 20
        Width = 60
        Height = 20
        Caption = #21367#26465#30721
        Font.Charset = GB2312_CHARSET
        Font.Color = clBlue
        Font.Height = -20
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
      end
      object MJID: TEdit
        Left = 92
        Top = 16
        Width = 185
        Height = 28
        Font.Charset = GB2312_CHARSET
        Font.Color = clBlue
        Font.Height = -20
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        OnKeyPress = MJIDKeyPress
      end
    end
    object cxGrid3: TcxGrid
      Left = 2
      Top = 89
      Width = 608
      Height = 298
      Align = alClient
      TabOrder = 1
      object Tv3: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        OnCustomDrawCell = Tv3CustomDrawCell
        DataController.DataSource = DS_inout
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <
          item
            Format = 'C_Code'
            Column = cxGridDBColumn7
          end>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = cxGridDBColumn13
          end
          item
            Kind = skSum
            Column = cxGridDBColumn14
          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.Header = CPCK_DataLink.Default
        object cxGridDBColumn16: TcxGridDBColumn
          Caption = #22791#27880#20449#24687
          DataBinding.FieldName = 'SDefNote'
          HeaderAlignmentHorz = taCenter
          Width = 132
        end
        object cxGridDBColumn1: TcxGridDBColumn
          Caption = #21367#26465#30721
          DataBinding.FieldName = 'MJID'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 75
        end
        object cxGridDBColumn13: TcxGridDBColumn
          Caption = #21305#25968
          DataBinding.FieldName = 'RollNum'
          HeaderAlignmentHorz = taCenter
          Styles.Content = CPCK_DataLink.FontBlue
          Styles.Footer = CPCK_DataLink.FontBlue
          Styles.Header = CPCK_DataLink.FontBlue
          Width = 50
        end
        object cxGridDBColumn14: TcxGridDBColumn
          Caption = #25968#37327
          DataBinding.FieldName = 'Qty'
          HeaderAlignmentHorz = taCenter
          Styles.Content = CPCK_DataLink.FontBlue
          Styles.Footer = CPCK_DataLink.FontBlue
          Styles.Header = CPCK_DataLink.FontBlue
          Width = 60
        end
        object cxGridDBColumn2: TcxGridDBColumn
          Caption = #21367#21495
          DataBinding.FieldName = 'MJXH'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object cxGridDBColumn6: TcxGridDBColumn
          Caption = #21697#21495
          DataBinding.FieldName = 'P_Code'
          HeaderAlignmentHorz = taCenter
          Width = 70
        end
        object cxGridDBColumn7: TcxGridDBColumn
          Caption = #20135#21697#21517#31216
          DataBinding.FieldName = 'P_CodeName'
          PropertiesClassName = 'TcxButtonEditProperties'
          Properties.Buttons = <
            item
              Default = True
              Kind = bkEllipsis
            end>
          Properties.OnButtonClick = v1P_CodeNamePropertiesButtonClick
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 90
        end
        object cxGridDBColumn8: TcxGridDBColumn
          Caption = #35268#26684#22411#21495
          DataBinding.FieldName = 'P_SPEC'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Sorting = False
          Width = 90
        end
        object cxGridDBColumn12: TcxGridDBColumn
          Caption = #31561#32423
          DataBinding.FieldName = 'CPType'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object cxGridDBColumn15: TcxGridDBColumn
          Caption = #25968#37327#21333#20301
          DataBinding.FieldName = 'QtyUnit'
          PropertiesClassName = 'TcxComboBoxProperties'
          Properties.DropDownListStyle = lsFixedList
          Properties.Items.Strings = (
            'M'
            'Kg')
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
      end
      object cxGridLevel2: TcxGridLevel
        GridView = Tv3
      end
    end
  end
  object Panel3: TPanel
    Left = 0
    Top = 29
    Width = 1292
    Height = 199
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 4
    object cxGrid2: TcxGrid
      Left = 0
      Top = 0
      Width = 1180
      Height = 199
      Align = alClient
      TabOrder = 0
      object TV2: TcxGridDBTableView
        NavigatorButtons.ConfirmDelete = False
        DataController.DataSource = DS_CP
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <>
        DataController.Summary.SummaryGroups = <>
        OptionsCustomize.ColumnFiltering = False
        OptionsData.Editing = False
        OptionsView.GroupByBox = False
        Styles.Inactive = CPCK_DataLink.SHuangSe
        Styles.IncSearch = CPCK_DataLink.SHuangSe
        Styles.Selection = CPCK_DataLink.SHuangSe
        Styles.Header = CPCK_DataLink.Default
        object v1SSel: TcxGridDBColumn
          Caption = #36873#25321
          DataBinding.FieldName = 'SSel'
          PropertiesClassName = 'TcxCheckBoxProperties'
          Properties.NullStyle = nssUnchecked
          HeaderAlignmentHorz = taCenter
          Width = 49
        end
        object v1OrdDate: TcxGridDBColumn
          Caption = #21046#21333#26085#26399
          DataBinding.FieldName = 'OrdDate'
          PropertiesClassName = 'TcxDateEditProperties'
          Properties.ShowTime = False
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Focusing = False
          Styles.Header = CPCK_DataLink.Default
          Width = 68
        end
        object v1OrderNo: TcxGridDBColumn
          Caption = #35746#21333#21495
          DataBinding.FieldName = 'OrderNo'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Focusing = False
          Styles.Header = CPCK_DataLink.Default
          Width = 72
        end
        object v1ConNo: TcxGridDBColumn
          Caption = #21512#21516#21495
          DataBinding.FieldName = 'ConNo'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Focusing = False
          Styles.Header = CPCK_DataLink.Default
          Width = 68
        end
        object v1OrdPerson1: TcxGridDBColumn
          Caption = #19994#21153#21592
          DataBinding.FieldName = 'OrdPerson1'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Focusing = False
          Styles.Header = CPCK_DataLink.Default
          Width = 73
        end
        object v1Column1: TcxGridDBColumn
          Caption = #21697#21495
          DataBinding.FieldName = 'MPrtCode'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object v1CustomerNoName: TcxGridDBColumn
          Caption = #23458#25143
          DataBinding.FieldName = 'CustomerNoName'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Focusing = False
          Styles.Header = CPCK_DataLink.Default
          Width = 62
        end
        object v1MPRTCodeName: TcxGridDBColumn
          Caption = #20013#25991#21517#31216
          DataBinding.FieldName = 'MPRTCodeName'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Focusing = False
          Styles.Header = CPCK_DataLink.Default
          Width = 69
        end
        object v1PRTColor: TcxGridDBColumn
          Caption = #39068#33394
          DataBinding.FieldName = 'PRTColor'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 60
        end
        object v1pbRollNum: TcxGridDBColumn
          Caption = #26410#20837#24211#21305#25968
          DataBinding.FieldName = 'pbRollNum'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1pbQty: TcxGridDBColumn
          Caption = #26410#20837#24211#25968#37327
          DataBinding.FieldName = 'pbQty'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1rkRollNum: TcxGridDBColumn
          Caption = #20837#24211#21305#25968
          DataBinding.FieldName = 'rkRollNum'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1rkqty: TcxGridDBColumn
          Caption = #20837#24211#25968#37327
          DataBinding.FieldName = 'rkqty'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1ckRollNum: TcxGridDBColumn
          Caption = #20986#24211#21305#25968
          DataBinding.FieldName = 'ckRollNum'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1ckQty: TcxGridDBColumn
          Caption = #20986#24211#25968#37327
          DataBinding.FieldName = 'ckQty'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1kcRollNum: TcxGridDBColumn
          Caption = #24211#23384#21305#25968
          DataBinding.FieldName = 'kcRollNum'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
        object v1kcQty: TcxGridDBColumn
          Caption = #24211#23384#25968#37327
          DataBinding.FieldName = 'kcQty'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 70
        end
      end
      object cxGridLevel1: TcxGridLevel
        GridView = TV2
      end
    end
    object Panel4: TPanel
      Left = 1180
      Top = 0
      Width = 112
      Height = 199
      Align = alRight
      TabOrder = 1
      object cxButton1: TcxButton
        Left = 4
        Top = 16
        Width = 105
        Height = 37
        Caption = #36873#25321#20135#21697
        TabOrder = 0
        OnClick = cxButton1Click
        LookAndFeel.Kind = lfOffice11
      end
    end
  end
  object Panel5: TPanel
    Left = 52
    Top = 328
    Width = 485
    Height = 261
    Caption = 'PanelXs'
    TabOrder = 5
    Visible = False
  end
  object ADOQueryCmd: TADOQuery
    Connection = CPCK_DataLink.ADOLink
    Parameters = <>
    Left = 292
    Top = 8
  end
  object ADOQueryTmp: TADOQuery
    Connection = CPCK_DataLink.ADOLink
    Parameters = <>
    Left = 340
    Top = 8
  end
  object DataSource1: TDataSource
    DataSet = CDS_Main
    Left = 340
    Top = 341
  end
  object CDS_Main: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 376
    Top = 337
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    Grid = cxGrid1
    PopupMenus = <>
    Left = 728
    Top = 101
  end
  object CDS_CP: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 350
    Top = 163
  end
  object DS_CP: TDataSource
    DataSet = CDS_CP
    Left = 294
    Top = 155
  end
  object CDS_Inout: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 864
    Top = 296
  end
  object DS_inout: TDataSource
    DataSet = CDS_Inout
    Left = 820
    Top = 308
  end
  object cxGridPopupMenu2: TcxGridPopupMenu
    Grid = cxGrid2
    PopupMenus = <>
    Left = 628
    Top = 113
  end
  object cxGridPopupMenu3: TcxGridPopupMenu
    Grid = cxGrid3
    PopupMenus = <>
    Left = 536
    Top = 101
  end
end
