D7DJYPhuifeng/样品/U_CPManageCX.dfm

914 lines
25 KiB
Plaintext
Raw Permalink Normal View History

2025-04-30 19:49:32 +08:00
object frmCPManageCX: TfrmCPManageCX
Left = -8
Top = -8
Width = 1382
Height = 754
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 = 1366
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 ToolButton10: TToolButton
Left = 528
Top = 0
AutoSize = True
Caption = #26631#31614#39044#35272
ImageIndex = 12
OnClick = ToolButton10Click
end
object ToolButton8: TToolButton
Left = 615
Top = 0
Caption = #26679#21697#20837#24211
ImageIndex = 103
Visible = False
OnClick = ToolButton8Click
end
object ToolButton9: TToolButton
Left = 698
Top = 0
Caption = #26679#21697#20986#24211
ImageIndex = 107
Visible = False
OnClick = ToolButton9Click
end
object ToolButton5: TToolButton
Left = 781
Top = 0
AutoSize = True
Caption = #22270#29255#19978#20256
ImageIndex = 109
Visible = False
OnClick = ToolButton5Click
end
object ToolButton6: TToolButton
Left = 868
Top = 0
AutoSize = True
Caption = #22270#29255#19979#36733
ImageIndex = 104
Visible = False
OnClick = ToolButton6Click
end
object TBClose: TToolButton
Left = 955
Top = 0
AutoSize = True
Caption = #20851#38381
ImageIndex = 55
OnClick = TBCloseClick
end
object ComboBox1: TComboBox
Left = 1018
Top = 5
Width = 112
Height = 20
Style = csDropDownList
ItemHeight = 12
ItemIndex = 0
TabOrder = 0
Text = #26679#21697#26631#31614
Items.Strings = (
#26679#21697#26631#31614
#26679#21697#26631#31614'1')
end
end
object cxDBTreeList1: TcxDBTreeList
Left = 0
Top = 89
Width = 189
Height = 627
Align = alLeft
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.ColumnAutoWidth = True
OptionsView.Headers = False
RootValue = -1
Styles.Inactive = DataLink_YPGL.Red
Styles.Selection = DataLink_YPGL.Red
Styles.IncSearch = DataLink_YPGL.Red
TabOrder = 1
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
object cxSplitter1: TcxSplitter
Left = 189
Top = 89
Width = 8
Height = 627
HotZoneClassName = 'TcxMediaPlayer9Style'
Control = cxDBTreeList1
end
object Panel1: TPanel
Left = 0
Top = 31
Width = 1366
Height = 58
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
Color = clSkyBlue
TabOrder = 3
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 = #24120#35268#21517#31216
end
object Label4: TLabel
Left = 471
Top = 15
Width = 60
Height = 12
Caption = #20379#24212#21830#32534#21495
end
object Label5: TLabel
Left = 1247
Top = 67
Width = 24
Height = 12
Caption = #32433#25903
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 = 615
Top = 15
Width = 36
Height = 12
Caption = #20379#24212#21830
end
object Label13: TLabel
Left = 738
Top = 15
Width = 36
Height = 12
Caption = #32769#32534#21495
end
object Label8: TLabel
Left = 866
Top = 15
Width = 24
Height = 12
Caption = #35268#26684
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 DefStr6: TEdit
Tag = 2
Left = 532
Top = 11
Width = 59
Height = 20
TabOrder = 2
OnChange = CYNoChange
end
object defnote5: TEdit
Tag = 2
Left = 1273
Top = 63
Width = 76
Height = 20
TabOrder = 3
OnChange = defnote5Change
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 DefStr7: TEdit
Tag = 2
Left = 649
Top = 11
Width = 76
Height = 20
TabOrder = 6
OnChange = defnote5Change
end
object defstr1: TEdit
Tag = 2
Left = 776
Top = 11
Width = 76
Height = 20
TabOrder = 7
OnChange = defnote5Change
end
object CYSpec: TEdit
Tag = 2
Left = 892
Top = 11
Width = 76
Height = 20
TabOrder = 8
OnChange = defnote5Change
end
object CheckBox1: TCheckBox
Left = 72
Top = 36
Width = 97
Height = 17
Caption = #20840#36873
TabOrder = 9
OnClick = CheckBox1Click
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 = 4
Visible = False
end
object Panel3: TPanel
Left = 223
Top = 75
Width = 1073
Height = 609
BevelInner = bvRaised
BevelOuter = bvLowered
Caption = 'Panel3'
TabOrder = 5
object GroupBox1: TGroupBox
Left = 2
Top = 412
Width = 1069
Height = 195
Align = alBottom
Caption = #26679#21697#32553#30053#22270#65288#21452#20987#22270#29255#26597#30475#21407#22270#65289
TabOrder = 0
object ScrollBox1: TScrollBox
Left = 2
Top = 14
Width = 1065
Height = 179
Align = alClient
BevelInner = bvLowered
BorderStyle = bsNone
TabOrder = 0
end
end
object cxGrid1: TcxGrid
Left = 2
Top = 2
Width = 1069
Height = 410
Align = alClient
TabOrder = 1
object Tv1: TcxGridDBTableView
OnKeyDown = Tv1KeyDown
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
OnCellClick = Tv1CellClick
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#22411
DataBinding.FieldName = 'CPName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 58
end
object v1Column15: TcxGridDBColumn
Caption = #24211#20301#20301#32622
DataBinding.FieldName = 'DefStr2'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 71
end
object v1Column1: TcxGridDBColumn
Caption = #20135#21697#32534#21495
DataBinding.FieldName = 'CYNo'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 70
end
object v1Column2: TcxGridDBColumn
Caption = #20013#25991#21697#21517
DataBinding.FieldName = 'CYName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 68
end
object v1Column4: TcxGridDBColumn
Caption = #35268#26684
DataBinding.FieldName = 'CYSpec'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 67
end
object v1Column3: TcxGridDBColumn
Caption = #33521#25991#21517#31216
DataBinding.FieldName = 'CYEName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 66
end
object v1Column5: TcxGridDBColumn
Caption = #20013#25991#25104#20998
DataBinding.FieldName = 'CYCF'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 66
end
object v1Column6: TcxGridDBColumn
Caption = #33521#25991#25104#20998
DataBinding.FieldName = 'CYECF'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 69
end
object v1Column8: TcxGridDBColumn
Caption = #20811#37325
DataBinding.FieldName = 'CYKZ'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 67
end
object v1Column7: TcxGridDBColumn
Caption = #38376#24133
DataBinding.FieldName = 'CYMF'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 73
end
object v1Column9: TcxGridDBColumn
Caption = #20013#25991#39068#33394
DataBinding.FieldName = 'CYColor'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 67
end
object v1Column42: TcxGridDBColumn
Caption = #33521#25991#39068#33394
DataBinding.FieldName = 'CYColorEng'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column16: TcxGridDBColumn
Caption = #33457#22411
DataBinding.FieldName = 'CYHX'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Header = DataLink_YPGL.Default
Width = 58
end
object v1Column37: TcxGridDBColumn
Caption = #22383#24067#32463#23494'/CM'
DataBinding.FieldName = 'defstr10'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 90
end
object v1Column38: TcxGridDBColumn
Caption = #22383#24067#32428#23494'/CM'
DataBinding.FieldName = 'defstr11'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 90
end
object v1Column39: TcxGridDBColumn
Caption = #25104#21697#32463#23494'/CM'
DataBinding.FieldName = 'defstr12'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 90
end
object v1Column40: TcxGridDBColumn
Caption = #25104#21697#32428#23494'/CM'
DataBinding.FieldName = 'defstr13'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 90
end
object v1Column17: TcxGridDBColumn
Caption = #32769#32534#21495
DataBinding.FieldName = 'defstr1'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column25: TcxGridDBColumn
Caption = #24037#21378#32534#30721
DataBinding.FieldName = 'defnote4'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column23: TcxGridDBColumn
Caption = #20379#24212#21830#32534#21495
DataBinding.FieldName = 'DefStr6'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 80
end
object v1Column34: TcxGridDBColumn
Caption = #20379#24212#21830
DataBinding.FieldName = 'DefStr7'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 80
end
object v1Column14: TcxGridDBColumn
Caption = #22270#29255#19978#20256
DataBinding.FieldName = 'TPFlag'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.NullStyle = nssUnchecked
HeaderAlignmentHorz = taCenter
Options.Editing = 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 v1Column26: TcxGridDBColumn
Caption = #32553#29575
DataBinding.FieldName = 'price1'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column27: TcxGridDBColumn
Caption = #22383#24067#36153
DataBinding.FieldName = 'Price2'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column28: TcxGridDBColumn
Caption = #26579#36153
DataBinding.FieldName = 'price3'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column18: TcxGridDBColumn
Caption = #23494#24230
DataBinding.FieldName = 'defstr3'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column29: TcxGridDBColumn
Caption = 'FOB'#36816#36153'+'#21253#35013
DataBinding.FieldName = 'price4'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 88
end
object v1Column31: TcxGridDBColumn
Caption = #20215#26684
DataBinding.FieldName = 'price6'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column30: TcxGridDBColumn
Caption = #21518#21152#24037#36153
DataBinding.FieldName = 'price5'
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 = #25968#37327
DataBinding.FieldName = 'Qty'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column24: TcxGridDBColumn
Caption = #35746#21333#21495
DataBinding.FieldName = 'defnote3'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column22: TcxGridDBColumn
Caption = #32433#25903
DataBinding.FieldName = 'defnote5'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column32: TcxGridDBColumn
Caption = #22383#24067#38376#24133
DataBinding.FieldName = 'PBMF'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column33: TcxGridDBColumn
Caption = #22383#24067#20811#37325
DataBinding.FieldName = 'PBKZ'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column35: TcxGridDBColumn
Caption = #21407#26009#32452#25104
DataBinding.FieldName = 'DefStr8'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 80
end
object v1Column36: TcxGridDBColumn
Caption = #19978#26426#35268#26684
DataBinding.FieldName = 'DefStr9'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 80
end
object v1Column11: TcxGridDBColumn
Caption = #22791#27880
DataBinding.FieldName = 'CYNote'
HeaderAlignmentHorz = taCenter
Options.Focusing = False
Styles.Header = DataLink_YPGL.Default
Width = 66
end
object v1Column41: TcxGridDBColumn
Caption = #26469#26679#26085#26399
DataBinding.FieldName = 'defnote2'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column43: TcxGridDBColumn
Caption = #20462#25913#26102#38388
DataBinding.FieldName = 'EditTime'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 120
end
object v1Column44: TcxGridDBColumn
Caption = #35745#20215#21333#20301
DataBinding.FieldName = 'defstr14'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column45: TcxGridDBColumn
Caption = #22383#24067#23494#24230
DataBinding.FieldName = 'defstr15'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column46: TcxGridDBColumn
Caption = #26579#21378
DataBinding.FieldName = 'defstr16'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column47: TcxGridDBColumn
Caption = #23458#25143
DataBinding.FieldName = 'defstr17'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 60
end
object v1Column48: TcxGridDBColumn
Caption = #30331#35760#26102#38388
DataBinding.FieldName = 'FillTime'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Width = 100
end
end
object cxGrid1Level1: TcxGridLevel
GridView = Tv1
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 = 937
Top = 65525
end
object ADOQueryCmd: TADOQuery
Connection = DataLink_YPGL.ADOLink
Parameters = <>
Left = 893
Top = 65525
end
object cxGridPopupMenu1: TcxGridPopupMenu
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