554 lines
14 KiB
Plaintext
554 lines
14 KiB
Plaintext
![]() |
object frmKCRLLTZ: TfrmKCRLLTZ
|
||
|
Left = 402
|
||
|
Top = 25
|
||
|
Width = 972
|
||
|
Height = 754
|
||
|
Caption = #25195#25551#37197#36135
|
||
|
Color = clBtnFace
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -12
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = []
|
||
|
OldCreateOrder = False
|
||
|
WindowState = wsMaximized
|
||
|
OnClose = FormClose
|
||
|
OnDestroy = FormDestroy
|
||
|
OnShow = FormShow
|
||
|
PixelsPerInch = 96
|
||
|
TextHeight = 12
|
||
|
object ToolBar1: TToolBar
|
||
|
Left = 0
|
||
|
Top = 0
|
||
|
Width = 956
|
||
|
Height = 29
|
||
|
ButtonHeight = 30
|
||
|
ButtonWidth = 59
|
||
|
Caption = 'ToolBar1'
|
||
|
Color = clSkyBlue
|
||
|
EdgeInner = esNone
|
||
|
EdgeOuter = esNone
|
||
|
Flat = True
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -12
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = []
|
||
|
Images = DataLink_FabricInspection.ThreeImgList
|
||
|
List = True
|
||
|
ParentColor = False
|
||
|
ParentFont = False
|
||
|
ShowCaptions = True
|
||
|
TabOrder = 0
|
||
|
object TBSave: TToolButton
|
||
|
Left = 0
|
||
|
Top = 0
|
||
|
AutoSize = True
|
||
|
Caption = #20445#23384
|
||
|
ImageIndex = 0
|
||
|
Visible = False
|
||
|
end
|
||
|
object TBClose: TToolButton
|
||
|
Left = 63
|
||
|
Top = 0
|
||
|
AutoSize = True
|
||
|
Caption = #20851#38381
|
||
|
ImageIndex = 21
|
||
|
OnClick = TBCloseClick
|
||
|
end
|
||
|
end
|
||
|
object Panel1: TPanel
|
||
|
Left = 0
|
||
|
Top = 29
|
||
|
Width = 956
|
||
|
Height = 64
|
||
|
Align = alTop
|
||
|
BevelInner = bvRaised
|
||
|
BevelOuter = bvLowered
|
||
|
Color = clSkyBlue
|
||
|
TabOrder = 1
|
||
|
object Label1: TLabel
|
||
|
Left = 24
|
||
|
Top = 24
|
||
|
Width = 100
|
||
|
Height = 24
|
||
|
Caption = #26465#30721#32534#21495
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clBlue
|
||
|
Font.Height = -24
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object Label32: TLabel
|
||
|
Left = 349
|
||
|
Top = 25
|
||
|
Width = 40
|
||
|
Height = 22
|
||
|
Caption = #25286#21305
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object Label33: TLabel
|
||
|
Left = 449
|
||
|
Top = 25
|
||
|
Width = 40
|
||
|
Height = 22
|
||
|
Caption = #24182#21305
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object Label26: TLabel
|
||
|
Left = 566
|
||
|
Top = 25
|
||
|
Width = 40
|
||
|
Height = 22
|
||
|
Caption = #25171#21360
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object SmNO: TEdit
|
||
|
Left = 128
|
||
|
Top = 20
|
||
|
Width = 201
|
||
|
Height = 32
|
||
|
CharCase = ecUpperCase
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clBlue
|
||
|
Font.Height = -24
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
TabOrder = 0
|
||
|
OnKeyPress = SmNOKeyPress
|
||
|
end
|
||
|
object CheckBox3: TCheckBox
|
||
|
Left = 736
|
||
|
Top = 24
|
||
|
Width = 97
|
||
|
Height = 17
|
||
|
Caption = #33258#21160#21462#20540
|
||
|
Checked = True
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -16
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
State = cbChecked
|
||
|
TabOrder = 1
|
||
|
end
|
||
|
object Edit7: TEdit
|
||
|
Left = 394
|
||
|
Top = 14
|
||
|
Width = 46
|
||
|
Height = 43
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -35
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
ReadOnly = True
|
||
|
TabOrder = 2
|
||
|
Text = #8730
|
||
|
OnClick = Edit7Click
|
||
|
end
|
||
|
object Edit8: TEdit
|
||
|
Left = 498
|
||
|
Top = 14
|
||
|
Width = 46
|
||
|
Height = 43
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -35
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
ReadOnly = True
|
||
|
TabOrder = 3
|
||
|
OnClick = Edit8Click
|
||
|
end
|
||
|
object Edit6: TEdit
|
||
|
Left = 611
|
||
|
Top = 14
|
||
|
Width = 46
|
||
|
Height = 43
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -35
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
ReadOnly = True
|
||
|
TabOrder = 4
|
||
|
Text = #8730
|
||
|
OnClick = Edit6Click
|
||
|
end
|
||
|
end
|
||
|
object Panel4: TPanel
|
||
|
Left = 0
|
||
|
Top = 93
|
||
|
Width = 956
|
||
|
Height = 623
|
||
|
Align = alClient
|
||
|
BevelInner = bvRaised
|
||
|
BevelOuter = bvLowered
|
||
|
TabOrder = 2
|
||
|
object cxGrid1: TcxGrid
|
||
|
Left = 2
|
||
|
Top = 2
|
||
|
Width = 952
|
||
|
Height = 211
|
||
|
Align = alTop
|
||
|
TabOrder = 0
|
||
|
object Tv1: TcxGridDBTableView
|
||
|
OnDblClick = Tv1DblClick
|
||
|
NavigatorButtons.ConfirmDelete = False
|
||
|
DataController.DataSource = DS_FromMJID
|
||
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
||
|
DataController.Summary.DefaultGroupSummaryItems = <
|
||
|
item
|
||
|
Format = 'C_Code'
|
||
|
end>
|
||
|
DataController.Summary.FooterSummaryItems = <
|
||
|
item
|
||
|
Kind = skSum
|
||
|
end
|
||
|
item
|
||
|
Kind = skSum
|
||
|
Column = v1Qty
|
||
|
end>
|
||
|
DataController.Summary.SummaryGroups = <>
|
||
|
OptionsBehavior.FocusCellOnTab = True
|
||
|
OptionsBehavior.GoToNextCellOnEnter = True
|
||
|
OptionsBehavior.FocusCellOnCycle = True
|
||
|
OptionsCustomize.ColumnFiltering = False
|
||
|
OptionsData.Editing = False
|
||
|
OptionsView.Footer = True
|
||
|
OptionsView.GroupByBox = False
|
||
|
object v1MJID: TcxGridDBColumn
|
||
|
Caption = #26465#30721#32534#21495
|
||
|
DataBinding.FieldName = 'MJID'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Options.Editing = False
|
||
|
Width = 172
|
||
|
end
|
||
|
object v1P_Code: TcxGridDBColumn
|
||
|
Caption = #21697#21517
|
||
|
DataBinding.FieldName = 'MJName'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 106
|
||
|
end
|
||
|
object v1P_Color: TcxGridDBColumn
|
||
|
Caption = #39068#33394
|
||
|
DataBinding.FieldName = 'MJColor'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Options.Editing = False
|
||
|
Width = 71
|
||
|
end
|
||
|
object v1Qty: TcxGridDBColumn
|
||
|
Caption = #38271#24230
|
||
|
DataBinding.FieldName = 'MJLen'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 90
|
||
|
end
|
||
|
object v1Column1: TcxGridDBColumn
|
||
|
Caption = #37325#37327
|
||
|
DataBinding.FieldName = 'MJGW'
|
||
|
HeaderAlignmentHorz = taRightJustify
|
||
|
Options.Editing = False
|
||
|
end
|
||
|
end
|
||
|
object cxGrid1Level1: TcxGridLevel
|
||
|
GridView = Tv1
|
||
|
end
|
||
|
end
|
||
|
object cxGrid2: TcxGrid
|
||
|
Left = 2
|
||
|
Top = 321
|
||
|
Width = 952
|
||
|
Height = 300
|
||
|
Align = alClient
|
||
|
TabOrder = 1
|
||
|
object TV2: TcxGridDBTableView
|
||
|
NavigatorButtons.ConfirmDelete = False
|
||
|
DataController.DataSource = DS_ToMJID
|
||
|
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
|
||
|
DataController.Summary.DefaultGroupSummaryItems = <
|
||
|
item
|
||
|
Format = 'C_Code'
|
||
|
end>
|
||
|
DataController.Summary.FooterSummaryItems = <
|
||
|
item
|
||
|
Kind = skSum
|
||
|
end
|
||
|
item
|
||
|
Kind = skSum
|
||
|
Column = cxGridDBColumn6
|
||
|
end>
|
||
|
DataController.Summary.SummaryGroups = <>
|
||
|
OptionsBehavior.FocusCellOnTab = True
|
||
|
OptionsBehavior.GoToNextCellOnEnter = True
|
||
|
OptionsBehavior.FocusCellOnCycle = True
|
||
|
OptionsCustomize.ColumnFiltering = False
|
||
|
OptionsData.Editing = False
|
||
|
OptionsView.Footer = True
|
||
|
OptionsView.GroupByBox = False
|
||
|
object cxGridDBColumn2: TcxGridDBColumn
|
||
|
Caption = #26465#30721
|
||
|
DataBinding.FieldName = 'MJID'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Options.Editing = False
|
||
|
Width = 188
|
||
|
end
|
||
|
object cxGridDBColumn4: TcxGridDBColumn
|
||
|
Caption = #21697#21517
|
||
|
DataBinding.FieldName = 'C_CodeName'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Options.Editing = False
|
||
|
Width = 102
|
||
|
end
|
||
|
object cxGridDBColumn3: TcxGridDBColumn
|
||
|
Caption = #39068#33394
|
||
|
DataBinding.FieldName = 'C_Color'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 93
|
||
|
end
|
||
|
object cxGridDBColumn6: TcxGridDBColumn
|
||
|
Caption = #38271#24230
|
||
|
DataBinding.FieldName = 'MJLen'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 102
|
||
|
end
|
||
|
object V2Column1: TcxGridDBColumn
|
||
|
Caption = #32568#21495
|
||
|
DataBinding.FieldName = 'BCGangNO'
|
||
|
Visible = False
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 84
|
||
|
end
|
||
|
object cxGridDBColumn7: TcxGridDBColumn
|
||
|
Caption = #31561#32423
|
||
|
DataBinding.FieldName = 'CPType'
|
||
|
Visible = False
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 93
|
||
|
end
|
||
|
object V2Column2: TcxGridDBColumn
|
||
|
Caption = #37325#37327
|
||
|
DataBinding.FieldName = 'MJGW'
|
||
|
HeaderAlignmentHorz = taCenter
|
||
|
Width = 69
|
||
|
end
|
||
|
end
|
||
|
object cxGridLevel1: TcxGridLevel
|
||
|
GridView = TV2
|
||
|
end
|
||
|
end
|
||
|
object Panel2: TPanel
|
||
|
Left = 2
|
||
|
Top = 213
|
||
|
Width = 952
|
||
|
Height = 108
|
||
|
Align = alTop
|
||
|
BevelInner = bvRaised
|
||
|
BevelOuter = bvLowered
|
||
|
TabOrder = 2
|
||
|
object Label2: TLabel
|
||
|
Left = 79
|
||
|
Top = 59
|
||
|
Width = 40
|
||
|
Height = 22
|
||
|
Caption = #37325#37327
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object Label3: TLabel
|
||
|
Left = 240
|
||
|
Top = 59
|
||
|
Width = 24
|
||
|
Height = 22
|
||
|
Caption = 'Kg'
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object Label5: TLabel
|
||
|
Left = 79
|
||
|
Top = 15
|
||
|
Width = 40
|
||
|
Height = 22
|
||
|
Caption = #25968#37327
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object Label9: TLabel
|
||
|
Left = 240
|
||
|
Top = 15
|
||
|
Width = 15
|
||
|
Height = 22
|
||
|
Caption = 'M'
|
||
|
Font.Charset = ANSI_CHARSET
|
||
|
Font.Color = clRed
|
||
|
Font.Height = -19
|
||
|
Font.Name = 'Arial'
|
||
|
Font.Style = []
|
||
|
ParentFont = False
|
||
|
end
|
||
|
object MJGW: TEdit
|
||
|
Left = 123
|
||
|
Top = 54
|
||
|
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
|
||
|
end
|
||
|
object btnChaiPi: TButton
|
||
|
Left = 297
|
||
|
Top = 23
|
||
|
Width = 83
|
||
|
Height = 54
|
||
|
Caption = #25171#21360
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -20
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
TabOrder = 1
|
||
|
OnClick = btnChaiPiClick
|
||
|
end
|
||
|
object Button4: TButton
|
||
|
Left = 465
|
||
|
Top = 23
|
||
|
Width = 83
|
||
|
Height = 54
|
||
|
Caption = #37325#25171
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -20
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
TabOrder = 2
|
||
|
OnClick = Button5Click
|
||
|
end
|
||
|
object MJLen: TEdit
|
||
|
Left = 123
|
||
|
Top = 10
|
||
|
Width = 110
|
||
|
Height = 32
|
||
|
Font.Charset = GB2312_CHARSET
|
||
|
Font.Color = clWindowText
|
||
|
Font.Height = -24
|
||
|
Font.Name = #23435#20307
|
||
|
Font.Style = [fsBold]
|
||
|
ParentFont = False
|
||
|
TabOrder = 3
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
object ADOQueryMain: TADOQuery
|
||
|
Connection = DataLink_FabricInspection.ADOLink
|
||
|
Parameters = <>
|
||
|
Left = 460
|
||
|
Top = 136
|
||
|
end
|
||
|
object ADOQueryCmd: TADOQuery
|
||
|
Connection = DataLink_FabricInspection.ADOLink
|
||
|
Parameters = <>
|
||
|
Left = 496
|
||
|
Top = 136
|
||
|
end
|
||
|
object CDS_FromMJID: TClientDataSet
|
||
|
Aggregates = <>
|
||
|
Params = <>
|
||
|
Left = 424
|
||
|
Top = 220
|
||
|
end
|
||
|
object CDS_ToMJID: TClientDataSet
|
||
|
Aggregates = <>
|
||
|
Params = <>
|
||
|
Left = 424
|
||
|
Top = 248
|
||
|
end
|
||
|
object DS_FromMJID: TDataSource
|
||
|
DataSet = CDS_FromMJID
|
||
|
Left = 460
|
||
|
Top = 220
|
||
|
end
|
||
|
object DS_ToMJID: TDataSource
|
||
|
DataSet = CDS_ToMJID
|
||
|
Left = 460
|
||
|
Top = 248
|
||
|
end
|
||
|
object ADOQueryTmp: TADOQuery
|
||
|
Connection = DataLink_FabricInspection.ADOLink
|
||
|
Parameters = <>
|
||
|
Left = 424
|
||
|
Top = 136
|
||
|
end
|
||
|
object ADOQueryPrint: TADOQuery
|
||
|
Connection = DataLink_FabricInspection.ADOLink
|
||
|
Parameters = <>
|
||
|
Left = 424
|
||
|
Top = 172
|
||
|
end
|
||
|
object RM2: TRMGridReport
|
||
|
ThreadPrepareReport = True
|
||
|
InitialZoom = pzDefault
|
||
|
PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbExport, pbNavigator]
|
||
|
DefaultCollate = False
|
||
|
ShowPrintDialog = False
|
||
|
SaveReportOptions.RegistryPath = 'Software\ReportMachine\ReportSettings\'
|
||
|
PreviewOptions.RulerUnit = rmutScreenPixels
|
||
|
PreviewOptions.RulerVisible = False
|
||
|
PreviewOptions.DrawBorder = False
|
||
|
PreviewOptions.BorderPen.Color = clGray
|
||
|
PreviewOptions.BorderPen.Style = psDash
|
||
|
Dataset = RMDB_Main
|
||
|
CompressLevel = rmzcFastest
|
||
|
CompressThread = False
|
||
|
LaterBuildEvents = True
|
||
|
OnlyOwnerDataSet = False
|
||
|
Left = 496
|
||
|
Top = 172
|
||
|
ReportData = {}
|
||
|
end
|
||
|
object RMDB_Main: TRMDBDataSet
|
||
|
Visible = True
|
||
|
DataSet = ADOQueryPrint
|
||
|
Left = 464
|
||
|
Top = 172
|
||
|
end
|
||
|
end
|