📄 rkdj.frm
字号:
Caption = "保 管 人:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 22
Top = 2985
Width = 1095
End
Begin VB.Label Label10
Caption = "经 办 人:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 21
Top = 2475
Width = 1095
End
Begin VB.Label Label9
Caption = "入库时间:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 20
Top = 1980
Width = 1095
End
Begin VB.Label Label8
Caption = "金 额:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 19
Top = 1485
Width = 1095
End
Begin VB.Label Label7
Caption = "单 价:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 18
Top = 975
Width = 1095
End
Begin VB.Label Label6
Caption = "数 量:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 240
TabIndex = 17
Top = 480
Width = 1095
End
End
Begin VB.Frame Frame1
Caption = "物资信息"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 3975
Left = 360
TabIndex = 10
Top = 480
Width = 4215
Begin VB.TextBox Text14
DataField = "wzunit"
DataSource = "Adodc2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 1800
Locked = -1 'True
TabIndex = 32
Top = 3202
Width = 1695
End
Begin VB.TextBox Text13
DataField = "wzkind"
DataSource = "Adodc2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 1800
Locked = -1 'True
TabIndex = 31
Top = 2662
Width = 1695
End
Begin VB.TextBox Text12
DataField = "wzspec"
DataSource = "Adodc2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 1800
Locked = -1 'True
TabIndex = 30
Top = 2122
Width = 1695
End
Begin VB.TextBox Text11
DataField = "waname"
DataSource = "Adodc2"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 1800
Locked = -1 'True
TabIndex = 29
Top = 1582
Width = 1695
End
Begin VB.ComboBox Combo1
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
ItemData = "rkdj.frx":0000
Left = 1800
List = "rkdj.frx":005E
TabIndex = 28
Text = " 1"
Top = 1080
Width = 1695
End
Begin VB.TextBox Text9
DataField = "rkno"
DataSource = "Adodc1"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 330
Left = 1800
Locked = -1 'True
TabIndex = 26
Text = " 0"
Top = 480
Width = 1695
End
Begin VB.Label Label13
Caption = "入库编号:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 25
Top = 480
Width = 1095
End
Begin VB.Label Label5
Caption = "计量单位:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 16
Top = 3240
Width = 1095
End
Begin VB.Label Label4
Caption = "类 别:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 15
Top = 2700
Width = 1095
End
Begin VB.Label Label3
Caption = "规格型号:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 14
Top = 2160
Width = 1095
End
Begin VB.Label Label2
Caption = "物资名称:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 13
Top = 1620
Width = 1095
End
Begin VB.Label Label1
Caption = "物资编号:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Left = 480
TabIndex = 12
Top = 1080
Width = 1095
End
End
End
Attribute VB_Name = "rkdj"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Combo1_Click()
Adodc2.Recordset.MoveFirst
With Adodc2.Recordset
.Find "wzid LIKE '*" & Combo1.Text & "*'", 1, adSearchForward, .Bookmark
If .EOF Then .MoveFirst
End With
yexi.Adodc1.Recordset.MoveFirst
With yexi.Adodc1.Recordset
.Find "物资编号 LIKE '*" & Combo1.Text & "*'", 1, adSearchForward, .Bookmark
If .EOF Then .MoveFirst
End With
End Sub
Private Sub Command1_Click()
Text15.Text = Combo1.Text
Text16.Text = Text11.Text
Text17.Text = Text12.Text
Text18.Text = Text13.Text
Text19.Text = Text14.Text
yexi.Text10.Text = Text1.Text
yexi.Text11.Text = Text3.Text
yexi.Text8.Text = Text7.Text
yexi.Text9.Text = Text8.Text
Command4 = True
yexi.Text6.Text = Val(Val(yexi.Text10.Text) + Val(yexi.Text6.Text))
yexi.Text7.Text = Val(Val(yexi.Text11.Text) + Val(yexi.Text7.Text))
yexi.Command2 = True
yexi.Command4 = True
End Sub
Private Sub Command2_Click()
Unload Me
system.Show
End Sub
Private Sub Command4_Click()
Adodc1.Recordset.AddNew
Text9.Text = Str$(Val(Text10.Text) + 1)
Text10.Text = Text9.Text
Text4.Text = Date$
End Sub
Private Sub Form_Load()
Adodc1.Recordset.MoveLast
Text10.Text = Text9.Text
End Sub
Private Sub Text3_Click()
Text3.Text = Val(Val(Text1.Text) * Val(Text2.Text))
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -