📄 slbrsaledsct.dfm
字号:
inherited SLBrSaleDsctForm: TSLBrSaleDsctForm
Left = 82
Top = 32
Width = 697
Height = 515
Caption = #38144#21806#24320#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 = 80
Visible = True
end
item
Expanded = False
FieldName = #26085#26399
Title.Alignment = taCenter
Width = 80
Visible = True
end
item
Expanded = False
FieldName = #19994#21153#31867#21035
Title.Alignment = taCenter
Width = 80
Visible = True
end
item
Expanded = False
FieldName = #23458#25143#21517#31216
Title.Alignment = taCenter
Width = 200
Visible = True
end
item
Expanded = False
FieldName = #38144#21806#37329#39069
Title.Alignment = taCenter
Width = 110
Visible = True
end
item
Expanded = False
FieldName = #38468#21152#36153#29992
Title.Alignment = taCenter
Width = 110
Visible = True
end
item
Expanded = False
FieldName = #32467#31639#26085#26399
Title.Alignment = taCenter
Width = 80
Visible = True
end
item
Expanded = False
FieldName = #32463#25163#20154
Title.Alignment = taCenter
Width = 80
Visible = True
end
item
Expanded = False
FieldName = #36865#36135#35201#27714
Title.Alignment = taCenter
Width = 160
Visible = True
end
item
Expanded = False
FieldName = #22791#27880
Title.Alignment = taCenter
Width = 160
Visible = True
end
item
Expanded = False
FieldName = #20973#21333#29366#24577
Title.Alignment = taCenter
Width = 50
Visible = True
end>
end
end
inherited ActionList: TActionList
Left = 371
Top = 77
end
inherited DataSource: TDataSource
DataSet = adsMaster
Left = 246
Top = 114
end
object adsMaster: TADODataSet
Connection = CommonData.acnConnection
CursorType = ctStatic
Filtered = True
CommandText =
'select a.ID, a.RecordState , a.ClientID ,a. EmployeeID,'#13#10'a.C' +
'ode as ['#32534#21495'],a.Date ['#26085#26399'], a.BillMode ['#19994#21153#31867#21035'],'#13#10'b.name as ['#23458#25143#21517#31216'] ,' +
#13#10'ttl.Amount*a.ModeDC*a.ModeC as ['#38144#21806#37329#39069'] ,'#13#10'A.SundryFee*a.ModeDC*' +
'a.ModeC as ['#38468#21152#36153#29992'] ,'#13#10'a.ClearDate ['#32467#31639#26085#26399'], '#13#10'c.name as ['#32463#25163#20154'], '#13#10'a' +
'.Deliver ['#36865#36135#35201#27714'], '#13#10'a.Memo ['#22791#27880'],'#13#10'a.Recordstate as ['#20973#21333#29366#24577']'#13#10'from S' +
'LSaleMaster a '#13#10'left 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'(select masterID, (sum(isnull(Amount,0))+Sum(Isnull' +
'(TaxAmount,0))+'#13#10'Sum(Isnull(SundryFee,0))) as Amount ,sum(isnull' +
'(Discount,0)) as Discount'#13#10'from SLSaleDetail group by masterId ' +
') as ttl '#13#10'on ttl.masterID=a.id '#13#10'WHERE A.RECORDSTATE<>'#39#21024#38500#39' '#13#10'o' +
'rder by a.ID DESC'
Parameters = <>
Left = 192
Top = 108
object adsMasterID: TAutoIncField
FieldName = 'ID'
ReadOnly = True
Visible = False
end
object adsMasterRecordState: TStringField
FieldName = 'RecordState'
Visible = False
Size = 12
end
object adsMasterClientID: TIntegerField
FieldName = 'ClientID'
Visible = False
end
object adsMasterEmployeeID: TIntegerField
FieldName = 'EmployeeID'
Visible = False
end
object adsMasterDSDesigner: TStringField
FieldName = #32534#21495
end
object adsMasterDSDesigner2: TDateTimeField
FieldName = #26085#26399
end
object adsMasterDSDesigner3: TStringField
FieldName = #19994#21153#31867#21035
Size = 16
end
object adsMasterDSDesigner4: TStringField
FieldName = #23458#25143#21517#31216
Size = 50
end
object adsMasterDSDesigner5: TBCDField
FieldName = #38144#21806#37329#39069
ReadOnly = True
DisplayFormat = '#,#.00'
Precision = 32
Size = 5
end
object adsMasterDSDesigner6: TBCDField
FieldName = #38468#21152#36153#29992
ReadOnly = True
DisplayFormat = '#,#.00'
Precision = 32
Size = 5
end
object adsMasterDSDesigner7: TDateTimeField
FieldName = #32467#31639#26085#26399
end
object adsMasterDSDesigner8: TStringField
FieldName = #32463#25163#20154
Size = 30
end
object adsMasterDSDesigner9: TStringField
FieldName = #36865#36135#35201#27714
Size = 30
end
object adsMasterDSDesigner10: TStringField
FieldName = #22791#27880
Size = 60
end
object adsMasterDSDesigner11: TStringField
FieldName = #20973#21333#29366#24577
Size = 12
end
end
object PopupMenu1: TPopupMenu
Left = 320
Top = 136
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -