📄 editstock_u.dfm
字号:
object EditStockfrm: TEditStockfrm
Left = 367
Top = 163
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = #21333#25454#20462#25913
ClientHeight = 456
ClientWidth = 610
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object GroupBox1: TGroupBox
Left = 0
Top = 0
Width = 610
Height = 94
Align = alTop
TabOrder = 0
object Label5: TLabel
Left = 23
Top = 19
Width = 60
Height = 13
Caption = #20837#24211#21333#21495#65306
end
object Label6: TLabel
Left = 232
Top = 19
Width = 60
Height = 13
Caption = #37319#36141#26085#26399#65306
end
object Label7: TLabel
Left = 23
Top = 43
Width = 60
Height = 13
Caption = #37319#36141#21333#21495#65306
end
object Label8: TLabel
Left = 232
Top = 43
Width = 60
Height = 13
Caption = #20379#24212#21830#21517#65306
end
object Label9: TLabel
Left = 406
Top = 19
Width = 48
Height = 13
Caption = #37319#36141#20154#65306
end
object Label10: TLabel
Left = 23
Top = 67
Width = 60
Height = 13
Caption = #25688#35201#20449#24687#65306
end
object DBLookupComboBox2: TDBLookupComboBox
Left = 464
Top = 15
Width = 121
Height = 21
KeyField = 'StockID'
ListField = 'StockName'
ListSource = StockManDs
TabOrder = 4
end
object Edit2: TEdit
Left = 464
Top = 15
Width = 105
Height = 21
ReadOnly = True
TabOrder = 6
end
object DateTimePicker1: TDateTimePicker
Left = 304
Top = 15
Width = 81
Height = 21
Date = 38813.000000000000000000
Time = 38813.000000000000000000
TabOrder = 3
end
object Edit1: TEdit
Left = 304
Top = 39
Width = 249
Height = 21
ReadOnly = True
TabOrder = 1
end
object Button1: TButton
Left = 554
Top = 39
Width = 30
Height = 21
Caption = '...'
TabOrder = 5
end
object Edit3: TEdit
Left = 88
Top = 16
Width = 121
Height = 21
Color = clInfoBk
Enabled = False
TabOrder = 7
OnChange = Edit3Change
end
object Edit4: TEdit
Left = 88
Top = 40
Width = 121
Height = 21
TabOrder = 0
end
object Edit5: TEdit
Left = 88
Top = 64
Width = 497
Height = 21
TabOrder = 2
end
end
object GroupBox2: TGroupBox
Left = 0
Top = 377
Width = 610
Height = 41
Align = alBottom
TabOrder = 1
object Label1: TLabel
Left = 16
Top = 16
Width = 60
Height = 13
Caption = #28165#21333#39033#25968#65306
end
object Label2: TLabel
Left = 144
Top = 16
Width = 63
Height = 13
Caption = #21512#35745#37329#39069#65306' '
end
object Label3: TLabel
Left = 326
Top = 16
Width = 48
Height = 13
Caption = #21046#21333#20154#65306
end
object Label4: TLabel
Left = 473
Top = 16
Width = 48
Height = 13
Caption = #23457#26680#20154#65306
end
object Label11: TLabel
Left = 296
Top = 16
Width = 24
Height = 13
Caption = #20803#65292
end
object Edit6: TEdit
Left = 85
Top = 12
Width = 48
Height = 21
Color = clInfoBk
ReadOnly = True
TabOrder = 0
end
object Edit7: TEdit
Left = 214
Top = 12
Width = 73
Height = 21
Color = clInfoBk
ReadOnly = True
TabOrder = 1
end
object Edit8: TEdit
Left = 384
Top = 12
Width = 73
Height = 21
Color = clInfoBk
ReadOnly = True
TabOrder = 2
end
object Edit9: TEdit
Left = 528
Top = 12
Width = 65
Height = 21
Color = clInfoBk
ReadOnly = True
TabOrder = 3
end
end
object GroupBox3: TGroupBox
Left = 0
Top = 418
Width = 610
Height = 38
Align = alBottom
TabOrder = 2
object BitBtn2: TBitBtn
Left = 204
Top = 9
Width = 89
Height = 25
Caption = #20445#23384'(&S)'
TabOrder = 0
Glyph.Data = {
F6000000424DF600000000000000760000002800000010000000100000000100
0400000000008000000000000000000000001000000000000000000000000000
8000008000000080800080000000800080008080000080808000C0C0C0000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888
8888880000000000000880330000008803088033000000880308803300000088
0308803300000000030880333333333333088033000000003308803088888888
0308803088888888030880308888888803088030888888880308803088888888
0008803088888888080880000000000000088888888888888888}
end
object BitBtn6: TBitBtn
Left = 339
Top = 9
Width = 92
Height = 25
Caption = #20851#38381'(&C)'
TabOrder = 1
OnClick = BitBtn6Click
Glyph.Data = {
EE000000424DEE000000000000007600000028000000100000000F0000000100
0400000000007800000000000000000000001000000000000000000000000000
8000008000000080800080000000800080008080000080808000C0C0C0000000
FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00FFFFF0FFFFFF
FFFFFFFF00FFFFFFFFFFFFF030FFFFFFFFFFFF0330FFFFFFFFFF003330000000
0FFFF03330FF0FFFFFFFF03300FF0FFFF4FFF03330FF0FFF44FFF03330FF0FF4
4444F03330FF0F444444F03330FF0FF44444F0330FFF0FFF44FFF030FFFF0FFF
F4FFF00FFFFF0FFFFFFFF00000000FFFFFFF}
end
end
object DBGrid1: TDBGrid
Left = 0
Top = 94
Width = 610
Height = 283
Align = alClient
DataSource = DetailsDs
PopupMenu = PopupMenu1
ReadOnly = True
TabOrder = 3
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'goodsCode'
Title.Caption = #29289#21697#32534#30721
Width = 125
Visible = True
end
item
Expanded = False
FieldName = 'goodsName'
Title.Caption = #29289#21697#21517#31216
Width = 156
Visible = True
end
item
Expanded = False
FieldName = 'goodsType'
Title.Caption = #35268#26684'|'#31867#22411
Width = 95
Visible = True
end
item
Expanded = False
FieldName = 'goodsUnit'
Title.Caption = #21333#20301
Width = 35
Visible = True
end
item
Expanded = False
FieldName = 'Num'
Title.Caption = #25968#37327
Visible = True
end
item
Expanded = False
FieldName = 'Price'
Title.Caption = #21333#20215'(RMB'#20803')'
Width = 83
Visible = True
end
item
Expanded = False
FieldName = 'TMoney'
Title.Caption = #37329#39069'(RMB'#20803')'
Width = 87
Visible = True
end
item
Expanded = False
FieldName = #20179#24211
Title.Caption = #20837#20179#24211
Width = 81
Visible = True
end
item
Expanded = False
FieldName = #20179#20301
Width = 94
Visible = True
end
item
Expanded = False
FieldName = 'Others'
Title.Caption = #25688#35201#20449#24687
Width = 237
Visible = True
end>
end
object DetailsQuery: TADOQuery
Connection = MyDM.Conn
LockType = ltBatchOptimistic
Parameters = <
item
Name = 'a0'
Size = -1
Value = Null
end>
SQL.Strings = (
'select * from goodsDetails ')
Left = 168
Top = 176
object DetailsQueryBillCode: TWideStringField
FieldName = 'BillCode'
Size = 8
end
object DetailsQuerygoodsCode: TWideStringField
FieldName = 'goodsCode'
Size = 30
end
object DetailsQuerygoodsName: TWideStringField
FieldName = 'goodsName'
Size = 60
end
object DetailsQuerygoodsType: TWideStringField
FieldName = 'goodsType'
Size = 50
end
object DetailsQuerygoodsUnit: TWideStringField
FieldName = 'goodsUnit'
Size = 4
end
object DetailsQueryNum: TIntegerField
FieldName = 'Num'
end
object DetailsQueryPrice: TIntegerField
FieldName = 'Price'
end
object DetailsQueryTMoney: TBCDField
FieldName = 'TMoney'
currency = True
Precision = 19
end
object DetailsQueryDSDesigner2: TWideStringField
FieldName = #20179#24211
Size = 12
end
object DetailsQueryDSDesigner3: TWideStringField
FieldName = #20179#20301
Size = 12
end
object DetailsQueryOthers: TWideStringField
FieldName = 'Others'
Size = 60
end
end
object StockManDs: TDataSource
DataSet = StockManQuery
Left = 432
Top = 38
end
object StockManQuery: TADOQuery
Connection = MyDM.Conn
Parameters = <>
SQL.Strings = (
'select * from Stocker')
Left = 456
Top = 46
end
object MainQuery: TADOQuery
Connection = MyDM.Conn
Parameters = <>
Left = 136
Top = 32
end
object PopupMenu1: TPopupMenu
Left = 120
Top = 256
object E1: TMenuItem
Caption = #32534#36753#26412#34892'(&E)'
end
object N2: TMenuItem
Caption = '-'
end
object DelMenu: TMenuItem
Caption = #21024#38500#19968#34892'(&D)'
end
end
object DetailsDs: TDataSource
DataSet = DetailsQuery
Left = 192
Top = 176
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -