📄 kcjeb1.dfm
字号:
end
object Edit2: TEdit
Left = 67
Top = 8
Width = 121
Height = 20
TabOrder = 4
end
object Edit3: TEdit
Left = 67
Top = 32
Width = 121
Height = 20
TabOrder = 5
end
object Button3: TButton
Left = 432
Top = 34
Width = 58
Height = 25
Caption = 'Excel'
TabOrder = 6
OnClick = Button3Click
end
end
end
object DataSource1: TDataSource
DataSet = ADOTable1
Left = 248
Top = 104
end
object PopupMenu1: TPopupMenu
Left = 176
Top = 176
object N1: TMenuItem
Caption = '输出'
object Excel1: TMenuItem
Caption = 'Excel格式'
OnClick = Excel1Click
end
object Text1: TMenuItem
Caption = 'Text格式'
OnClick = Text1Click
end
object Html1: TMenuItem
Caption = 'Html格式'
OnClick = Html1Click
end
end
end
object dxComponentPrinter1: TdxComponentPrinter
CurrentLink = dxComponentPrinter1Link1
DateFormat = 2
PreviewOptions.Caption = '货品库存金额表'
PreviewOptions.RegistryPath = 'Software\Developer Express\PrintingSystem\DesignTime'
PreviewOptions.WindowState = wsMaximized
PrintTitle = '货品库存金额表'
Left = 304
Top = 248
object dxComponentPrinter1Link1: TdxDBGridReportLink
Active = True
Component = dxDBGrid1
DateTime = 37805.9192403935
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 SaveDialog1: TSaveDialog
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
Left = 136
Top = 176
end
object ADOTable1: TADOQuery
Connection = MainForm.ADOConnection1
CursorType = ctStatic
Parameters = <
item
Name = 'spname'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 50
Value = '%'
end
item
Name = 'spcode'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 15
Value = Null
end
item
Name = 'barcode'
Attributes = [paNullable]
DataType = ftString
NumericScale = 255
Precision = 255
Size = 20
Value = Null
end
item
Name = 'ckcode'
DataType = ftString
NumericScale = 255
Precision = 255
Size = 5
Value = Null
end>
SQL.Strings = (
'select * from KCJE_V'
'where spname like :spname'
'and (spcode like :spcode or barcode like :barcode)'
'and ckcode like :ckcode')
Left = 280
Top = 104
object ADOTable1ckcode: TStringField
DisplayLabel = '编码'
FieldName = 'ckcode'
Size = 5
end
object ADOTable1ckname: TStringField
DisplayLabel = '仓库'
FieldName = 'ckname'
Size = 200
end
object ADOTable1spcode: TStringField
DisplayLabel = '货品编码'
FieldName = 'spcode'
Size = 15
end
object ADOTable1spname: TStringField
DisplayLabel = '名称'
FieldName = 'spname'
Size = 50
end
object ADOTable1lb: TStringField
DisplayLabel = '类别'
FieldName = 'lb'
end
object ADOTable1jldw: TStringField
DisplayLabel = '计量单位'
FieldName = 'jldw'
Size = 10
end
object ADOTable1bzgg: TBCDField
DisplayLabel = '包装规格'
FieldName = 'bzgg'
Precision = 18
Size = 0
end
object ADOTable1barcode: TStringField
DisplayLabel = '条形码'
FieldName = 'barcode'
end
object ADOTable1kcsl: TBCDField
DisplayLabel = '库存数'
FieldName = 'kcsl'
Precision = 18
Size = 2
end
object ADOTable1jhj: TBCDField
DisplayLabel = '含税进价'
FieldName = 'jhj'
Precision = 18
Size = 2
end
object ADOTable1hsjjje: TBCDField
DisplayLabel = '含税进价金额'
FieldName = 'hsjjje'
ReadOnly = True
Precision = 32
end
object ADOTable1wsjj: TBCDField
DisplayLabel = '无税进价'
FieldName = 'wsjj'
Precision = 18
Size = 2
end
object ADOTable1wsjjje: TBCDField
DisplayLabel = '无税进价金额'
FieldName = 'wsjjje'
ReadOnly = True
Precision = 32
end
object ADOTable1lsj: TBCDField
DisplayLabel = '零售价'
FieldName = 'lsj'
Precision = 18
Size = 2
end
object ADOTable1lsje: TBCDField
DisplayLabel = '零售价金额'
FieldName = 'lsje'
ReadOnly = True
Precision = 32
end
object ADOTable1pfj: TBCDField
DisplayLabel = '批发价'
FieldName = 'pfj'
Precision = 18
Size = 2
end
object ADOTable1pfje: TBCDField
DisplayLabel = '批发价金额'
FieldName = 'pfje'
ReadOnly = True
Precision = 32
end
end
object SaveDialog2: TSaveDialog
DefaultExt = 'xls'
Options = [ofOverwritePrompt, ofHideReadOnly, ofEnableSizing]
Left = 136
Top = 176
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -