📄 ˪-i㦥
字号:
VERSION 5.00
Begin VB.Form Note_FrmNoteDiscount
BorderStyle = 3 'Fixed Dialog
Caption = "应收票据贴现"
ClientHeight = 3555
ClientLeft = 45
ClientTop = 330
ClientWidth = 6120
HelpContextID = 20403
Icon = "应收票据_贴现.frx":0000
KeyPreview = -1 'True
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3555
ScaleWidth = 6120
ShowInTaskbar = 0 'False
StartUpPosition = 1 'CenterOwner
Begin VB.Frame Frame1
Height = 3075
Left = 60
TabIndex = 15
Top = 30
Width = 6015
Begin VB.TextBox LrText
Height = 300
Index = 11
Left = 4140
TabIndex = 11
Text = "11"
Top = 2220
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 10
Left = 960
TabIndex = 10
Text = "10"
Top = 2220
Width = 1725
End
Begin VB.CommandButton Ydcommand1
Height = 300
Index = 3
Left = 2670
Picture = "应收票据_贴现.frx":1042
Style = 1 'Graphical
TabIndex = 28
Top = 600
Visible = 0 'False
Width = 300
End
Begin VB.TextBox LrText
Height = 300
Index = 1
Left = 4140
TabIndex = 1
Text = "1"
Top = 210
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 5
Left = 4140
TabIndex = 5
Text = "5"
Top = 1020
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 9
Left = 4140
TabIndex = 9
Text = "9"
Top = 1830
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 8
Left = 960
TabIndex = 8
Text = "8"
Top = 1830
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 6
Left = 960
TabIndex = 6
Text = "6"
Top = 1410
Width = 1725
End
Begin VB.CommandButton Ydcommand1
Height = 300
Index = 4
Left = 2670
Picture = "应收票据_贴现.frx":13CC
Style = 1 'Graphical
TabIndex = 16
Top = 1020
Visible = 0 'False
Width = 300
End
Begin VB.TextBox LrText
Height = 300
Index = 12
Left = 960
TabIndex = 12
Text = "12"
Top = 2640
Width = 4905
End
Begin VB.TextBox LrText
Height = 300
Index = 4
Left = 960
TabIndex = 4
Text = "4"
Top = 1020
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 3
Left = 960
TabIndex = 2
Text = "3"
Top = 600
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 0
Left = 960
TabIndex = 0
Text = "0"
Top = 210
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 2
Left = 4140
TabIndex = 3
Text = "2"
Top = 600
Width = 1725
End
Begin VB.TextBox LrText
Height = 300
Index = 7
Left = 4140
TabIndex = 7
Text = "7"
Top = 1410
Width = 1725
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "本币费用:"
Height = 195
Index = 1
Left = 3330
TabIndex = 30
Top = 2280
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现费用:"
Height = 195
Index = 5
Left = 150
TabIndex = 29
Top = 2280
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "票面金额:"
Height = 195
Index = 11
Left = 3330
TabIndex = 27
Top = 270
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现率:"
Height = 195
Index = 9
Left = 3330
TabIndex = 26
Top = 1050
Width = 585
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现本币:"
Height = 195
Index = 8
Left = 3330
TabIndex = 25
Top = 1890
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现金额:"
Height = 195
Index = 7
Left = 150
TabIndex = 24
Top = 1890
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现天数:"
Height = 195
Index = 6
Left = 150
TabIndex = 23
Top = 1470
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "摘要:"
Height = 195
Index = 4
Left = 120
TabIndex = 22
Top = 2670
Width = 405
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现帐户:"
Height = 195
Index = 3
Left = 150
TabIndex = 21
Top = 1050
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "票据编号:"
Height = 195
Index = 2
Left = 150
TabIndex = 20
Top = 270
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "贴现日期:"
Height = 195
Index = 0
Left = 150
TabIndex = 19
Top = 660
Width = 765
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "币别:"
Height = 195
Index = 10
Left = 3330
TabIndex = 18
Top = 660
Width = 405
End
Begin VB.Label Label1
AutoSize = -1 'True
Caption = "记帐汇率:"
Height = 195
Index = 12
Left = 3330
TabIndex = 17
Top = 1470
Width = 765
End
End
Begin VB.CommandButton QxCommand
Caption = "取消(&C)"
Height = 300
Left = 4920
TabIndex = 14
Top = 3180
Width = 1120
End
Begin VB.CommandButton QdCommand
Caption = "确定(&O)"
Height = 300
Left = 3720
TabIndex = 13
Top = 3180
Width = 1120
End
End
Attribute VB_Name = "Note_FrmNoteDiscount"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'******************************************************************
'* 模 块 名 称 :应收票据贴现
'* 功 能 描 述 :
'* 程序员姓名 :姜冬梅
'* 最后修改人 :姜冬梅
'* 最后修改时间:2001/12/06
'* 备 注:程序中所有依实际情况自定义部分均用[>> <<]括起
'******************************************************************
Dim Tsxx As String '系统信息提示
Dim Bln_ConVertFlag As Boolean '币种折算方式
Dim Dbl_AccRate As Double '币种记帐汇率
Dim Dbl_Bbje As Double '本币金额
'以下为固定使用变量(文本框)
Dim Textvar() As Variant '存储变体型文本框信息
Dim Textboolean() As Boolean '存储布尔型文本框信息
Dim Textint() As Integer '存储整型文本框信息
Dim Textstr() As String '存储字符型文本框信息
Dim Max_Text_Index As Integer '最大录入文本框索引值
Dim TextGroupCode As String '文本框录入分组编码
Dim TextValiLock As Boolean '文本框失去焦点是否进行有效性控制判断
Dim TextValiJudgeLock() As Boolean '文本框录入有效性判断控制锁
Dim CurTextIndex As Integer '当前文本框索引值
Dim TextChangeLock As Boolean '文本框内容变换控制锁
Dim Bln_Cancel As Boolean '取消按钮信息传递
Private Sub Form_KeyPress(KeyAscii As Integer) '控 制 焦 点 转 移(Fixed)
Dim jdzygs As Integer '控件焦点转移个数
jdzygs = 20
Select Case KeyAscii
Case vbKeyReturn
If Kjjdzy(jdzygs) Then
KeyAscii = 0
End If
Case 39 '屏蔽"'"
KeyAscii = 0
End Select
End Sub
Private Sub Form_Load()
'以下为文本框处理程序(Fixed)
TextGroupCode = "Ar_NoteDiscount"
Call Drwbkxx(TextGroupCode, Textvar(), Textboolean(), Textint(), Textstr()) '读入文本框录入信息
Call Wbkcsh
'[>>初始化查询条件默认值
Call ShowBill
'<<]
End Sub
Private Sub Form_QueryUnload(Cancel As Integer, UnloadMode As Integer) '查询条件窗体卸载
'查询条件窗体卸载时判断是否因为结果窗体卸载,如是则卸载,否则隐藏
Unload Me
End Sub
Private Sub QdCommand_Click() '确 定
'录入条件有效性判断(Fixed)
If Not Lrtjyxxpd Then
Exit Sub
End If
If SaveBill = True Then
'<<]
Xtfhcs = "1"
Unload Me
End If
End Sub
Private Sub QxCommand_Click() '取消(Fixed)
Xtfhcs = "0"
Unload Me
End Sub
Private Function Lrtjyxxpd() As Boolean '用户录入条件有效性判断
Dim jsqte As Integer
Lrtjyxxpd = False
'对需要进行事后判断的文本框录入内容进行有效性判断 (Fixed)
For jsqte = 0 To Max_Text_Index
If Textint(jsqte, 9) = 0 Or Textint(jsqte, 9) = 2 Then
If Not TextYxxpd(jsqte) Then
Exit Function
End If
End If
Next jsqte
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -