📄 frmchsale.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomct2.ocx"
Begin VB.Form frmCHSale
Caption = "销售信息修改"
ClientHeight = 6660
ClientLeft = 60
ClientTop = 345
ClientWidth = 9420
LinkTopic = "Form1"
ScaleHeight = 6660
ScaleWidth = 9420
StartUpPosition = 2 '屏幕中心
Begin VB.Frame Frame3
Caption = "销售编号"
Height = 1095
Left = 360
TabIndex = 24
Top = 5400
Width = 3375
Begin VB.ComboBox cmoxiaoshoubiaohao
Height = 300
Left = 240
TabIndex = 26
Top = 480
Width = 1455
End
Begin VB.CommandButton cmdInput
Caption = "信息定位"
Height = 495
Left = 2040
TabIndex = 25
Top = 360
Width = 1215
End
End
Begin VB.Frame Frame2
Caption = "销售登记"
Height = 4455
Left = 360
TabIndex = 3
Top = 720
Width = 8655
Begin VB.TextBox TextXS
Height = 270
Index = 0
Left = 1920
TabIndex = 12
Top = 360
Width = 1575
End
Begin VB.TextBox TextXS
Enabled = 0 'False
Height = 270
Index = 1
Left = 1920
TabIndex = 11
Top = 1440
Width = 1575
End
Begin VB.TextBox TextXS
Height = 270
Index = 2
Left = 1920
TabIndex = 10
Top = 1800
Width = 1575
End
Begin VB.ComboBox Combo3
Height = 300
ItemData = "frmCHSale.frx":0000
Left = 1920
List = "frmCHSale.frx":000A
TabIndex = 9
Text = "零售"
Top = 720
Width = 1575
End
Begin VB.ComboBox Combo4
Height = 300
Left = 1920
TabIndex = 8
Text = "Combo4"
Top = 1080
Width = 2775
End
Begin VB.TextBox TextXS
Enabled = 0 'False
Height = 270
Index = 3
Left = 1920
TabIndex = 7
Top = 2520
Width = 1575
End
Begin VB.ComboBox Combo5
Height = 300
ItemData = "frmCHSale.frx":001A
Left = 1920
List = "frmCHSale.frx":002A
TabIndex = 6
Text = "现金"
Top = 2160
Width = 1575
End
Begin VB.TextBox TextXS
Height = 975
Index = 4
Left = 1920
MultiLine = -1 'True
ScrollBars = 2 'Vertical
TabIndex = 4
Top = 3240
Width = 6375
End
Begin MSComCtl2.DTPicker DTPickersale
Height = 255
Left = 1920
TabIndex = 5
Top = 2880
Width = 2175
_ExtentX = 3836
_ExtentY = 450
_Version = 393216
Format = 25493505
CurrentDate = 38518
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "销售编号:"
Height = 180
Index = 0
Left = 720
TabIndex = 21
Top = 360
Width = 900
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "销售方式:"
Height = 180
Index = 1
Left = 720
TabIndex = 20
Top = 720
Width = 900
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "商品名称:"
Height = 180
Index = 3
Left = 720
TabIndex = 19
Top = 1080
Width = 900
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "售价:"
Height = 180
Index = 4
Left = 720
TabIndex = 18
Top = 1440
Width = 540
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "数量:"
Height = 180
Index = 5
Left = 720
TabIndex = 17
Top = 1800
Width = 540
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "结账方式:"
Height = 180
Index = 6
Left = 720
TabIndex = 16
Top = 2160
Width = 900
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "数额:"
Height = 180
Index = 7
Left = 720
TabIndex = 15
Top = 2520
Width = 540
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "日期:"
Height = 180
Index = 10
Left = 720
TabIndex = 14
Top = 2880
Width = 540
End
Begin VB.Label Label
AutoSize = -1 'True
Caption = "备注:"
Height = 180
Index = 11
Left = 720
TabIndex = 13
Top = 3240
Width = 540
End
End
Begin VB.Frame Frame1
Caption = "操作选项"
Height = 1095
Left = 3960
TabIndex = 0
Top = 5400
Width = 5055
Begin VB.CommandButton cmdBack
Caption = "返回"
Height = 495
Left = 3480
TabIndex = 23
Top = 360
Width = 1215
End
Begin VB.CommandButton cmddel
Caption = "删除"
Height = 495
Left = 1920
TabIndex = 2
Top = 360
Width = 1335
End
Begin VB.CommandButton cmdChange
Caption = "保存修改"
Height = 495
Left = 360
TabIndex = 1
Top = 360
Width = 1335
End
End
Begin VB.Label Label1
Alignment = 2 'Center
Caption = "销售信息修改"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00800000&
Height = 255
Left = 3480
TabIndex = 22
Top = 240
Width = 2295
End
End
Attribute VB_Name = "frmCHSale"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim intSpOldCount As Integer
Dim intSaleId As Integer
Dim strSaleName As String
Dim rsSale As ADODB.Recordset
Private Sub CmdBack_Click()
Unload Me
End Sub
Private Sub cmdChange_Click()
'销售记录
Dim i As Integer
'On Error GoTo errhander
For i = 0 To 3
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -