inherited frmTatMachInsp1: TfrmTatMachInsp1
  Left = 234
  Top = 20
  Caption = #25104#21697#26816#39564
  ClientHeight = 669
  ClientWidth = 1380
  Font.Height = -16
  FormStyle = fsMDIChild
  Position = poScreenCenter
  Visible = True
  ExplicitWidth = 1396
  ExplicitHeight = 708
  PixelsPerInch = 96
  TextHeight = 21
  object Panel9: TPanel [0]
    Left = 0
    Top = 0
    Width = 417
    Height = 669
    Align = alLeft
    Color = clWhite
    ParentBackground = False
    TabOrder = 3
    object Panel2: TPanel
      Left = 1
      Top = 137
      Width = 415
      Height = 531
      Align = alClient
      BevelInner = bvRaised
      BevelOuter = bvLowered
      Color = clWhite
      ParentBackground = False
      TabOrder = 0
      object Label4: TLabel
        Left = 241
        Top = 504
        Width = 44
        Height = 34
        Caption = 'KG'
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -29
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        Visible = False
      end
      object Label11: TLabel
        Left = 15
        Top = 504
        Width = 62
        Height = 34
        Caption = #37325#37327
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -29
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        Visible = False
      end
      object Label3: TLabel
        Left = 39
        Top = 563
        Width = 62
        Height = 23
        Caption = #31995'    '#25968
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -20
        Font.Name = 'Times New Roman'
        Font.Style = [fsBold]
        ParentFont = False
        Visible = False
      end
      object lblRuleConversion: TLabel
        Left = 190
        Top = 562
        Width = 84
        Height = 24
        Caption = #31859#36716#20844#26020
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -20
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
        Visible = False
      end
      object Label22: TLabel
        Left = 323
        Top = 330
        Width = 44
        Height = 21
        Caption = #31561#32423
        Font.Charset = GB2312_CHARSET
        Font.Color = clRed
        Font.Height = -21
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object BTPrint: TButton
        Left = 291
        Top = 408
        Width = 112
        Height = 57
        Caption = #25552#20132
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        OnClick = BTPrintClick
      end
      object InputWeight: TEdit
        Left = 70
        Top = 501
        Width = 100
        Height = 41
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -32
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 1
        Visible = False
        OnClick = CIFBegClick
        OnKeyPress = MJstr3KeyPress
      end
      object Tare: TEdit
        Left = 176
        Top = 501
        Width = 64
        Height = 41
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -32
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 2
        Visible = False
        OnClick = CIFBegClick
        OnKeyPress = MJstr3KeyPress
      end
      object Coefficient: TEdit
        Left = 104
        Top = 560
        Width = 80
        Height = 28
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -20
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 3
        Visible = False
        OnClick = CIFBegClick
        OnKeyPress = MJstr3KeyPress
      end
      object cxGrid2: TcxGrid
        Left = 2
        Top = 2
        Width = 411
        Height = 245
        Align = alTop
        TabOrder = 4
        object Tv2: TcxGridDBTableView
          Navigator.Buttons.CustomButtons = <>
          ScrollbarAnnotations.CustomAnnotations = <>
          DataController.DataSource = DS_2
          DataController.Filter.AutoDataSetFilter = True
          DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Kind = skSum
              Column = Tv2CDQty
            end
            item
              Kind = skSum
              Column = v2Column3
            end
            item
              Kind = skSum
              Column = v2Column4
            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 = 'CIFName'
            DataBinding.IsNullValueType = True
            HeaderAlignmentHorz = taCenter
            Options.Focusing = False
            Options.Sorting = False
            Width = 75
          end
          object tv2CDWZ: TcxGridDBColumn
            Caption = #20301#32622#36215
            DataBinding.FieldName = 'CIFbeg'
            DataBinding.IsNullValueType = True
            PropertiesClassName = 'TcxTextEditProperties'
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Options.Sorting = False
            Width = 52
          end
          object v2Column2: TcxGridDBColumn
            Caption = #20301#32622#27490
            DataBinding.FieldName = 'CIFend'
            DataBinding.IsNullValueType = True
            HeaderAlignmentHorz = taCenter
            HeaderGlyphAlignmentHorz = taCenter
            Width = 51
          end
          object Tv2CDQty: TcxGridDBColumn
            Caption = #38271#24230
            DataBinding.FieldName = 'CIFQty'
            DataBinding.IsNullValueType = True
            PropertiesClassName = 'TcxTextEditProperties'
            HeaderAlignmentHorz = taCenter
            Options.Sorting = False
            Width = 46
          end
          object Tv2CDReason: TcxGridDBColumn
            Caption = #21407#22240
            DataBinding.FieldName = 'CDReason'
            DataBinding.IsNullValueType = True
            Visible = False
            HeaderAlignmentHorz = taCenter
            Options.Sorting = False
            Styles.Content = cxStyle2
            Styles.Header = cxStyle1
            Width = 60
          end
          object v2Column1: TcxGridDBColumn
            DataBinding.FieldName = 'CDQty'
            DataBinding.IsNullValueType = True
            Visible = False
            Width = 60
          end
          object v2Column3: TcxGridDBColumn
            Caption = #25187#20998
            DataBinding.FieldName = 'CIFPoints'
            DataBinding.IsNullValueType = True
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 54
          end
          object v2Column4: TcxGridDBColumn
            Caption = #20010#25968
            DataBinding.FieldName = 'CIFNumber'
            DataBinding.IsNullValueType = True
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 43
          end
        end
        object cxGridLevel1: TcxGridLevel
          GridView = Tv2
        end
      end
      object Grade: TComboBox
        Left = 291
        Top = 370
        Width = 112
        Height = 32
        Style = csDropDownList
        DropDownCount = 20
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 5
        Items.Strings = (
          'A'#21697
          'B'#21697
          'C'#21697)
      end
      object Button3: TButton
        Left = 291
        Top = 255
        Width = 112
        Height = 57
        Caption = #21024#38500#30133#28857
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 6
        OnClick = Button3Click
      end
    end
    object Panel10: TPanel
      Left = 1
      Top = 1
      Width = 415
      Height = 136
      Align = alTop
      Color = clWhite
      ParentBackground = False
      TabOrder = 1
      object Label14: TLabel
        Left = 20
        Top = 47
        Width = 51
        Height = 19
        Caption = #21333#21495#65306
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -16
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label25: TLabel
        Left = 20
        Top = 77
        Width = 51
        Height = 19
        Caption = #21697#21517#65306
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -16
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label1: TLabel
        Left = 18
        Top = 7
        Width = 84
        Height = 24
        Caption = #25195#25551#20837#21475
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -20
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label13: TLabel
        Left = 20
        Top = 106
        Width = 51
        Height = 19
        Caption = #25209#21495#65306
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -16
        Font.Name = 'Arial'
        Font.Style = [fsBold]
        ParentFont = False
      end
      object PCId: TEdit
        Left = 69
        Top = 45
        Width = 341
        Height = 24
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -14
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
        ReadOnly = True
        TabOrder = 0
      end
      object CodeName: TEdit
        Left = 69
        Top = 75
        Width = 341
        Height = 24
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -14
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
        ReadOnly = True
        TabOrder = 1
      end
      object edtScan: TEdit
        Left = 108
        Top = 6
        Width = 185
        Height = 27
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        TabOrder = 2
        OnClick = edtScanClick
        OnKeyPress = edtScanKeyPress
      end
      object BatchNo: TEdit
        Left = 69
        Top = 104
        Width = 341
        Height = 24
        Font.Charset = ANSI_CHARSET
        Font.Color = clBlack
        Font.Height = -14
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
        ReadOnly = True
        TabOrder = 3
      end
    end
  end
  object ScrollBox1: TScrollBox [1]
    Left = 417
    Top = 0
    Width = 408
    Height = 669
    Align = alLeft
    TabOrder = 0
    object SpeedButton13: TSpeedButton
      Left = 7
      Top = 3
      Width = 50
      Height = 50
      Caption = #30772#27934
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton14: TSpeedButton
      Left = 63
      Top = 3
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton15: TSpeedButton
      Left = 119
      Top = 3
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton16: TSpeedButton
      Left = 175
      Top = 3
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton17: TSpeedButton
      Left = 231
      Top = 3
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton18: TSpeedButton
      Left = 287
      Top = 3
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton21: TSpeedButton
      Left = 343
      Top = 3
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton22: TSpeedButton
      Left = 7
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton23: TSpeedButton
      Left = 63
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton24: TSpeedButton
      Left = 119
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton25: TSpeedButton
      Left = 175
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton26: TSpeedButton
      Left = 231
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton29: TSpeedButton
      Left = 287
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton30: TSpeedButton
      Left = 343
      Top = 61
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton31: TSpeedButton
      Left = 7
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton32: TSpeedButton
      Left = 63
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton33: TSpeedButton
      Left = 119
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton34: TSpeedButton
      Left = 175
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton37: TSpeedButton
      Left = 231
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton38: TSpeedButton
      Left = 287
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton39: TSpeedButton
      Left = 343
      Top = 119
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton40: TSpeedButton
      Left = 7
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton41: TSpeedButton
      Left = 63
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton42: TSpeedButton
      Left = 119
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton45: TSpeedButton
      Left = 175
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton46: TSpeedButton
      Left = 231
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton47: TSpeedButton
      Left = 287
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton48: TSpeedButton
      Left = 343
      Top = 177
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton50: TSpeedButton
      Left = 7
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton51: TSpeedButton
      Left = 63
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton54: TSpeedButton
      Left = 119
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton55: TSpeedButton
      Left = 175
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton56: TSpeedButton
      Left = 231
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton57: TSpeedButton
      Left = 287
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton58: TSpeedButton
      Left = 343
      Top = 235
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton59: TSpeedButton
      Left = 7
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton62: TSpeedButton
      Left = 63
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton63: TSpeedButton
      Left = 119
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton64: TSpeedButton
      Left = 175
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton65: TSpeedButton
      Left = 231
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton66: TSpeedButton
      Left = 287
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton67: TSpeedButton
      Left = 343
      Top = 291
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton70: TSpeedButton
      Left = 7
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton71: TSpeedButton
      Left = 63
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton72: TSpeedButton
      Left = 119
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton73: TSpeedButton
      Left = 175
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton74: TSpeedButton
      Left = 231
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton75: TSpeedButton
      Left = 287
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton19: TSpeedButton
      Left = 343
      Top = 347
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton20: TSpeedButton
      Left = 7
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton27: TSpeedButton
      Left = 63
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton28: TSpeedButton
      Left = 119
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton35: TSpeedButton
      Left = 175
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton36: TSpeedButton
      Left = 231
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton43: TSpeedButton
      Left = 287
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton44: TSpeedButton
      Left = 343
      Top = 403
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton52: TSpeedButton
      Left = 7
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton53: TSpeedButton
      Left = 63
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton60: TSpeedButton
      Left = 119
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton61: TSpeedButton
      Left = 175
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton68: TSpeedButton
      Left = 231
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton69: TSpeedButton
      Left = 287
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton76: TSpeedButton
      Left = 343
      Top = 459
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton77: TSpeedButton
      Left = 7
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton78: TSpeedButton
      Left = 63
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton79: TSpeedButton
      Left = 119
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton80: TSpeedButton
      Left = 175
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton81: TSpeedButton
      Left = 231
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton82: TSpeedButton
      Left = 287
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object SpeedButton83: TSpeedButton
      Left = 343
      Top = 515
      Width = 50
      Height = 50
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      Visible = False
      OnClick = SpeedButton13Click
    end
    object MovePanel1: TMovePanel
      Left = 4
      Top = 307
      Width = 391
      Height = 337
      BevelInner = bvLowered
      Color = clWhite
      ParentBackground = False
      TabOrder = 0
      Visible = False
      object Label17: TLabel
        Left = 19
        Top = 59
        Width = 40
        Height = 19
        Caption = #38271#24230
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label18: TLabel
        Left = 138
        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 lblLenUnit1: TLabel
        Left = 343
        Top = 59
        Width = 11
        Height = 19
        Caption = 'M'
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object lblCIFName: TLabel
        Left = 22
        Top = 14
        Width = 40
        Height = 19
        Caption = #30772#27934
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label2: TLabel
        Left = 238
        Top = 59
        Width = 20
        Height = 19
        Caption = #20849
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label8: TLabel
        Left = 343
        Top = 21
        Width = 20
        Height = 19
        Caption = #20010
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object CIFBeg: TEdit
        Left = 65
        Top = 52
        Width = 73
        Height = 32
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        OnChange = CIFEndChange
        OnClick = CIFBegClick
      end
      object Button1: TButton
        Left = 166
        Top = 272
        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 = 5
        OnClick = Button1Click
      end
      object Button4: TButton
        Left = 278
        Top = 277
        Width = 64
        Height = 42
        Caption = #20851#38381
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 6
        OnClick = Button4Click
      end
      object CIFEnd: TEdit
        Left = 159
        Top = 52
        Width = 73
        Height = 32
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 1
        OnChange = CIFEndChange
        OnClick = CIFBegClick
      end
      object CIFQty: TEdit
        Left = 264
        Top = 52
        Width = 73
        Height = 32
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 2
        OnClick = CIFBegClick
      end
      object RadioGroup1: TRadioGroup
        Left = 0
        Top = 90
        Width = 389
        Height = 176
        Color = clWhite
        Columns = 2
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = []
        Items.Strings = (
          '0-3"'
          '3"-6"'
          '6"-9"'
          #8805'9"'
          #25972#21305
          #36830#32493#20986#29616#29781#30133)
        ParentBackground = False
        ParentColor = False
        ParentFont = False
        TabOrder = 3
      end
      object Button2: TButton
        Left = 14
        Top = 277
        Width = 82
        Height = 42
        Caption = #21462#28040#36873#25321
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 4
        OnClick = Button2Click
      end
      object CIFNumber: TEdit
        Left = 264
        Top = 14
        Width = 73
        Height = 32
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -24
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 7
        OnClick = CIFBegClick
      end
    end
  end
  object Panel4: TPanel [2]
    Left = 825
    Top = 0
    Width = 555
    Height = 669
    Align = alClient
    Caption = 'Panel4'
    TabOrder = 1
    object cxGrid3: TcxGrid
      Left = 1
      Top = 39
      Width = 216
      Height = 629
      Align = alLeft
      TabOrder = 0
      object Tv3: TcxGridDBTableView
        OnMouseDown = Tv3MouseDown
        Navigator.Buttons.CustomButtons = <>
        ScrollbarAnnotations.CustomAnnotations = <>
        OnCustomDrawCell = Tv3CustomDrawCell
        DataController.DataSource = DS_3
        DataController.Filter.AutoDataSetFilter = True
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Format = #21367#25968':0'
            Kind = skCount
            Column = cxGridDBColumn1
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skSum
          end
          item
            Kind = skCount
            Column = v3Column1
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsCustomize.ColumnFiltering = False
        OptionsView.Footer = True
        OptionsView.GroupByBox = False
        object v3Column1: TcxGridDBColumn
          Caption = #21367#21495
          DataBinding.FieldName = 'PieceNo'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 46
        end
        object Tv3Column4: TcxGridDBColumn
          Caption = #31561#32423
          DataBinding.FieldName = 'Grade'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 46
        end
        object cxGridDBColumn1: TcxGridDBColumn
          Caption = #21367#26465#30721
          DataBinding.FieldName = 'CIID'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Options.Sorting = False
          Width = 113
        end
      end
      object cxGridLevel2: TcxGridLevel
        GridView = Tv3
      end
    end
    object ToolBar2: TToolBar
      Tag = 1
      Left = 1
      Top = 1
      Width = 553
      Height = 38
      AutoSize = True
      ButtonHeight = 38
      ButtonWidth = 91
      Caption = 'ToolBar1'
      Color = clSkyBlue
      EdgeInner = esNone
      EdgeOuter = esNone
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = #23435#20307
      Font.Style = []
      Images = DataLink_TatInsp.ImageList_new32
      List = True
      ParentColor = False
      ParentFont = False
      ShowCaptions = True
      TabOrder = 1
      object ToolButton3: TToolButton
        Left = 0
        Top = 0
        AutoSize = True
        Caption = #37325#25171
        ImageIndex = 21
        OnClick = ToolButton3Click
      end
      object ToolButton5: TToolButton
        Left = 71
        Top = 0
        AutoSize = True
        Caption = #21024#38500
        ImageIndex = 5
        OnClick = ToolButton5Click
      end
      object ToolButton6: TToolButton
        Left = 142
        Top = 0
        AutoSize = True
        Caption = #20462#25913
        ImageIndex = 3
        OnClick = ToolButton6Click
      end
      object ToolButton4: TToolButton
        Left = 213
        Top = 0
        AutoSize = True
        Caption = #30133#28857#31649#29702
        ImageIndex = 2
        OnClick = ToolButton4Click
      end
      object ToolButton7: TToolButton
        Left = 308
        Top = 0
        AutoSize = True
        Caption = #20445#23384#26684#24335
        ImageIndex = 16
        OnClick = ToolButton7Click
      end
      object ToolButton8: TToolButton
        Left = 403
        Top = 0
        AutoSize = True
        Caption = #20851#38381
        ImageIndex = 7
        OnClick = ToolButton8Click
      end
    end
    object cxGrid1: TcxGrid
      Left = 217
      Top = 39
      Width = 337
      Height = 629
      Align = alClient
      TabOrder = 2
      object TV1: TcxGridDBTableView
        Navigator.Buttons.CustomButtons = <>
        ScrollbarAnnotations.CustomAnnotations = <>
        DataController.DataSource = DS_1
        DataController.Filter.AutoDataSetFilter = True
        DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
        DataController.Summary.DefaultGroupSummaryItems = <>
        DataController.Summary.FooterSummaryItems = <
          item
            Kind = skSum
            Column = cxGridDBColumn5
          end
          item
            Kind = skSum
            Column = cxGridDBColumn8
          end
          item
            Kind = skSum
            Column = cxGridDBColumn9
          end>
        DataController.Summary.SummaryGroups = <>
        OptionsCustomize.ColumnFiltering = False
        OptionsSelection.CellSelect = False
        OptionsView.Footer = True
        OptionsView.GroupByBox = False
        object cxGridDBColumn2: TcxGridDBColumn
          Caption = #30133#28857#21517#31216
          DataBinding.FieldName = 'CIFName'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          Options.Focusing = False
          Options.Sorting = False
          Width = 75
        end
        object cxGridDBColumn3: TcxGridDBColumn
          Caption = #20301#32622#36215
          DataBinding.FieldName = 'CIFbeg'
          DataBinding.IsNullValueType = True
          PropertiesClassName = 'TcxTextEditProperties'
          HeaderAlignmentHorz = taCenter
          HeaderGlyphAlignmentHorz = taCenter
          Options.Sorting = False
          Width = 52
        end
        object cxGridDBColumn4: TcxGridDBColumn
          Caption = #20301#32622#27490
          DataBinding.FieldName = 'CIFend'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          HeaderGlyphAlignmentHorz = taCenter
          Width = 51
        end
        object cxGridDBColumn5: TcxGridDBColumn
          Caption = #38271#24230
          DataBinding.FieldName = 'CIFQty'
          DataBinding.IsNullValueType = True
          PropertiesClassName = 'TcxTextEditProperties'
          HeaderAlignmentHorz = taCenter
          Options.Sorting = False
          Width = 46
        end
        object cxGridDBColumn6: TcxGridDBColumn
          Caption = #21407#22240
          DataBinding.FieldName = 'CDReason'
          DataBinding.IsNullValueType = True
          Visible = False
          HeaderAlignmentHorz = taCenter
          Options.Sorting = False
          Styles.Content = cxStyle2
          Styles.Header = cxStyle1
          Width = 60
        end
        object cxGridDBColumn7: TcxGridDBColumn
          DataBinding.FieldName = 'CDQty'
          DataBinding.IsNullValueType = True
          Visible = False
          Width = 60
        end
        object cxGridDBColumn8: TcxGridDBColumn
          Caption = #25187#20998
          DataBinding.FieldName = 'CIFPoints'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 54
        end
        object cxGridDBColumn9: TcxGridDBColumn
          Caption = #20010#25968
          DataBinding.FieldName = 'CIFNumber'
          DataBinding.IsNullValueType = True
          HeaderAlignmentHorz = taCenter
          Options.Editing = False
          Width = 36
        end
      end
      object cxGridLevel3: TcxGridLevel
        GridView = TV1
      end
    end
  end
  object Panel3: TPanel [3]
    Left = 8
    Top = 390
    Width = 279
    Height = 210
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 2
    object SpeedButton1: TSpeedButton
      Left = 1
      Top = 2
      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 SpeedButton2: TSpeedButton
      Left = 70
      Top = 2
      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 SpeedButton3: TSpeedButton
      Left = 139
      Top = 2
      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 SpeedButton4: TSpeedButton
      Left = 208
      Top = 2
      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 SpeedButton5: TSpeedButton
      Left = 1
      Top = 70
      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 = 70
      Top = 70
      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 = 139
      Top = 70
      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 = 208
      Top = 70
      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 SpeedButton9: TSpeedButton
      Left = 1
      Top = 138
      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 SpeedButton10: TSpeedButton
      Left = 70
      Top = 138
      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 SpeedButton11: TSpeedButton
      Tag = 9
      Left = 139
      Top = 138
      Width = 70
      Height = 70
      Caption = '9'
      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 = 208
      Top = 138
      Width = 70
      Height = 70
      Caption = '.'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
  end
  inherited ADOQueryBaseCmd: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    Left = 1353
    Top = 272
  end
  inherited ADOQueryBaseTemp: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    Left = 1385
    Top = 201
  end
  object cxStyleRepository1: TcxStyleRepository
    Left = 1080
    Top = 172
    PixelsPerInch = 96
    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
    object cxStyle4: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #23435#20307
      Font.Style = []
    end
  end
  object GPM_1: TcxGridPopupMenu
    PopupMenus = <>
    Left = 1149
    Top = 718
  end
  object ADOQueryMain: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 848
    Top = 128
  end
  object ADOCmd: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    Parameters = <>
    Left = 912
    Top = 124
  end
  object RMDB_1: TRMDBDataSet
    Visible = True
    DataSet = ADOQueryPrint
    Left = 696
    Top = 680
  end
  object DS_2: TDataSource
    DataSet = CDS_2
    Left = 1264
    Top = 656
  end
  object CDS_2: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 1192
    Top = 648
  end
  object ADOQueryPrint: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 692
    Top = 612
  end
  object GPM_2: TcxGridPopupMenu
    PopupMenus = <>
    Left = 1136
    Top = 659
  end
  object ADOQueryMainDSC: TADOQuery
    Connection = DataLink_TatInsp.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 = 880
    Top = 208
  end
  object RM1: TRMGridReport
    ThreadPrepareReport = True
    InitialZoom = pzDefault
    PreviewButtons = [rmpbZoom, rmpbLoad, rmpbSave, rmpbPrint, rmpbFind, rmpbPageSetup, rmpbExit, 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
    Dataset = RMDB_1
    CompressLevel = rmzcFastest
    CompressThread = False
    LaterBuildEvents = True
    OnlyOwnerDataSet = False
    Left = 772
    Top = 648
    ReportData = {}
  end
  object ADOTmp: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    Parameters = <>
    Left = 975
    Top = 119
  end
  object CDS_3: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 1232
    Top = 400
  end
  object DS_3: TDataSource
    DataSet = CDS_3
    Left = 1360
    Top = 392
  end
  object ADOQueryImage: TADOQuery
    Connection = DataLink_TatInsp.ADOLink
    Parameters = <>
    Left = 896
    Top = 643
  end
  object DataSource2: TDataSource
    DataSet = ADOQueryImage
    Left = 980
    Top = 631
  end
  object IdFTP1: TIdFTP
    ConnectTimeout = 0
    NATKeepAlive.UseKeepAlive = False
    NATKeepAlive.IdleTimeMS = 0
    NATKeepAlive.IntervalMS = 0
    ProxySettings.ProxyType = fpcmNone
    ProxySettings.Port = 0
    ReadTimeout = 0
    Left = 976
    Top = 538
  end
  object DS_1: TDataSource
    DataSet = CDS_1
    Left = 1272
    Top = 704
  end
  object CDS_1: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 1200
    Top = 704
  end
  object GPM_3: TcxGridPopupMenu
    Grid = cxGrid3
    PopupMenus = <>
    Left = 1160
    Top = 403
  end
end
