object frmGreyInspection: TfrmGreyInspection
  Left = 402
  Top = 267
  Width = 1316
  Height = 862
  Caption = #26797#32455#22383#24067#26816#39564
  Color = clBtnFace
  Font.Charset = GB2312_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = #23435#20307
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 12
  object Panel2: TPanel
    Left = 0
    Top = 85
    Width = 217
    Height = 746
    Align = alLeft
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 1
    object Label9: TLabel
      Left = 193
      Top = 79
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      OnClick = Label9Click
    end
    object Label4: TLabel
      Left = 385
      Top = 230
      Width = 28
      Height = 22
      Caption = 'KG'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label5: TLabel
      Left = 27
      Top = 78
      Width = 51
      Height = 23
      Caption = #38271#24230'1'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label11: TLabel
      Left = 261
      Top = 234
      Width = 40
      Height = 23
      Caption = #27611#37325
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label10: TLabel
      Left = 3
      Top = 508
      Width = 40
      Height = 23
      Caption = #27491#21697
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Visible = False
    end
    object Label12: TLabel
      Left = 102
      Top = 508
      Width = 40
      Height = 22
      Caption = #27425#21697
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Visible = False
    end
    object Label30: TLabel
      Left = 261
      Top = 145
      Width = 40
      Height = 23
      Caption = #30382#37325
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label31: TLabel
      Left = 385
      Top = 189
      Width = 28
      Height = 22
      Caption = 'KG'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label32: TLabel
      Left = 261
      Top = 189
      Width = 40
      Height = 23
      Caption = #20928#37325
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label33: TLabel
      Left = 385
      Top = 145
      Width = 28
      Height = 22
      Caption = 'KG'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label36: TLabel
      Left = 38
      Top = 13
      Width = 40
      Height = 23
      Caption = #21367#21495
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label13: TLabel
      Left = 262
      Top = 278
      Width = 40
      Height = 23
      Caption = #31995#25968
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label3: TLabel
      Left = 7
      Top = 43
      Width = 71
      Height = 23
      Caption = #25377#36710#24037'1'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label14: TLabel
      Left = 7
      Top = 113
      Width = 71
      Height = 23
      Caption = #25377#36710#24037'2'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label6: TLabel
      Left = 195
      Top = 152
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      OnClick = Label6Click
    end
    object Label15: TLabel
      Left = 27
      Top = 148
      Width = 51
      Height = 23
      Caption = #38271#24230'2'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label16: TLabel
      Left = 194
      Top = 228
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      OnClick = Label16Click
    end
    object Label19: TLabel
      Left = 27
      Top = 218
      Width = 51
      Height = 23
      Caption = #38271#24230'3'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label21: TLabel
      Left = 7
      Top = 183
      Width = 71
      Height = 23
      Caption = #25377#36710#24037'3'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label22: TLabel
      Left = 7
      Top = 253
      Width = 71
      Height = 23
      Caption = #25377#36710#24037'4'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label23: TLabel
      Left = 195
      Top = 295
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      OnClick = Label23Click
    end
    object Label24: TLabel
      Left = 27
      Top = 288
      Width = 51
      Height = 23
      Caption = #38271#24230'4'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label25: TLabel
      Left = 7
      Top = 323
      Width = 71
      Height = 23
      Caption = #25377#36710#24037'5'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label27: TLabel
      Left = 195
      Top = 359
      Width = 15
      Height = 22
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -19
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      OnClick = Label27Click
    end
    object Label28: TLabel
      Left = 27
      Top = 358
      Width = 51
      Height = 23
      Caption = #38271#24230'5'
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object lbl1: TLabel
      Left = 176
      Top = 452
      Width = 23
      Height = 19
      Caption = 'KG'
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlue
      Font.Height = -17
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object lbl2: TLabel
      Left = 20
      Top = 452
      Width = 40
      Height = 23
      Caption = #27611#37325
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlue
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object Label46: TLabel
      Left = 291
      Top = 431
      Width = 40
      Height = 23
      Caption = #24320#21098
      Font.Charset = ANSI_CHARSET
      Font.Color = clRed
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      Visible = False
    end
    object Label2: TLabel
      Left = 176
      Top = 403
      Width = 19
      Height = 27
      Caption = 'M'
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlue
      Font.Height = -24
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
      OnClick = Label2Click
    end
    object Label7: TLabel
      Left = 20
      Top = 403
      Width = 40
      Height = 23
      Caption = #38271#24230
      Font.Charset = ANSI_CHARSET
      Font.Color = clBlue
      Font.Height = -20
      Font.Name = 'Arial'
      Font.Style = []
      ParentFont = False
    end
    object JYLen1: TEdit
      Left = 81
      Top = 74
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      OnChange = JYLen1Change
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
      OnMouseDown = JYLen1MouseDown
    end
    object BTPrint: TButton
      Left = 19
      Top = 569
      Width = 80
      Height = 45
      Caption = #25552#20132
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 6
      OnClick = BTPrintClick
    end
    object Button5: TButton
      Left = 115
      Top = 569
      Width = 80
      Height = 45
      Caption = #37325#25171
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 7
      Visible = False
      OnClick = Button5Click
    end
    object Edit3: TEdit
      Left = 44
      Top = 498
      Width = 40
      Height = 43
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -35
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 4
      Text = #8730
      Visible = False
      OnClick = Edit3Click
      OnKeyPress = MJstr3KeyPress
    end
    object Edit4: TEdit
      Left = 144
      Top = 498
      Width = 40
      Height = 43
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -35
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 5
      Visible = False
      OnClick = Edit4Click
      OnKeyPress = MJstr3KeyPress
    end
    object JYTare: TEdit
      Left = 305
      Top = 136
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
      OnKeyPress = MJstr3KeyPress
    end
    object JYNW: TEdit
      Left = 305
      Top = 180
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 3
      OnKeyPress = JYNWKeyPress
    end
    object JYxh: TEdit
      Left = 81
      Top = 4
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      OnClick = ScanClick
    end
    object JYXS: TEdit
      Left = 305
      Top = 269
      Width = 110
      Height = 41
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 8
      OnChange = JYLen1Change
      OnKeyPress = MJstr3KeyPress
    end
    object person1: TEdit
      Left = 81
      Top = 39
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 9
      OnClick = person1Click
    end
    object person2: TEdit
      Left = 81
      Top = 109
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 10
      OnClick = person2Click
    end
    object JYLen2: TEdit
      Left = 81
      Top = 144
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 11
      OnChange = JYLen1Change
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
      OnMouseDown = JYLen2MouseDown
    end
    object JYLen3: TEdit
      Left = 81
      Top = 215
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 12
      OnChange = JYLen1Change
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
      OnMouseDown = JYLen3MouseDown
    end
    object person3: TEdit
      Left = 81
      Top = 179
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 13
      OnClick = person3Click
    end
    object person4: TEdit
      Left = 81
      Top = 250
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 14
      OnClick = person4Click
    end
    object JYLen4: TEdit
      Left = 81
      Top = 285
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 15
      OnChange = JYLen1Change
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
      OnMouseDown = JYLen4MouseDown
    end
    object person5: TEdit
      Left = 81
      Top = 320
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ReadOnly = True
      TabOrder = 16
      OnClick = person5Click
    end
    object JYLen5: TEdit
      Left = 81
      Top = 355
      Width = 110
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 17
      OnChange = JYLen1Change
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
      OnMouseDown = JYLen5MouseDown
    end
    object JYGW: TEdit
      Left = 64
      Top = 448
      Width = 110
      Height = 44
      AutoSize = False
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -33
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 18
      OnChange = JYGWChange
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
    end
    object kaijian: TEdit
      Left = 332
      Top = 427
      Width = 137
      Height = 32
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -24
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 19
      Visible = False
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
    end
    object jylen: TEdit
      Left = 64
      Top = 399
      Width = 110
      Height = 45
      AutoSize = False
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -33
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 20
      OnChange = JYGWChange
      OnClick = ScanClick
      OnKeyPress = MJstr3KeyPress
    end
  end
  object Panel7: TPanel
    Left = 217
    Top = 85
    Width = 296
    Height = 746
    Align = alLeft
    BevelInner = bvRaised
    BevelOuter = bvLowered
    TabOrder = 2
    object OrdNote: TRichEdit
      Left = 2
      Top = 113
      Width = 292
      Height = 631
      Align = alClient
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlue
      Font.Height = -20
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      ScrollBars = ssVertical
      TabOrder = 0
    end
    object Panel1: TPanel
      Left = 2
      Top = 2
      Width = 292
      Height = 111
      Align = alTop
      Font.Charset = GB2312_CHARSET
      Font.Color = clBlue
      Font.Height = -19
      Font.Name = #23435#20307
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      object Label26: TLabel
        Left = 11
        Top = 10
        Width = 40
        Height = 22
        Caption = #20986#32440
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -19
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object Label34: TLabel
        Left = 110
        Top = 10
        Width = 40
        Height = 22
        Caption = #20221#25968
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -19
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object lblJYPS: TLabel
        Left = 6
        Top = 51
        Width = 80
        Height = 23
        Caption = #26816#39564#21305#25968
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -20
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object lblJYLen: TLabel
        Left = 6
        Top = 75
        Width = 80
        Height = 23
        Caption = #26816#39564#31859#25968
        Font.Charset = ANSI_CHARSET
        Font.Color = clRed
        Font.Height = -20
        Font.Name = 'Arial'
        Font.Style = []
        ParentFont = False
      end
      object Edit6: TEdit
        Left = 52
        Top = -1
        Width = 40
        Height = 43
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -35
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        ReadOnly = True
        TabOrder = 0
        Text = #8730
        OnClick = Edit6Click
        OnKeyPress = MJstr3KeyPress
      end
      object ComboBox1: TComboBox
        Left = 153
        Top = 1
        Width = 40
        Height = 40
        Style = csDropDownList
        Font.Charset = ANSI_CHARSET
        Font.Color = clWindowText
        Font.Height = -28
        Font.Name = 'Times New Roman'
        Font.Style = [fsBold]
        ItemHeight = 32
        ItemIndex = 0
        ParentFont = False
        TabOrder = 1
        Text = '1'
        Items.Strings = (
          '1'
          '2'
          '3'
          '4')
      end
    end
  end
  object Panel5: TPanel
    Left = 0
    Top = 0
    Width = 1308
    Height = 85
    Align = alTop
    TabOrder = 0
    object Panel6: TPanel
      Left = 1
      Top = 31
      Width = 1306
      Height = 53
      Align = alClient
      BevelInner = bvRaised
      BevelOuter = bvLowered
      Color = clSkyBlue
      TabOrder = 1
      object Label1: TLabel
        Left = 9
        Top = 16
        Width = 80
        Height = 19
        Caption = #25195#25551#20837#21475
        Font.Charset = GB2312_CHARSET
        Font.Color = clRed
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label35: TLabel
        Left = 324
        Top = 16
        Width = 40
        Height = 19
        Caption = #30721#34920
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label39: TLabel
        Left = 488
        Top = 16
        Width = 40
        Height = 19
        Caption = #37325#25171
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Label29: TLabel
        Left = 583
        Top = 16
        Width = 80
        Height = 19
        Caption = #25195#25551#21024#38500
        Font.Charset = GB2312_CHARSET
        Font.Color = clRed
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        Visible = False
      end
      object Label40: TLabel
        Left = 408
        Top = 16
        Width = 20
        Height = 19
        Caption = #31204
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
      end
      object Scan: TEdit
        Left = 88
        Top = 10
        Width = 185
        Height = 27
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = []
        ParentFont = False
        TabOrder = 1
        OnClick = ScanClick
        OnKeyPress = ScanKeyPress
      end
      object Edit7: TEdit
        Left = 295
        Top = 12
        Width = 28
        Height = 27
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        ReadOnly = True
        TabOrder = 2
        Text = #8730
        OnClick = Edit7Click
      end
      object Edit8: TEdit
        Left = 459
        Top = 12
        Width = 28
        Height = 27
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        ReadOnly = True
        TabOrder = 0
        OnClick = Edit8Click
      end
      object edtDel: TEdit
        Left = 554
        Top = 12
        Width = 28
        Height = 27
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        ReadOnly = True
        TabOrder = 3
        Visible = False
        OnClick = edtDelClick
      end
      object Edit1: TEdit
        Left = 379
        Top = 12
        Width = 28
        Height = 27
        Font.Charset = GB2312_CHARSET
        Font.Color = clWindowText
        Font.Height = -19
        Font.Name = #23435#20307
        Font.Style = [fsBold]
        ParentFont = False
        ReadOnly = True
        TabOrder = 4
        Text = #8730
        OnClick = Edit1Click
      end
    end
    object ToolBar1: TToolBar
      Left = 1
      Top = 1
      Width = 1306
      Height = 30
      ButtonHeight = 30
      ButtonWidth = 95
      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 ToolButton1: TToolButton
        Left = 0
        Top = 0
        AutoSize = True
        Caption = #21047#26032
        ImageIndex = 0
      end
      object TBCD: TToolButton
        Left = 63
        Top = 0
        AutoSize = True
        Caption = #30133#28857#31649#29702
        ImageIndex = 97
        OnClick = TBCDClick
      end
      object ToolButton3: TToolButton
        Left = 150
        Top = 0
        AutoSize = True
        Caption = #25377#36710#24037#31649#29702
        ImageIndex = 22
        OnClick = ToolButton3Click
      end
      object ToolButton5: TToolButton
        Left = 249
        Top = 0
        AutoSize = True
        Caption = #26426#20462#24037#31649#29702
        ImageIndex = 22
        OnClick = ToolButton5Click
      end
      object ToolButton2: TToolButton
        Left = 348
        Top = 0
        AutoSize = True
        Caption = #25209#21495#31649#29702
        ImageIndex = 97
        Visible = False
        OnClick = ToolButton2Click
      end
      object ToolButton4: TToolButton
        Left = 435
        Top = 0
        AutoSize = True
        Caption = #25377#36710#24037#20135#37327
        ImageIndex = 22
        OnClick = ToolButton4Click
      end
      object ToolButton6: TToolButton
        Left = 534
        Top = 0
        AutoSize = True
        Caption = #20316#24223
        ImageIndex = 3
        OnClick = ToolButton6Click
      end
      object TBClose: TToolButton
        Left = 597
        Top = 0
        AutoSize = True
        Caption = #20851#38381
        ImageIndex = 21
        OnClick = TBCloseClick
      end
    end
  end
  object cxGrid3: TcxGrid
    Left = 513
    Top = 85
    Width = 795
    Height = 746
    Align = alClient
    TabOrder = 3
    object Tv3: TcxGridDBTableView
      Navigator.Buttons.CustomButtons = <>
      DataController.DataSource = DS_MJID
      DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
      DataController.Summary.DefaultGroupSummaryItems = <>
      DataController.Summary.FooterSummaryItems = <
        item
          Kind = skSum
        end
        item
          Kind = skSum
          Column = v3Column2
        end
        item
          Kind = skSum
        end
        item
          Kind = skSum
        end
        item
          Format = #21367#25968':0'
          Kind = skCount
          Column = cxGridDBColumn1
        end>
      DataController.Summary.SummaryGroups = <>
      OptionsCustomize.ColumnFiltering = False
      OptionsView.Footer = True
      OptionsView.GroupByBox = False
      Styles.Content = cxStyle1
      Styles.Header = cxStyle1
      object cxGridDBColumn1: TcxGridDBColumn
        Caption = #21367#26465#30721
        DataBinding.FieldName = 'JYID'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Options.Sorting = False
        Width = 108
      end
      object Tv3Column3: TcxGridDBColumn
        Caption = #20135#21697#21517#31216
        DataBinding.FieldName = 'p_codename'
        HeaderAlignmentHorz = taCenter
        Width = 88
      end
      object Tv3Column4: TcxGridDBColumn
        Caption = #36724#21345#21495
        DataBinding.FieldName = 'pcid'
        HeaderAlignmentHorz = taCenter
        Width = 67
      end
      object v3Column1: TcxGridDBColumn
        Caption = #21367#21495
        DataBinding.FieldName = 'JYXH'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Options.Sorting = False
        Width = 40
      end
      object Tv3Column2: TcxGridDBColumn
        Caption = #36710#21495
        DataBinding.FieldName = 'JTH'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Width = 104
      end
      object v3Column2: TcxGridDBColumn
        Caption = #38271#24230
        DataBinding.FieldName = 'JYLen'
        HeaderAlignmentHorz = taCenter
        Options.Editing = False
        Options.Sorting = False
        Width = 49
      end
      object v3Column3: TcxGridDBColumn
        Caption = #31867#22411
        DataBinding.FieldName = 'JYType'
        Options.Editing = False
        Options.Sorting = False
        Width = 40
      end
      object Tv3Column1: TcxGridDBColumn
        Caption = #27611#37325
        DataBinding.FieldName = 'JYGW'
        HeaderAlignmentHorz = taCenter
        Width = 65
      end
      object Tv3Column5: TcxGridDBColumn
        Caption = #24067#31080#21367#21495
        DataBinding.FieldName = 'apxh'
        HeaderAlignmentHorz = taCenter
        Width = 79
      end
      object Tv3Column6: TcxGridDBColumn
        Caption = #25209#21495
        DataBinding.FieldName = 'BatchNo'
        HeaderAlignmentHorz = taCenter
        Width = 70
      end
    end
    object cxGridLevel2: TcxGridLevel
      GridView = Tv3
    end
  end
  object Panel3: TPanel
    Left = 218
    Top = 459
    Width = 385
    Height = 231
    BevelInner = bvRaised
    BevelOuter = bvLowered
    Color = clSkyBlue
    TabOrder = 4
    Visible = False
    object SpeedButton1: TSpeedButton
      Left = 4
      Top = 3
      Width = 70
      Height = 70
      Caption = '0'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton2: TSpeedButton
      Left = 78
      Top = 3
      Width = 70
      Height = 70
      Caption = '1'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton3: TSpeedButton
      Left = 152
      Top = 3
      Width = 70
      Height = 70
      Caption = '2'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton4: TSpeedButton
      Left = 226
      Top = 3
      Width = 70
      Height = 70
      Caption = '3'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton5: TSpeedButton
      Left = 4
      Top = 75
      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 = 78
      Top = 75
      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 = 152
      Top = 75
      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 = 226
      Top = 75
      Width = 70
      Height = 70
      Caption = '7'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton9: TSpeedButton
      Left = 4
      Top = 150
      Width = 70
      Height = 70
      Caption = '8'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton10: TSpeedButton
      Left = 78
      Top = 150
      Width = 70
      Height = 70
      Caption = '9'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton11: TSpeedButton
      Tag = 9
      Left = 152
      Top = 150
      Width = 70
      Height = 70
      Caption = '.'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #40657#20307
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton12: TSpeedButton
      Left = 226
      Top = 150
      Width = 70
      Height = 70
      Caption = #8592
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -37
      Font.Name = #40657#20307
      Font.Style = []
      ParentFont = False
      OnClick = SpeedButton12Click
    end
    object SpeedButton49: TSpeedButton
      Tag = 9
      Left = 303
      Top = 77
      Width = 72
      Height = 67
      Caption = #38544#34255
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -28
      Font.Name = #26999#20307'_GB2312'
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = SpeedButton49Click
    end
    object SpeedButton84: TSpeedButton
      Tag = 9
      Left = 303
      Top = 4
      Width = 70
      Height = 70
      Caption = '-'
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -32
      Font.Name = #40657#20307
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = SpeedButton1Click
    end
    object SpeedButton43: TSpeedButton
      Tag = 9
      Left = 304
      Top = 149
      Width = 72
      Height = 73
      Caption = #22238#36710
      Font.Charset = GB2312_CHARSET
      Font.Color = clWindowText
      Font.Height = -28
      Font.Name = #26999#20307'_GB2312'
      Font.Style = [fsBold]
      ParentFont = False
      OnClick = SpeedButton43Click
    end
  end
  object cxGridPopupMenu1: TcxGridPopupMenu
    PopupMenus = <>
    Left = 796
    Top = 376
  end
  object DataSource1: TDataSource
    DataSet = Order_MJ
    Left = 772
    Top = 456
  end
  object Order_MJ: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 736
    Top = 460
  end
  object ADOCmd: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    Parameters = <>
    Left = 700
    Top = 184
  end
  object RMDB_Main: TRMDBDataSet
    Visible = True
    DataSet = ADOQueryPrint
    Left = 768
    Top = 560
  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 = 736
    Top = 564
    ReportData = {}
  end
  object DS_MJCD: TDataSource
    DataSet = CDS_MJCD
    Left = 764
    Top = 376
  end
  object CDS_MJCD: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 728
    Top = 376
  end
  object DS_MJID: TDataSource
    DataSet = CDS_MJID
    Left = 764
    Top = 416
  end
  object CDS_MJID: TClientDataSet
    Aggregates = <>
    Params = <>
    Left = 732
    Top = 416
  end
  object ADOQueryPrint: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    LockType = ltReadOnly
    Parameters = <>
    Left = 660
    Top = 184
  end
  object cxGridPopupMenu2: TcxGridPopupMenu
    Grid = cxGrid3
    PopupMenus = <>
    Left = 800
    Top = 415
  end
  object ADOQueryMainDSC: TADOQuery
    Connection = DataLink_FabricInspection.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 = 700
    Top = 460
  end
  object RM3: 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 = 696
    Top = 564
    ReportData = {}
  end
  object ADOTmp: TADOQuery
    Connection = DataLink_FabricInspection.ADOLink
    Parameters = <>
    Left = 739
    Top = 183
  end
  object QryCheckNet: TADOQuery
    Connection = DataLink_FabricInspection.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 = 696
    Top = 516
  end
  object cxStyleRepository1: TcxStyleRepository
    PixelsPerInch = 96
    object cxStyle1: TcxStyle
      AssignedValues = [svFont]
      Font.Charset = ANSI_CHARSET
      Font.Color = clWindowText
      Font.Height = -16
      Font.Name = #23435#20307
      Font.Style = [fsBold]
    end
  end
  object ADOQuery1: TADOQuery
    Parameters = <>
    Left = 824
    Top = 192
  end
end
