📄 frmstock.frm
字号:
VERSION 5.00
Object = "{BDC217C8-ED16-11CD-956C-0000C04E4C0A}#1.1#0"; "TABCTL32.OCX"
Begin VB.Form FrmMainStock
BackColor = &H8000000B&
Caption = "库存管理"
ClientHeight = 7035
ClientLeft = 165
ClientTop = 450
ClientWidth = 8790
Icon = "Frmstock.frx":0000
LinkTopic = "Form2"
ScaleHeight = 7035
ScaleWidth = 8790
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin VB.PictureBox Picture1
Height = 4815
Left = 240
Picture = "Frmstock.frx":0442
ScaleHeight = 4755
ScaleWidth = 6915
TabIndex = 0
Top = 240
Width = 6975
Begin VB.CommandButton comstuffexit
Caption = "退仓"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 1215
Left = 5520
MouseIcon = "Frmstock.frx":1013B
MousePointer = 99 'Custom
Picture = "Frmstock.frx":10445
Style = 1 'Graphical
TabIndex = 12
Top = 0
UseMaskColor = -1 'True
Width = 1335
End
Begin TabDlg.SSTab SSTab1
Height = 1935
Left = 2640
TabIndex = 8
Top = 2880
Width = 4335
_ExtentX = 7646
_ExtentY = 3413
_Version = 393216
Tabs = 1
TabsPerRow = 5
TabHeight = 520
OLEDropMode = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 11.25
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
TabCaption(0) = "报表"
TabPicture(0) = "Frmstock.frx":1974B
Tab(0).ControlEnabled= -1 'True
Tab(0).Control(0)= "Label1"
Tab(0).Control(0).Enabled= 0 'False
Tab(0).Control(1)= "Label2"
Tab(0).Control(1).Enabled= 0 'False
Tab(0).Control(2)= "Label3"
Tab(0).Control(2).Enabled= 0 'False
Tab(0).Control(3)= "Line1"
Tab(0).Control(3).Enabled= 0 'False
Tab(0).ControlCount= 4
Begin VB.Line Line1
BorderColor = &H000000FF&
BorderWidth = 2
X1 = 840
X2 = 840
Y1 = 480
Y2 = 1800
End
Begin VB.Label Label3
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = " 仓库流水帐"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Left = 840
MouseIcon = "Frmstock.frx":19767
MousePointer = 99 'Custom
TabIndex = 11
Top = 1440
Width = 3255
End
Begin VB.Label Label2
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = " 材料仓月报表"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Left = 840
MouseIcon = "Frmstock.frx":19A71
MousePointer = 99 'Custom
TabIndex = 10
Top = 960
Width = 3255
End
Begin VB.Label Label1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = " 材料仓日报表"
BeginProperty Font
Name = "宋体"
Size = 14.25
Charset = 134
Weight = 400
Underline = -1 'True
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 375
Left = 840
MouseIcon = "Frmstock.frx":19D7B
MousePointer = 99 'Custom
TabIndex = 9
Top = 480
Width = 3255
End
End
Begin VB.CommandButton Command7
Appearance = 0 'Flat
Height = 1215
Left = 2160
MouseIcon = "Frmstock.frx":1A085
MousePointer = 99 'Custom
Picture = "Frmstock.frx":1A38F
Style = 1 'Graphical
TabIndex = 7
Top = 0
Width = 1455
End
Begin VB.CommandButton Command4
Appearance = 0 'Flat
Height = 1335
Left = 1680
MouseIcon = "Frmstock.frx":1FA11
MousePointer = 99 'Custom
Picture = "Frmstock.frx":1FD1B
Style = 1 'Graphical
TabIndex = 6
Top = 1440
Width = 1335
End
Begin VB.CommandButton comstuffbackstock
Appearance = 0 'Flat
Height = 1215
Left = 3960
MouseIcon = "Frmstock.frx":2560D
MousePointer = 99 'Custom
Picture = "Frmstock.frx":25917
Style = 1 'Graphical
TabIndex = 5
Top = 0
Width = 1335
End
Begin VB.CommandButton comcheck
Appearance = 0 'Flat
Height = 1335
Left = 3240
MouseIcon = "Frmstock.frx":2A9C9
MousePointer = 99 'Custom
Picture = "Frmstock.frx":2ACD3
Style = 1 'Graphical
TabIndex = 4
Top = 1440
Width = 1095
End
Begin VB.CommandButton comstuffinstock
Appearance = 0 'Flat
Height = 1335
Left = 360
MouseIcon = "Frmstock.frx":2F521
MousePointer = 99 'Custom
Picture = "Frmstock.frx":2F82B
Style = 1 'Graphical
TabIndex = 3
Top = 0
Width = 1455
End
Begin VB.CommandButton comstuffoutstock
Appearance = 0 'Flat
Height = 1335
Left = 4560
MouseIcon = "Frmstock.frx":35411
MousePointer = 99 'Custom
Picture = "Frmstock.frx":3571B
Style = 1 'Graphical
TabIndex = 2
Top = 1440
Width = 1215
End
Begin VB.CommandButton Command6
Appearance = 0 'Flat
Height = 1335
Left = 360
MouseIcon = "Frmstock.frx":3A8ED
MousePointer = 99 'Custom
Picture = "Frmstock.frx":3ABF7
Style = 1 'Graphical
TabIndex = 1
Top = 1440
Width = 1095
End
End
Begin VB.Shape Shape1
BackColor = &H80000018&
BorderColor = &H00008000&
BorderWidth = 8
FillColor = &H00008000&
Height = 5055
Left = 120
Top = 120
Width = 7215
End
Begin VB.Menu mnufile
Caption = "文件(&F)"
Begin VB.Menu mnuexit
Caption = "关闭(&E)"
End
End
Begin VB.Menu ywj
Caption = ""
Begin VB.Menu mnustuffin
Caption = "产品进仓流水帐"
End
Begin VB.Menu mnumakeout
Caption = "生产领用流水帐"
End
Begin VB.Menu mnumakein
Caption = "生产退料流水帐"
End
Begin VB.Menu mnulost
Caption = "损耗流水帐"
End
Begin VB.Menu mnustocknum
Caption = "库存盘点流水帐"
End
Begin VB.Menu mnustockinout
Caption = "仓库调拨流水帐"
End
Begin VB.Menu mnucd
Caption = "借入/借出流水帐"
End
End
End
Attribute VB_Name = "FrmMainStock"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private Sub comcheck_Click()
Me.MousePointer = 11
frmcheckstuff.Show 1
Me.MousePointer = 0
End Sub
Private Sub comstuffbackstock_Click()
Me.MousePointer = 11
frmstuffbackstock.Show 1
Me.MousePointer = 0
End Sub
Private Sub comstuffexit_Click()
Me.MousePointer = 11
frmstuffexitstock.Show 1
Me.MousePointer = 0
End Sub
Private Sub comstuffinstock_Click()
Me.MousePointer = 11
frmstuffinstock.Show 1
Me.MousePointer = 0
End Sub
Private Sub comstuffoutstock_Click()
Me.MousePointer = 11
frmstuffoutstock.Show 1
Me.MousePointer = 0
End Sub
Private Sub Form_Unload(Cancel As Integer)
If MsgBox("退出库存作业管理?", vbOKCancel) = vbOK Then
Unload Me
Else
Cancel = True
End If
End Sub
Private Sub Label3_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
If Button = 1 Then
Me.PopupMenu FrmMainStock.ywj
End If
End Sub
Private Sub mnuexit_Click()
If MsgBox("退出库存作业管理?", vbOKCancel) = vbOK Then
Unload Me
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -