D7wmguihua/样品/U_CPManageCX.dfm
DESKTOP-E401PHE\Administrator b4b5840f18 1
2025-01-18 16:22:10 +08:00

701 lines
18 KiB
Plaintext

object frmCPManageCX: TfrmCPManageCX
Left = 543
Top = 153
Width = 1148
Height = 657
Caption = #20135#21697#26723#26696
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnDestroy = FormDestroy
OnKeyDown = FormKeyDown
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 12
object ToolBar1: TToolBar
Left = 0
Top = 0
Width = 1132
Height = 31
ButtonHeight = 30
ButtonWidth = 83
Caption = 'ToolBar1'
Color = clSkyBlue
DisabledImages = DataLink_YPGL.ThreeImgList
Flat = True
Images = DataLink_YPGL.ThreeImgList
List = True
ParentColor = False
ShowCaptions = True
TabOrder = 0
object TBRafresh: TToolButton
Left = 0
Top = 0
AutoSize = True
Caption = #21047#26032
ImageIndex = 9
OnClick = TBRafreshClick
end
object ToolButton2: TToolButton
Left = 63
Top = 0
AutoSize = True
Caption = #36807#28388
ImageIndex = 59
OnClick = ToolButton2Click
end
object TBAdd: TToolButton
Left = 126
Top = 0
AutoSize = True
Caption = #26032#22686
ImageIndex = 3
Visible = False
OnClick = TBAddClick
end
object ToolButton7: TToolButton
Left = 189
Top = 0
AutoSize = True
Caption = #22797#21046
ImageIndex = 57
Visible = False
OnClick = ToolButton7Click
end
object ToolButton3: TToolButton
Left = 252
Top = 0
AutoSize = True
Caption = #20462#25913
ImageIndex = 54
Visible = False
OnClick = ToolButton3Click
end
object TBDel: TToolButton
Left = 315
Top = 0
AutoSize = True
Caption = #21024#38500
ImageIndex = 17
Visible = False
OnClick = TBDelClick
end
object ToolButton1: TToolButton
Left = 378
Top = 0
AutoSize = True
Caption = #23548#20986
ImageIndex = 53
OnClick = ToolButton1Click
end
object ToolButton4: TToolButton
Left = 441
Top = 0
AutoSize = True
Caption = #26631#31614#25171#21360
ImageIndex = 12
OnClick = ToolButton4Click
end
object ToolButton8: TToolButton
Left = 528
Top = 0
Caption = #26679#21697#20837#24211
ImageIndex = 103
Visible = False
OnClick = ToolButton8Click
end
object ToolButton9: TToolButton
Left = 611
Top = 0
Caption = #26679#21697#20986#24211
ImageIndex = 107
Visible = False
OnClick = ToolButton9Click
end
object ToolButton5: TToolButton
Left = 694
Top = 0
AutoSize = True
Caption = #22270#29255#19978#20256
ImageIndex = 109
Visible = False
OnClick = ToolButton5Click
end
object ToolButton6: TToolButton
Left = 781
Top = 0
AutoSize = True
Caption = #22270#29255#19979#36733
ImageIndex = 104
OnClick = ToolButton6Click
end
object TBClose: TToolButton
Left = 868
Top = 0
AutoSize = True
Caption = #20851#38381
ImageIndex = 55
OnClick = TBCloseClick
end
end
object cxSplitter1: TcxSplitter
Left = 220
Top = 72
Width = 8
Height = 546
HotZoneClassName = 'TcxMediaPlayer9Style'
end
object Panel1: TPanel
Left = 0
Top = 31
Width = 1132
Height = 41
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
Color = clSkyBlue
TabOrder = 2
object Label2: TLabel
Left = 16
Top = 15
Width = 48
Height = 12
Caption = #25195#25551#20837#21475
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
ParentFont = False
end
object Label1: TLabel
Left = 361
Top = 15
Width = 48
Height = 12
Caption = #20013#25991#21517#31216
end
object Label4: TLabel
Left = 479
Top = 15
Width = 48
Height = 12
Caption = #33521#25991#21517#31216
end
object Label5: TLabel
Left = 603
Top = 15
Width = 24
Height = 12
Caption = #35268#26684
end
object Label3: TLabel
Left = 216
Top = 15
Width = 48
Height = 12
Caption = #20135#21697#32534#21495
end
object Label6: TLabel
Left = 1046
Top = 16
Width = 24
Height = 12
Caption = #20221#25968
end
object Label7: TLabel
Left = 723
Top = 15
Width = 24
Height = 12
Caption = #20811#37325
end
object Label13: TLabel
Left = 842
Top = 15
Width = 36
Height = 12
Caption = #32769#32534#21495
end
object CYID: TEdit
Tag = 3
Left = 72
Top = 11
Width = 121
Height = 20
TabOrder = 0
OnKeyPress = CYIDKeyPress
end
object CYName: TEdit
Tag = 2
Left = 411
Top = 11
Width = 56
Height = 20
TabOrder = 1
OnChange = CYNoChange
end
object CYEName: TEdit
Tag = 2
Left = 528
Top = 11
Width = 59
Height = 20
TabOrder = 2
OnChange = CYNoChange
end
object CYSpec: TEdit
Tag = 2
Left = 629
Top = 11
Width = 76
Height = 20
TabOrder = 3
OnChange = CYSpecChange
end
object CYNO: TEdit
Tag = 2
Left = 262
Top = 11
Width = 89
Height = 20
TabOrder = 4
OnChange = CYNoChange
end
object Edit1: TEdit
Left = 1004
Top = 11
Width = 38
Height = 20
TabOrder = 5
end
object CYKZ: TEdit
Tag = 2
Left = 749
Top = 11
Width = 76
Height = 20
TabOrder = 6
OnChange = CYSpecChange
end
object defstr1: TEdit
Tag = 2
Left = 880
Top = 11
Width = 76
Height = 20
TabOrder = 7
OnChange = CYSpecChange
end
end
object Panel2: TPanel
Left = 512
Top = 232
Width = 193
Height = 41
BevelInner = bvRaised
BevelOuter = bvLowered
Caption = #27491#22312#26597#35810#25968#25454#65292#35831#31245#21518#12290#12290#12290
Color = clSkyBlue
Font.Charset = GB2312_CHARSET
Font.Color = clRed
Font.Height = -12
Font.Name = #23435#20307
Font.Style = [fsBold]
ParentFont = False
TabOrder = 3
Visible = False
end
object Panel3: TPanel
Left = 228
Top = 72
Width = 904
Height = 546
Align = alClient
Caption = 'Panel3'
TabOrder = 4
object cxGrid1: TcxGrid
Left = 1
Top = 1
Width = 902
Height = 544
Align = alClient
TabOrder = 0
object Tv1: TcxGridDBTableView
OnKeyDown = Tv1KeyDown
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
OnCellClick = Tv1CellClick
OnCellDblClick = Tv1CellDblClick
DataController.DataSource = DataSource2
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsView.GroupByBox = False
Styles.Inactive = DataLink_YPGL.SHuangSe
Styles.IncSearch = DataLink_YPGL.SHuangSe
Styles.Selection = DataLink_YPGL.SHuangSe
Styles.Header = DataLink_YPGL.Default
object v1Column19: TcxGridDBColumn
Caption = #36873#25321
DataBinding.FieldName = 'SSel'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.ImmediatePost = True
Properties.NullStyle = nssUnchecked
HeaderAlignmentHorz = taCenter
Styles.Header = DataLink_YPGL.Default
Width = 40
end
object v1Column12: TcxGridDBColumn
Caption = #31867#21035
DataBinding.FieldName = 'CPName'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 58
end
object v1Column15: TcxGridDBColumn
Caption = #38472#21015#20301#32622
DataBinding.FieldName = 'DefStr2'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 71
end
object v1Column2: TcxGridDBColumn
Caption = #20013#25991#21517#31216
DataBinding.FieldName = 'CYName'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 68
end
object v1Column1: TcxGridDBColumn
Caption = #20135#21697#32534#21495
DataBinding.FieldName = 'CYNo'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 70
end
object v1Column4: TcxGridDBColumn
Caption = #35268#26684
DataBinding.FieldName = 'CYSpec'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 67
end
object v1Column5: TcxGridDBColumn
Caption = #20013#25991#25104#20998
DataBinding.FieldName = 'CYCF'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 66
end
object v1Column3: TcxGridDBColumn
Caption = #33521#25991#21517#31216
DataBinding.FieldName = 'CYEName'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 66
end
object v1Column6: TcxGridDBColumn
Caption = #33521#25991#25104#20998
DataBinding.FieldName = 'CYECF'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 69
end
object v1Column8: TcxGridDBColumn
Caption = #20811#37325
DataBinding.FieldName = 'CYKZ'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 67
end
object v1Column7: TcxGridDBColumn
Caption = #38376#24133
DataBinding.FieldName = 'CYMF'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 73
end
object v1Column16: TcxGridDBColumn
Caption = #33457#22411
DataBinding.FieldName = 'CYHX'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 58
end
object v1Column9: TcxGridDBColumn
Caption = #20013#25991#39068#33394
DataBinding.FieldName = 'CYColor'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 67
end
object v1Column42: TcxGridDBColumn
Caption = #33521#25991#39068#33394
DataBinding.FieldName = 'CYColorEng'
HeaderAlignmentHorz = taCenter
Width = 60
end
object v1Column11: TcxGridDBColumn
Caption = #22791#27880
DataBinding.FieldName = 'CYNote'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 66
end
object v1Column14: TcxGridDBColumn
Caption = #22270#29255#19978#20256
DataBinding.FieldName = 'TPFlag'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.NullStyle = nssUnchecked
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 59
end
object v1Column10: TcxGridDBColumn
Caption = #20844#26020#20215
DataBinding.FieldName = 'CYPriceKg'
Visible = False
HeaderAlignmentHorz = taCenter
Options.Editing = False
VisibleForCustomization = False
Width = 56
end
object v1Column13: TcxGridDBColumn
Caption = #31859#20215
DataBinding.FieldName = 'CYPriceM'
Visible = False
HeaderAlignmentHorz = taCenter
Options.Editing = False
VisibleForCustomization = False
Width = 54
end
object v1Column17: TcxGridDBColumn
Caption = #32769#32534#21495
DataBinding.FieldName = 'defstr1'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column18: TcxGridDBColumn
Caption = #22383#24067#23494#24230
DataBinding.FieldName = 'defstr3'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column20: TcxGridDBColumn
Caption = #32463#32428#25467#24230
DataBinding.FieldName = 'defstr4'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column21: TcxGridDBColumn
Caption = #25346#38057#25968
DataBinding.FieldName = 'defstr5'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column22: TcxGridDBColumn
Caption = #24211#23384#25968#37327
DataBinding.FieldName = 'defnote1'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column23: TcxGridDBColumn
Caption = #24211#23384#20301#32622
DataBinding.FieldName = 'defnote2'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column24: TcxGridDBColumn
Caption = #35746#21333#26469#28304
DataBinding.FieldName = 'defnote3'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column25: TcxGridDBColumn
Caption = #26222#36890#26469#28304
DataBinding.FieldName = 'defnote4'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
end
object cxGrid1Level1: TcxGridLevel
GridView = Tv1
end
end
end
object Panel5: TPanel
Left = 0
Top = 72
Width = 220
Height = 546
Align = alLeft
BevelInner = bvRaised
BevelOuter = bvLowered
TabOrder = 5
object cxDBTreeList1: TcxDBTreeList
Left = 2
Top = 2
Width = 216
Height = 542
Align = alClient
Bands = <
item
end>
DataController.DataSource = DataSource1
DataController.ParentField = 'CPParent'
DataController.KeyField = 'CPID'
Navigator.Buttons.CustomButtons = <>
OptionsBehavior.ExpandOnDblClick = False
OptionsSelection.CellSelect = False
OptionsView.CellAutoHeight = True
OptionsView.Headers = False
RootValue = -1
Styles.Inactive = DataLink_YPGL.Red
Styles.Selection = DataLink_YPGL.Red
Styles.IncSearch = DataLink_YPGL.Red
TabOrder = 0
OnDblClick = cxDBTreeList1DblClick
object cxDBTreeList1cxDBTreeListColumn2: TcxDBTreeListColumn
DataBinding.FieldName = 'CPName'
Width = 210
Position.ColIndex = 0
Position.RowIndex = 0
Position.BandIndex = 0
Summary.FooterSummaryItems = <>
Summary.GroupFooterSummaryItems = <>
end
end
end
object DataSource1: TDataSource
DataSet = ADOQueryTree
Left = 91
Top = 147
end
object ADOQueryTree: TADOQuery
Connection = DataLink_YPGL.ADOLink
LockType = ltReadOnly
Parameters = <>
Left = 117
Top = 145
end
object ADOQueryTemp: TADOQuery
Connection = DataLink_YPGL.ADOLink
LockType = ltReadOnly
Parameters = <>
Left = 909
Top = 17
end
object ADOQueryCmd: TADOQuery
Connection = DataLink_YPGL.ADOLink
Parameters = <>
Left = 877
Top = 17
end
object cxGridPopupMenu1: TcxGridPopupMenu
Grid = cxGrid1
PopupMenus = <>
Left = 456
Top = 184
end
object DataSource2: TDataSource
DataSet = CDS_Main
Left = 451
Top = 155
end
object ADOQueryMain: TADOQuery
Connection = DataLink_YPGL.ADOLink
LockType = ltReadOnly
Parameters = <>
Left = 429
Top = 185
end
object CDS_Main: TClientDataSet
Aggregates = <>
Params = <>
Left = 392
Top = 184
end
object RM1: TRMGridReport
ThreadPrepareReport = True
InitialZoom = pzDefault
PreviewButtons = [pbZoom, pbLoad, pbSave, pbPrint, pbFind, pbPageSetup, pbExit, pbExport, pbNavigator]
DefaultCollate = 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 = 392
Top = 152
ReportData = {}
end
object RMDB_Main: TRMDBDataSet
Visible = True
DataSet = CDS_Main
Left = 424
Top = 152
end
object ODPat: TOpenDialog
Options = [ofReadOnly, ofAllowMultiSelect, ofPathMustExist, ofFileMustExist, ofEnableSizing]
Left = 484
Top = 157
end
object IdFTP1: TIdFTP
MaxLineAction = maException
ReadTimeout = 0
ProxySettings.ProxyType = fpcmNone
ProxySettings.Port = 0
Left = 485
Top = 188
end
object SaveDialog1: TSaveDialog
Left = 521
Top = 157
end
object adoqueryPicture: TADOQuery
Connection = DataLink_YPGL.ADOLink
Parameters = <>
Left = 479
Top = 256
end
end