object frmCiPinChaiJian: TfrmCiPinChaiJian
  Left = 402
  Top = 25
  Width = 972
  Height = 754
  Caption = #27425#21697#35009#21098
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  WindowState = wsMaximized
  OnClose = FormClose
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object ToolBar1: TToolBar
    Left = 0
    Top = 0
    Width = 956
    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 = DataLink_FabricInspection.ThreeImgList
    List = True
    ParentColor = False
    ParentFont = False
    ShowCaptions = True
    TabOrder = 0
    object TBSave: TToolButton
      Left = 0
      Top = 0
      AutoSize = True
      Caption = #20445#23384
      ImageIndex = 0
      Visible = False
    end
    object TBClose: TToolButton
      Left = 63
      Top = 0
      AutoSize = True
      Caption = #20851#38381
      ImageIndex = 21
      OnClick = TBCloseClick
    end
  end
  object Panel1: TPanel
    Left = 0
    Top = 29
    Width = 956
    Height = 64
    Align = alTop
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 1
    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 SmNO: TEdit
      Left = 128
      Top = 20
      Width = 201
      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
  end
  object Panel4: TPanel
    Left = 0
    Top = 93
    Width = 956
    Height = 622
    Align = alClient
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 2
    object cxGrid1: TcxGrid
      Left = 2
      Top = 2
      Width = 952
      Height = 211
      Align = alTop
      TabOrder = 0
      object Tv1: TcxGridDBTableView
        OnDblClick = Tv1DblClick
        Navigator.Buttons.CustomButtons = <>
        DataController.DataSource = DS_FromJYID
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <
          item
            Format = 'C_Code'
          end>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
          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
        object VC_JYID: TcxGridDBColumn
          Caption = #26465#30721#32534#21495
          DataBinding.FieldName = 'JYID'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 172
        end
        object v1P_Code: TcxGridDBColumn
          Caption = #21697#21517
          DataBinding.FieldName = 'P_Code'
          HeaderAlignmentHorz = taCenter
          Width = 106
        end
        object v1P_Color: TcxGridDBColumn
          Caption = #39068#33394
          DataBinding.FieldName = 'P_Color'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 71
        end
        object v1Qty: TcxGridDBColumn
          Caption = #38271#24230
          DataBinding.FieldName = 'JYLen'
          HeaderAlignmentHorz = taCenter
          Width = 90
        end
        object v1Column1: TcxGridDBColumn
          Caption = #37325#37327
          DataBinding.FieldName = 'JYGW'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
        end
        object Tv1Column1: TcxGridDBColumn
          Caption = #21407#38271#24230
          DataBinding.FieldName = 'OrgJYLen'
          HeaderAlignmentHorz = taCenter
          Width = 82
        end
      end
      object cxGrid1Level1: TcxGridLevel
        GridView = Tv1
      end
    end
    object cxGrid2: TcxGrid
      Left = 2
      Top = 337
      Width = 952
      Height = 283
      Align = alClient
      TabOrder = 1
      object TV2: TcxGridDBTableView
        Navigator.Buttons.CustomButtons = <>
        DataController.DataSource = DS_ToJYID
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <
          item
            Format = 'C_Code'
          end>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
          end
          item
            Kind = skSum
            Column = cxGridDBColumn6
          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 cxGridDBColumn2: TcxGridDBColumn
          Caption = #26465#30721
          DataBinding.FieldName = 'JYID'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 188
        end
        object cxGridDBColumn4: TcxGridDBColumn
          Caption = #21697#21517
          DataBinding.FieldName = 'P_Code'
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 102
        end
        object cxGridDBColumn3: TcxGridDBColumn
          Caption = #39068#33394
          DataBinding.FieldName = 'P_Color'
          HeaderAlignmentHorz = taCenter
          Width = 93
        end
        object cxGridDBColumn6: TcxGridDBColumn
          Caption = #38271#24230
          DataBinding.FieldName = 'JYLen'
          HeaderAlignmentHorz = taCenter
          Width = 102
        end
        object V2Column1: TcxGridDBColumn
          Caption = #32568#21495
          DataBinding.FieldName = 'BCGangNO'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Width = 84
        end
        object cxGridDBColumn7: TcxGridDBColumn
          Caption = #31561#32423
          DataBinding.FieldName = 'CPType'
          Visible = False
          HeaderAlignmentHorz = taCenter
          Width = 93
        end
        object V2Column2: TcxGridDBColumn
          Caption = #37325#37327
          DataBinding.FieldName = 'JYGW'
          HeaderAlignmentHorz = taCenter
          Width = 69
        end
      end
      object cxGridLevel1: TcxGridLevel
        GridView = TV2
      end
    end
    object Panel2: TPanel
      Left = 2
      Top = 213
      Width = 952
      Height = 124
      Align = alTop
      BevelInner = bvRaised
      BevelOuter = bvLowered
      TabOrder = 2
      object Label5: TLabel
        Left = 83
        Top = 39
        Width = 40
        Height = 22
        Caption = #25968#37327
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -19
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object Label9: TLabel
        Left = 244
        Top = 39
        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 Label2: TLabel
        Left = 83
        Top = 81
        Width = 40
        Height = 22
        Caption = #22791#27880
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -19
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object btnChaiPi: TButton
        Left = 290
        Top = 15
        Width = 116
        Height = 54
        Caption = #30830#35748#25286#20998
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -20
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        OnClick = btnChaiPiClick
      end
      object Button4: TButton
        Left = 685
        Top = 23
        Width = 124
        Height = 54
        Caption = #37325#25171#21407#26631#31614
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -20
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 1
        OnClick = Button4Click
      end
      object KJLen: TEdit
        Left = 127
        Top = 34
        Width = 110
        Height = 32
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 2
      end
      object Button1: TButton
        Left = 442
        Top = 15
        Width = 96
        Height = 54
        Caption = #37325#25171#26631#31614
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -20
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 3
        OnClick = Button5Click
      end
      object note: TEdit
        Left = 127
        Top = 76
        Width = 406
        Height = 32
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 4
      end
    end
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    Parameters = <>
    Left = 460
    Top = 136
  end
  object ADOQueryCmd: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    Parameters = <>
    Left = 496
    Top = 136
  end
  object CDS_FromJYID: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 424
    Top = 220
  end
  object CDS_ToJYID: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 424
    Top = 248
  end
  object DS_FromJYID: TDataSource
    DataSet = CDS_FromJYID
    Left = 460
    Top = 220
  end
  object DS_ToJYID: TDataSource
    DataSet = CDS_ToJYID
    Left = 460
    Top = 248
  end
  object ADOQueryTmp: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    Parameters = <>
    Left = 424
    Top = 136
  end
  object ADOQueryPrint: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    Parameters = <>
    Left = 424
    Top = 172
  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 = 496
    Top = 172
    ReportData = {}
  end
  object RMDB_Main: TRMDBDataSet
    Visible = True
    DataSet = ADOQueryPrint
    Left = 464
    Top = 172
  end
end
