📄 frmfi_thpzwizard.frm
字号:
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form frmFI_ThpzWizard
Caption = "制作调汇凭证"
ClientHeight = 4500
ClientLeft = 60
ClientTop = 630
ClientWidth = 7740
Icon = "frmFI_ThpzWizard.frx":0000
LockControls = -1 'True
MDIChild = -1 'True
NegotiateMenus = 0 'False
ScaleHeight = 4500
ScaleWidth = 7740
Begin VB.Frame Frame1
Caption = "Frame1"
Height = 3795
Left = 30
TabIndex = 0
Top = 660
Width = 7665
Begin VB.TextBox txtEdit
Enabled = 0 'False
Height = 285
Left = 3000
TabIndex = 1
Top = 1410
Visible = 0 'False
Width = 1185
End
Begin MSFlexGridLib.MSFlexGrid mFg
Height = 1005
Left = 540
TabIndex = 2
Top = 2700
Visible = 0 'False
Width = 2775
_ExtentX = 4895
_ExtentY = 1773
_Version = 393216
FixedCols = 0
BackColorFixed = -2147483637
End
Begin MSFlexGridLib.MSFlexGrid mfgPz
Height = 3525
Left = 90
TabIndex = 3
Top = 180
Width = 7455
_ExtentX = 13150
_ExtentY = 6218
_Version = 393216
BackColorBkg = 16777215
AllowUserResizing= 1
End
Begin MSFlexGridLib.MSFlexGrid zdmFg
Height = 1185
Left = 630
TabIndex = 4
Top = 2160
Visible = 0 'False
Width = 6195
_ExtentX = 10927
_ExtentY = 2090
_Version = 393216
Cols = 6
FormatString = "转账序号|>摘 要|>科 目|>方 向|>金 额 |> 出 错 提 示"
End
Begin MSFlexGridLib.MSFlexGrid mfgRate
Height = 3525
Left = 90
TabIndex = 5
Top = 180
Visible = 0 'False
Width = 7455
_ExtentX = 13150
_ExtentY = 6218
_Version = 393216
BackColor = -2147483628
BackColorFixed = -2147483648
BackColorBkg = 16777215
AllowUserResizing= 1
End
End
Begin MSComctlLib.Toolbar tBr
Align = 1 'Align Top
Height = 555
Left = 0
TabIndex = 6
Top = 0
Width = 7740
_ExtentX = 13653
_ExtentY = 979
ButtonWidth = 1138
ButtonHeight = 926
Appearance = 1
Style = 1
ImageList = "ilst"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 12
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Object.Visible = 0 'False
Caption = "全选"
Key = "DoAll"
ImageIndex = 1
Style = 1
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "打印"
Key = "Print"
ImageIndex = 8
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "预览"
Key = "Preview"
ImageIndex = 9
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Object.Visible = 0 'False
Style = 3
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "制单"
Key = "Make"
ImageIndex = 2
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "上一步"
Key = "Pri"
ImageIndex = 3
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "下一步"
Key = "Next"
ImageIndex = 4
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "帮助"
Key = "Help"
ImageIndex = 6
EndProperty
BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "Exit"
ImageIndex = 5
EndProperty
EndProperty
BorderStyle = 1
End
Begin MSComctlLib.ImageList ilst
Left = 4770
Top = 150
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 9
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":1272
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":16D2
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":1836
Key = ""
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":1996
Key = ""
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":1AF6
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":1F5A
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":2076
Key = ""
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":25BE
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmFI_ThpzWizard.frx":2958
Key = ""
EndProperty
EndProperty
End
Begin VB.Menu mnuFile
Caption = "文件"
Begin VB.Menu mnuFilePrint
Caption = "打印"
End
Begin VB.Menu mnuFilePreview
Caption = "预览"
End
Begin VB.Menu mnuFileBar
Caption = "-"
End
Begin VB.Menu mnuFileExit
Caption = "退出"
End
End
Begin VB.Menu mnuEdit
Caption = "编辑"
Begin VB.Menu mnuEditDoall
Caption = "全选"
Visible = 0 'False
End
Begin VB.Menu mnuEditMake
Caption = "制单"
End
Begin VB.Menu mnuEditLine
Caption = "-"
Index = 2
End
Begin VB.Menu mnuControl
Caption = "控制"
Enabled = 0 'False
Visible = 0 'False
End
Begin VB.Menu mnuControlPri
Caption = "上一步"
End
Begin VB.Menu mnuControlNext
Caption = "下一步"
End
End
Begin VB.Menu mnuHelp
Caption = "帮助"
End
End
Attribute VB_Name = "frmFI_ThpzWizard"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
'----------------changjh add-----------
Private VoucherMuster As AccountExtend.clsVoucherCollentionZz '凭证外挂
'---------------add end-------------
Private iStep As Integer
Private b As Boolean
Private Sykmdm As String
Private Sskmdm As String
Private kjqj As Integer '当前
Private PzDate As String
'初始化mfgPz
'Private mFgs As MSFlexGrid '保存制单信息 '转账序号|>转账说明|>凭证类别|>是否制单
'Private zdmFgs As MSFlexGrid '保存具体数据 '转账序号|>摘 要|>科目》方 向|>金 额 |> 出 错 提 示
Private Sub InitmfgPz()
mfgPz.Cols = 10
mfgPz.Rows = 2
mfgPz.FormatString = " |编号|>凭证类别|<调汇周期|<汇兑收益科目代码|<汇兑收益科目名称|<汇兑损失科目代码|<汇兑损失科目名称|< 摘要|>上次调整日期"
mfgPz.RowHeight(0) = 300
SetAlign mfgPz
End Sub
'清除mfgRate 中的零
Private Sub ClearmfgRateZero()
Dim i As Long
Dim j As Long
For i = 1 To mfgRate.Rows - 1
For j = 1 To mfgRate.Cols - 1
If IsNumeric(mfgRate.TextMatrix(i, j)) Then
If CDbl(mfgRate.TextMatrix(i, j)) = 0 Then
mfgRate.TextMatrix(i, j) = ""
End If
End If
Next j
Next i
End Sub
'填充mfgPz
'|编号|>凭证类型|<调汇周期|<汇兑收益科目代码|<汇兑收益科目名称|<汇兑损失科目代码|<汇兑损失科目名称|< 摘要|>上次调整时间
Private Sub FillmfgPz()
Dim rSt As New Recordset
Dim s As String
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -