📄 xschhz1.dfm
字号:
object xschhz: Txschhz
Left = 211
Top = 95
Width = 607
Height = 433
Caption = '货品销售汇总表'
Color = clBtnFace
DefaultMonitor = dmMainForm
Font.Charset = GB2312_CHARSET
Font.Color = clWindowText
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
FormStyle = fsMDIChild
OldCreateOrder = False
Position = poMainFormCenter
Visible = True
OnClose = FormClose
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 12
object Panel1: TPanel
Left = 0
Top = 0
Width = 599
Height = 65
Align = alTop
BevelOuter = bvNone
TabOrder = 0
object Label1: TLabel
Left = 20
Top = 16
Width = 36
Height = 12
Caption = '单号:'
end
object Label2: TLabel
Left = 8
Top = 49
Width = 48
Height = 12
Caption = '时间段:'
end
object Label3: TLabel
Left = 152
Top = 48
Width = 12
Height = 12
Caption = '至'
end
object Label4: TLabel
Left = 160
Top = 16
Width = 60
Height = 12
Caption = '客户编码:'
end
object Edit1: TEdit
Left = 56
Top = 8
Width = 89
Height = 20
TabOrder = 0
end
object DateTimePicker1: TDateTimePicker
Left = 56
Top = 40
Width = 93
Height = 20
CalAlignment = dtaLeft
Date = 37260
Time = 37260
DateFormat = dfShort
DateMode = dmComboBox
Kind = dtkDate
ParseInput = False
TabOrder = 1
end
object DateTimePicker2: TDateTimePicker
Left = 168
Top = 40
Width = 93
Height = 20
CalAlignment = dtaLeft
Date = 37260.9583333333
Time = 37260.9583333333
DateFormat = dfShort
DateMode = dmComboBox
Kind = dtkDate
ParseInput = False
TabOrder = 2
end
object Button1: TButton
Left = 304
Top = 35
Width = 62
Height = 25
Caption = '查询'
Default = True
TabOrder = 3
OnClick = Button1Click
end
object Button2: TButton
Left = 371
Top = 35
Width = 58
Height = 25
Caption = '打印'
TabOrder = 4
OnClick = Button2Click
end
object Edit2: TEdit
Left = 219
Top = 8
Width = 121
Height = 20
TabOrder = 5
end
object Button3: TButton
Left = 436
Top = 35
Width = 58
Height = 25
Caption = 'Excel'
TabOrder = 6
OnClick = Button3Click
end
end
object dxDBGrid1: TdxDBGrid
Left = 0
Top = 65
Width = 599
Height = 341
Bands = <
item
end>
DefaultLayout = True
HeaderPanelRowCount = 1
KeyField = 'code'
ShowSummaryFooter = True
SummaryGroups = <>
SummarySeparator = ', '
Align = alClient
Color = 15524050
Font.Charset = GB2312_CHARSET
Font.Color = 7479077
Font.Height = -12
Font.Name = '宋体'
Font.Style = []
ParentFont = False
TabOrder = 1
BandFont.Charset = GB2312_CHARSET
BandFont.Color = clWindowText
BandFont.Height = -12
BandFont.Name = '宋体'
BandFont.Style = []
DataSource = DataSource1
Filter.Active = True
Filter.Criteria = {00000000}
GridLineColor = 7479077
HeaderFont.Charset = GB2312_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -12
HeaderFont.Name = '宋体'
HeaderFont.Style = []
LookAndFeel = lfFlat
OptionsBehavior = [edgoAutoSort, edgoDragScroll, edgoEditing, edgoEnterShowEditor, edgoImmediateEditor, edgoMultiSort, edgoStoreToRegistry, edgoTabThrough, edgoVertThrough]
OptionsDB = [edgoCancelOnExit, edgoCanDelete, edgoCanInsert, edgoCanNavigation, edgoConfirmDelete, edgoLoadAllRecords, edgoSmartRefresh, edgoSmartReload, edgoUseBookmarks]
OptionsView = [edgoBandHeaderWidth, edgoIndicator, edgoRowSelect, edgoUseBitmap]
PreviewFont.Charset = DEFAULT_CHARSET
PreviewFont.Color = clBlue
PreviewFont.Height = -12
PreviewFont.Name = '宋体'
PreviewFont.Style = []
RegistryPath = '\Software\server\xschhz'
ShowRowFooter = True
object dxDBGrid1code: TdxDBGridMaskColumn
Width = 72
BandIndex = 0
RowIndex = 0
FieldName = 'code'
end
object dxDBGrid1kdrq: TdxDBGridDateColumn
Width = 74
BandIndex = 0
RowIndex = 0
FieldName = 'kdrq'
end
object dxDBGrid1KH: TdxDBGridMaskColumn
Width = 74
BandIndex = 0
RowIndex = 0
FieldName = 'KH'
end
object dxDBGrid1khname: TdxDBGridMaskColumn
Width = 135
BandIndex = 0
RowIndex = 0
FieldName = 'khname'
end
object dxDBGrid1zje: TdxDBGridMaskColumn
Width = 73
BandIndex = 0
RowIndex = 0
FieldName = 'zje'
SummaryFooterType = cstSum
SummaryGroupName = 'dxDBGrid1SummaryGroup1'
end
object dxDBGrid1kdr: TdxDBGridMaskColumn
Width = 58
BandIndex = 0
RowIndex = 0
FieldName = 'kdr'
end
object dxDBGrid1fplx: TdxDBGridMaskColumn
Width = 72
BandIndex = 0
RowIndex = 0
FieldName = 'fplx'
end
object dxDBGrid1ck: TdxDBGridMaskColumn
Width = 51
BandIndex = 0
RowIndex = 0
FieldName = 'ck'
end
object dxDBGrid1Column12: TdxDBGridMaskColumn
Width = 152
BandIndex = 0
RowIndex = 0
FieldName = 'ckname'
end
object dxDBGrid1ywy: TdxDBGridMaskColumn
Width = 60
BandIndex = 0
RowIndex = 0
FieldName = 'ywy'
end
object dxDBGrid1ywyname: TdxDBGridMaskColumn
Width = 67
BandIndex = 0
RowIndex = 0
FieldName = 'ywyname'
end
object dxDBGrid1bz: TdxDBGridMaskColumn
Width = 218
BandIndex = 0
RowIndex = 0
FieldName = 'bz'
end
end
object dxComponentPrinter1: TdxComponentPrinter
CurrentLink = dxComponentPrinter1Link1
PreviewOptions.Caption = '货品销售汇总表'
PreviewOptions.RegistryPath = 'Software\Developer Express\PrintingSystem\DesignTime'
PrintTitle = '货品销售汇总表'
Left = 187
Top = 128
object dxComponentPrinter1Link1: TdxDBGridReportLink
Active = True
Component = dxDBGrid1
DateTime = 37676.9427146991
DesignerHelpContext = 0
PrinterPage.DMPaper = 256
PrinterPage.Footer = 6350
PrinterPage.Header = 6350
PrinterPage.Margins.Bottom = 12700
PrinterPage.Margins.Left = 12700
PrinterPage.Margins.Right = 12700
PrinterPage.Margins.Top = 12700
PrinterPage.PageFooter.Font.Charset = DEFAULT_CHARSET
PrinterPage.PageFooter.Font.Color = clWindowText
PrinterPage.PageFooter.Font.Height = -11
PrinterPage.PageFooter.Font.Name = 'Tahoma'
PrinterPage.PageFooter.Font.Style = []
PrinterPage.PageHeader.Font.Charset = DEFAULT_CHARSET
PrinterPage.PageHeader.Font.Color = clWindowText
PrinterPage.PageHeader.Font.Height = -11
PrinterPage.PageHeader.Font.Name = 'Tahoma'
PrinterPage.PageHeader.Font.Style = []
PrinterPage.PageSize.X = 215900
PrinterPage.PageSize.Y = 279400
PrinterPage.ScaleMode = smFit
PrinterPage._dxMeasurementUnits_ = 0
PrinterPage._dxLastMU_ = 2
ReportTitle.Font.Charset = DEFAULT_CHARSET
ReportTitle.Font.Color = clWindowText
ReportTitle.Font.Height = -19
ReportTitle.Font.Name = 'Times New Roman'
ReportTitle.Font.Style = [fsBold]
ReportTitle.Text = '货品销售汇总表'
ShrinkToPageWidth = True
BandFont.Charset = DEFAULT_CHARSET
BandFont.Color = clWindowText
BandFont.Height = -11
BandFont.Name = 'Times New Roman'
BandFont.Style = []
EvenFont.Charset = DEFAULT_CHARSET
EvenFont.Color = clWindowText
EvenFont.Height = -11
EvenFont.Name = 'Times New Roman'
EvenFont.Style = []
FixedTransparent = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Times New Roman'
Font.Style = []
FooterFont.Charset = DEFAULT_CHARSET
FooterFont.Color = clWindowText
FooterFont.Height = -11
FooterFont.Name = 'Times New Roman'
FooterFont.Style = []
GroupNodeFont.Charset = DEFAULT_CHARSET
GroupNodeFont.Color = clWindowText
GroupNodeFont.Height = -11
GroupNodeFont.Name = 'Times New Roman'
GroupNodeFont.Style = []
HeaderFont.Charset = DEFAULT_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -11
HeaderFont.Name = 'Times New Roman'
HeaderFont.Style = []
OddFont.Charset = DEFAULT_CHARSET
OddFont.Color = clWindowText
OddFont.Height = -11
OddFont.Name = 'Times New Roman'
OddFont.Style = []
Options = [tlpoBands, tlpoHeaders, tlpoFooters, tlpoRowFooters, tlpoPreview, tlpoPreviewGrid, tlpoGrid, tlpoFlatCheckMarks, tlpoSoft3D, tlpoRowFooterGrid]
PreviewFont.Charset = DEFAULT_CHARSET
PreviewFont.Color = clWindowText
PreviewFont.Height = -11
PreviewFont.Name = 'Times New Roman'
PreviewFont.Style = []
RowFooterFont.Charset = DEFAULT_CHARSET
RowFooterFont.Color = clWindowText
RowFooterFont.Height = -11
RowFooterFont.Name = 'Times New Roman'
RowFooterFont.Style = []
end
end
object Query1: TADOQuery
Connection = MainForm.ADOConnection1
CursorType = ctStatic
Parameters = <
item
Name = 'code'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 20
Value = '%'
end
item
Name = 'rq1'
Attributes = [paNullable]
DataType = ftDateTime
NumericScale = 3
Precision = 23
Size = 16
Value = 37564d
end
item
Name = 'rq2'
Attributes = [paNullable]
DataType = ftDateTime
NumericScale = 3
Precision = 23
Size = 16
Value = 37564d
end
item
Name = 'kh'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 5
Value = '%'
end>
SQL.Strings = (
'select * from xschhz_v'
'where code like :code and kdrq>=:rq1 and kdrq<=:rq2'
'and kh like :kh')
Left = 144
Top = 128
object Query1code: TStringField
DisplayLabel = '销售单号'
FieldName = 'code'
end
object Query1kdrq: TDateTimeField
DisplayLabel = '开单日期'
FieldName = 'kdrq'
end
object Query1kdr: TStringField
DisplayLabel = '开单人'
FieldName = 'kdr'
Size = 6
end
object Query1fplx: TStringField
DisplayLabel = '发票类型'
FieldName = 'fplx'
end
object Query1KH: TStringField
DisplayLabel = '客户编码'
FieldName = 'KH'
Size = 5
end
object Query1khname: TStringField
DisplayLabel = '客户名称'
FieldName = 'khname'
Size = 200
end
object Query1ck: TStringField
DisplayLabel = '仓库'
FieldName = 'ck'
Size = 5
end
object Query1ckname: TStringField
DisplayLabel = '仓库名称'
FieldName = 'ckname'
Size = 200
end
object Query1zje: TBCDField
DisplayLabel = '销售金额'
FieldName = 'zje'
Precision = 18
Size = 2
end
object Query1ywy: TStringField
DisplayLabel = '业务员'
FieldName = 'ywy'
Size = 5
end
object Query1ywyname: TStringField
DisplayLabel = '业务员'
FieldName = 'ywyname'
Size = 10
end
object Query1bz: TStringField
DisplayLabel = '备注'
FieldName = 'bz'
Size = 200
end
end
object DataSource1: TDataSource
DataSet = Query1
Left = 104
Top = 128
end
object SaveDialog1: TSaveDialog
DefaultExt = 'xls'
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
Left = 136
Top = 176
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -