📄 slbrsaleb.dfm
字号:
inherited SLBrSaleBForm: TSLBrSaleBForm
Left = 36
Top = 187
Width = 697
Height = 515
Caption = #38144#21806#36864#36135#21333
FormStyle = fsMDIChild
PixelsPerInch = 96
TextHeight = 12
inherited ToolBar: TToolBar
Width = 689
ButtonWidth = 55
object ToolButton1: TToolButton
Left = 0
Top = 2
Action = AddNewAction
end
object ToolButton2: TToolButton
Left = 55
Top = 2
Action = EditAction
end
object ToolButton3: TToolButton
Left = 110
Top = 2
Action = DeleteAction
end
object ToolButton10: TToolButton
Left = 165
Top = 2
Width = 8
Caption = 'ToolButton10'
ImageIndex = 9
Style = tbsSeparator
end
object ToolButton4: TToolButton
Left = 173
Top = 2
Action = PrintPreviewAction
end
object ToolButton5: TToolButton
Left = 228
Top = 2
Action = PrintAction
end
object ToolButton11: TToolButton
Left = 283
Top = 2
Width = 8
Caption = 'ToolButton11'
ImageIndex = 10
Style = tbsSeparator
end
object ToolButton6: TToolButton
Left = 291
Top = 2
Action = ExportAction
end
object ToolButton12: TToolButton
Left = 346
Top = 2
Width = 8
Caption = 'ToolButton12'
ImageIndex = 11
Style = tbsSeparator
end
object ToolButton7: TToolButton
Left = 354
Top = 2
Action = FiltrateAction
end
object ToolButton14: TToolButton
Left = 409
Top = 2
Action = CustomizeViewAction
end
object ToolButton8: TToolButton
Left = 464
Top = 2
Action = RefreshAction
end
object ToolButton13: TToolButton
Left = 519
Top = 2
Width = 8
Caption = 'ToolButton13'
ImageIndex = 9
Style = tbsSeparator
end
object ToolButton9: TToolButton
Left = 527
Top = 2
Action = ExitAction
end
end
inherited Panel1: TPanel
Width = 689
Height = 447
inherited PageControl: TPageControl
Top = 420
Width = 689
Height = 27
inherited TabSheet1: TTabSheet
Caption = #38144#21806#20973#21333#36164#26009
end
end
inherited DBGrid: TQLDBGrid
Width = 689
Height = 420
FooterRowCount = 1
Columns = <
item
Expanded = False
FieldName = #32534#21495
Title.Alignment = taCenter
Width = 100
Visible = True
end
item
Expanded = False
FieldName = #26085#26399
Title.Alignment = taCenter
Width = 100
Visible = True
end
item
Expanded = False
FieldName = #19994#21153#31867#21035
Title.Alignment = taCenter
Visible = True
end
item
Expanded = False
FieldName = #23458#25143#21517#31216
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #37329#39069
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #38468#21152#36153#29992
Title.Alignment = taCenter
Visible = True
end
item
Expanded = False
FieldName = #25240#25187#37329#39069
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #32467#31639#26085#26399
Title.Alignment = taCenter
Width = 100
Visible = True
end
item
Expanded = False
FieldName = #32463#25163#20154
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #20998#25674#35201#27714
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #36865#36135#35201#27714
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #22791#27880
Title.Alignment = taCenter
Width = 130
Visible = True
end
item
Expanded = False
FieldName = #20973#21333#29366#24577
Title.Alignment = taCenter
Width = 100
Visible = True
end>
end
end
inherited ActionList: TActionList
Left = 371
Top = 77
end
inherited DataSource: TDataSource
DataSet = adsSalesMaster
Left = 246
Top = 114
end
object adsSalesMaster: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
Filtered = True
CommandText =
'select a.ID,a.RecordState,a.ClientID ,a. EmployeeID,a.Code as ['#32534 +
#21495'],a.Date ['#26085#26399'], a.BillMode ['#19994#21153#31867#21035'],'#13#10'a.ClearDate ['#32467#31639#26085#26399'], a.Appor' +
'tion ['#20998#25674#35201#27714'], '#13#10'a.Deliver ['#36865#36135#35201#27714'], a.Memo ['#22791#27880'],b.name as ['#23458#25143#21517#31216'] '#13#10 +
',c.name as ['#32463#25163#20154'], A.SundryFee*a.ModeDC*a.ModeC as ['#38468#21152#36153#29992'] ,'#13#10'ttl' +
'.Amount*a.ModeDC*a.ModeC as ['#37329#39069'] ,'#13#10'ttl.Discount*a.ModeDC*a.Mode' +
'C as ['#25240#25187#37329#39069'],'#13#10'a.Recordstate as ['#20973#21333#29366#24577']'#13#10'from SLSaleMaster a '#13#10'lef' +
't outer join DAClient b on b. ID=a.ClientID '#13#10'left outer join ' +
'MSEmployee c on c.id=a. EmployeeID '#13#10'left outer join '#13#10'(selec' +
't masterID, (sum(isnull(Amount,0))+Sum(Isnull(TaxAmount,0))+'#13#10'Su' +
'm(Isnull(SundryFee,0))) as Amount ,sum(isnull(Discount,0)) as Di' +
'scount'#13#10'from SLSaleDetail group by masterId ) as ttl '#13#10'on ttl.m' +
'asterID=a.id '#13#10'WHERE A.RECORDSTATE<>'#39#21024#38500#39' '#13#10'order by a.ID DESC'
Parameters = <>
Left = 192
Top = 108
object adsSalesMasterDSDesigner: TStringField
FieldName = #32534#21495
ReadOnly = True
end
object adsSalesMasterDSDesigner2: TDateTimeField
FieldName = #26085#26399
ReadOnly = True
DisplayFormat = 'yyyy-mm-dd'
end
object adsSalesMasterDSDesigner3: TStringField
FieldName = #19994#21153#31867#21035
ReadOnly = True
Size = 16
end
object adsSalesMasterDSDesigner4: TDateTimeField
FieldName = #32467#31639#26085#26399
ReadOnly = True
end
object adsSalesMasterDSDesigner5: TStringField
FieldName = #20998#25674#35201#27714
ReadOnly = True
Size = 12
end
object adsSalesMasterDSDesigner6: TStringField
FieldName = #36865#36135#35201#27714
ReadOnly = True
Size = 30
end
object adsSalesMasterDSDesigner10: TBCDField
FieldName = #37329#39069
ReadOnly = True
DisplayFormat = '#,#.00'
Precision = 32
Size = 5
end
object adsSalesMasterDSDesigner12: TBCDField
FieldName = #38468#21152#36153#29992
DisplayFormat = '#,#.00'
Precision = 19
Size = 5
end
object adsSalesMasterDSDesigner11: TBCDField
FieldName = #25240#25187#37329#39069
ReadOnly = True
DisplayFormat = '#,#.00'
Precision = 19
end
object adsSalesMasterDSDesigner7: TStringField
FieldName = #22791#27880
ReadOnly = True
Size = 60
end
object adsSalesMasterDSDesigner8: TStringField
FieldName = #23458#25143#21517#31216
ReadOnly = True
Size = 50
end
object adsSalesMasterDSDesigner9: TStringField
FieldName = #32463#25163#20154
ReadOnly = True
Size = 30
end
object adsSalesMasterDSDesigner13: TStringField
FieldName = #20973#21333#29366#24577
Size = 12
end
object adsSalesMasterID: TAutoIncField
FieldName = 'ID'
ReadOnly = True
Visible = False
end
object adsSalesMasterClientID: TIntegerField
FieldName = 'ClientID'
Visible = False
end
object adsSalesMasterEmployeeID: TIntegerField
FieldName = 'EmployeeID'
Visible = False
end
object adsSalesMasterRecordState: TStringField
FieldName = 'RecordState'
Visible = False
Size = 12
end
end
object PopupMenu1: TPopupMenu
Left = 320
Top = 136
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -