D7szChenfeng/应收应付/U_CostCR.dfm

643 lines
16 KiB
Plaintext
Raw Normal View History

2025-07-22 15:51:47 +08:00
object frmCostCR: TfrmCostCR
Left = 198
Top = 85
Width = 1026
Height = 690
Caption = #36153#29992#30331#35760
Color = clBtnFace
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = #23435#20307
Font.Style = []
OldCreateOrder = False
OnClose = FormClose
OnDestroy = FormDestroy
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 12
object ToolBar1: TToolBar
Left = 0
Top = 0
Width = 1010
Height = 31
ButtonHeight = 30
ButtonWidth = 83
Caption = 'ToolBar1'
Color = clSkyBlue
DisabledImages = DataLink_YSYF.ThreeImgList
Flat = True
Images = DataLink_YSYF.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
OnClick = TBADDClick
end
object ToolButton3: TToolButton
Left = 189
Top = 0
AutoSize = True
Caption = #20462#25913
ImageIndex = 54
OnClick = ToolButton3Click
end
object TBDel: TToolButton
Left = 252
Top = 0
AutoSize = True
Caption = #21024#38500
ImageIndex = 17
OnClick = TBDelClick
end
object tchk: TToolButton
Left = 315
Top = 0
AutoSize = True
Caption = #23457#26680
ImageIndex = 41
OnClick = tchkClick
end
object tnochk: TToolButton
Left = 378
Top = 0
AutoSize = True
Caption = #25764#38144#23457#26680
ImageIndex = 129
OnClick = tnochkClick
end
object ToolButton1: TToolButton
Left = 465
Top = 0
AutoSize = True
Caption = #23548#20986
ImageIndex = 53
OnClick = ToolButton1Click
end
object TBClose: TToolButton
Left = 528
Top = 0
AutoSize = True
Caption = #20851#38381
ImageIndex = 55
OnClick = TBCloseClick
end
end
object Panel1: TPanel
Left = 0
Top = 31
Width = 1010
Height = 74
Align = alTop
BevelInner = bvRaised
BevelOuter = bvLowered
Color = clSkyBlue
TabOrder = 1
object Label1: TLabel
Left = 357
Top = 13
Width = 60
Height = 12
Caption = #39033#30446#21450#25688#35201
end
object Label3: TLabel
Left = 193
Top = 13
Width = 48
Height = 12
Caption = #23545#26041#21333#20301
end
object Label2: TLabel
Left = 22
Top = 13
Width = 48
Height = 12
Caption = #26597#35810#26085#26399
end
object Label6: TLabel
Left = 54
Top = 38
Width = 30
Height = 12
Caption = '-----'
end
object Label7: TLabel
Left = 521
Top = 15
Width = 48
Height = 12
Caption = #25910#27454#36134#25143
end
object Label4: TLabel
Left = 194
Top = 39
Width = 48
Height = 12
Caption = #20844#21496#25260#22836
end
object Label5: TLabel
Left = 369
Top = 37
Width = 48
Height = 12
Caption = #20184#27454#26041#24335
end
object YFName: TEdit
Tag = 2
Left = 419
Top = 9
Width = 89
Height = 20
TabOrder = 3
OnChange = FactoryNameChange
end
object FactoryName: TEdit
Tag = 2
Left = 241
Top = 9
Width = 89
Height = 20
TabOrder = 2
OnChange = FactoryNameChange
end
object begdate: TDateTimePicker
Left = 72
Top = 9
Width = 97
Height = 20
Date = 41256.918237847230000000
Time = 41256.918237847230000000
ImeName = #20013#25991' - QQ'#25340#38899#36755#20837#27861
TabOrder = 0
end
object Enddate: TDateTimePicker
Left = 72
Top = 34
Width = 97
Height = 20
Date = 41256.918237847230000000
Time = 41256.918237847230000000
ImeName = #20013#25991' - QQ'#25340#38899#36755#20837#27861
TabOrder = 1
end
object bankNo: TEdit
Tag = 2
Left = 583
Top = 11
Width = 89
Height = 20
TabOrder = 4
end
object SYRName: TEdit
Tag = 2
Left = 242
Top = 35
Width = 89
Height = 20
TabOrder = 5
OnChange = FactoryNameChange
end
object PayMent: TEdit
Tag = 2
Left = 419
Top = 33
Width = 89
Height = 20
TabOrder = 6
OnChange = FactoryNameChange
end
end
object cxGrid2: TcxGrid
Left = 0
Top = 127
Width = 1010
Height = 287
Align = alClient
TabOrder = 3
object Tv2: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
OnFocusedRecordChanged = Tv2FocusedRecordChanged
DataController.DataSource = DS_HZ
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Kind = skSum
end
item
Kind = skSum
Column = VBB
end
item
Kind = skSum
Column = VYB
end
item
Kind = skSum
end>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsView.Footer = True
OptionsView.GroupByBox = False
Styles.Header = DataLink_YSYF.FonePurple
object v2Ssel: TcxGridDBColumn
Caption = #36873#25321
DataBinding.FieldName = 'Ssel'
PropertiesClassName = 'TcxCheckBoxProperties'
Properties.ImmediatePost = True
Properties.NullStyle = nssUnchecked
HeaderAlignmentHorz = taCenter
Styles.Content = cxStyle1
Styles.Header = cxStyle1
end
object cxGridDBColumn1: TcxGridDBColumn
Caption = #26085#26399
DataBinding.FieldName = 'CRTime'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 115
end
object v2Column6: TcxGridDBColumn
Caption = #23545#26041#21333#20301
DataBinding.FieldName = 'FactoryName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 100
end
object v2Column4: TcxGridDBColumn
Caption = #20844#21496#25260#22836
DataBinding.FieldName = 'SYRName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 108
end
object cxGridDBColumn3: TcxGridDBColumn
Caption = #39033#30446#21450#25688#35201
DataBinding.FieldName = 'YFName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 146
end
object v2Column5: TcxGridDBColumn
Caption = #20184#27454#26041#24335
DataBinding.FieldName = 'PayMent'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 94
end
object VYB: TcxGridDBColumn
Caption = #21407#24065#37329#39069
DataBinding.FieldName = 'Money'
Visible = False
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 90
end
object VBZ: TcxGridDBColumn
Caption = #24065#31181
DataBinding.FieldName = 'BZType'
Visible = False
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 63
end
object VHL: TcxGridDBColumn
Caption = #27719#29575
DataBinding.FieldName = 'HuiLv'
Visible = False
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 75
end
object VBB: TcxGridDBColumn
Caption = #37329#39069
DataBinding.FieldName = 'BBMoney'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 80
end
object v2Column2: TcxGridDBColumn
Caption = #25910#27454#36134#25143
DataBinding.FieldName = 'bankNo'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 80
end
object v2Column1: TcxGridDBColumn
Caption = #22791#27880
DataBinding.FieldName = 'note'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 80
end
object v2Column3: TcxGridDBColumn
Caption = #25805#20316#21592
DataBinding.FieldName = 'Filler'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 84
end
end
object cxGridLevel1: TcxGridLevel
GridView = Tv2
end
end
object cxTabControl1: TcxTabControl
Left = 0
Top = 105
Width = 1010
Height = 22
Align = alTop
TabOrder = 2
Properties.CustomButtons.Buttons = <>
Properties.Style = 9
Properties.TabIndex = 0
Properties.Tabs.Strings = (
#26410#23457#26680
#24050#23457#26680
#20840#37096)
OnChange = cxTabControl1Change
ClientRectBottom = 22
ClientRectRight = 1010
ClientRectTop = 19
end
object cxGrid1: TcxGrid
Left = 0
Top = 414
Width = 1010
Height = 237
Align = alBottom
TabOrder = 4
object Tv1: TcxGridDBTableView
Navigator.Buttons.CustomButtons = <>
Navigator.Buttons.Delete.Enabled = False
Navigator.Buttons.Delete.Visible = False
DataController.DataSource = DS_YFS
DataController.Options = [dcoAssignGroupingValues, dcoAssignMasterDetailKeys, dcoSaveExpanding, dcoImmediatePost]
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Kind = skSum
Column = v1Qty
end
item
Kind = skSum
Column = v1Money
end
item
Kind = skSum
end
item
Kind = skSum
end
item
Kind = skSum
end>
DataController.Summary.SummaryGroups = <>
OptionsCustomize.ColumnFiltering = False
OptionsData.Deleting = False
OptionsData.DeletingConfirmation = False
OptionsView.Footer = True
OptionsView.GroupByBox = False
OptionsView.Indicator = True
Styles.Header = DataLink_YSYF.FonePurple
object v1Column4: TcxGridDBColumn
Caption = #27454#39033#31867#22411
DataBinding.FieldName = 'KXType'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 103
end
object v1Column3: TcxGridDBColumn
Caption = #32534#21495
DataBinding.FieldName = 'CPCode'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Kind = bkEllipsis
end>
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
end
object v1Column1: TcxGridDBColumn
Caption = #21697#21517
DataBinding.FieldName = 'CPName'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
end
object v1Column2: TcxGridDBColumn
Caption = #35268#26684
DataBinding.FieldName = 'CPSpec'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
end
object v1Qty: TcxGridDBColumn
Caption = #25968#37327
DataBinding.FieldName = 'Qty'
PropertiesClassName = 'TcxTextEditProperties'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 83
end
object v1QtyUnit: TcxGridDBColumn
Caption = #25968#37327#21333#20301
DataBinding.FieldName = 'QtyUnit'
PropertiesClassName = 'TcxButtonEditProperties'
Properties.Buttons = <
item
Default = True
Kind = bkEllipsis
end>
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 90
end
object v1Price: TcxGridDBColumn
Caption = #21333#20215
DataBinding.FieldName = 'Price'
PropertiesClassName = 'TcxTextEditProperties'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 93
end
object v1Money: TcxGridDBColumn
Caption = #37329#39069
DataBinding.FieldName = 'MxMoney'
PropertiesClassName = 'TcxTextEditProperties'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 81
end
object v1note: TcxGridDBColumn
Caption = #22791#27880
DataBinding.FieldName = 'MxNote'
HeaderAlignmentHorz = taCenter
Options.Editing = False
Styles.Content = cxStyle1
Styles.Header = cxStyle1
Width = 145
end
end
object cxGridLevel2: TcxGridLevel
GridView = Tv1
end
end
object ADOQueryTemp: TADOQuery
Connection = DataLink_YSYF.ADOLink
LockType = ltReadOnly
Parameters = <>
Left = 789
Top = 9
end
object ADOQueryCmd: TADOQuery
Connection = DataLink_YSYF.ADOLink
Parameters = <>
Left = 829
Top = 1
end
object ADOQueryMain: TADOQuery
Connection = DataLink_YSYF.ADOLink
LockType = ltReadOnly
Parameters = <>
Left = 334
Top = 233
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 = 465
Top = 234
ReportData = {}
end
object RMDB_Main: TRMDBDataSet
Visible = True
Left = 375
Top = 232
end
object cxGridPopupMenu2: TcxGridPopupMenu
Grid = cxGrid2
PopupMenus = <>
Left = 571
Top = 230
end
object DS_HZ: TDataSource
DataSet = CDS_HZ
Left = 426
Top = 232
end
object CDS_HZ: TClientDataSet
Aggregates = <>
Params = <>
Left = 508
Top = 228
end
object CDS_YFS: TClientDataSet
Aggregates = <>
Params = <>
Left = 324
Top = 466
end
object DS_YFS: TDataSource
DataSet = CDS_YFS
Left = 360
Top = 461
end
object cxGridPopupMenu1: TcxGridPopupMenu
Grid = cxGrid2
PopupMenus = <>
Left = 410
Top = 459
end
object cxStyleRepository1: TcxStyleRepository
PixelsPerInch = 96
object cxStyle1: TcxStyle
AssignedValues = [svFont]
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
end
end
end