📄 单据类型定义.frm
字号:
VERSION 5.00
Object = "{A0C292A3-118E-11D2-AFDF-000021730160}#1.0#0"; "UFEDIT.OCX"
Object = "{18F95930-A715-11D1-92AC-A8AE05C10000}#7.0#0"; "UFSize.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Object = "{5AD81966-3173-4597-A32E-4F4620DA3B57}#3.4#0"; "U8TBCtl.ocx"
Begin VB.Form frmVchStyle
Caption = "单据类型定义"
ClientHeight = 4050
ClientLeft = 3360
ClientTop = 3000
ClientWidth = 7365
KeyPreview = -1 'True
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 4050
ScaleWidth = 7365
WindowState = 2 'Maximized
Begin VB.PictureBox picView
BackColor = &H80000013&
Enabled = 0 'False
Height = 2850
Left = 2400
ScaleHeight = 2790
ScaleWidth = 4815
TabIndex = 0
Top = 720
Width = 4875
Begin VB.ComboBox cboBIType
Height = 315
ItemData = "单据类型定义.frx":0000
Left = 1395
List = "单据类型定义.frx":000A
Style = 2 'Dropdown List
TabIndex = 14
Top = 1920
Width = 2625
End
Begin VB.CommandButton cmdVch
Caption = "…"
Height = 285
Left = 3195
TabIndex = 12
Top = 653
Width = 285
End
Begin VB.CheckBox chkUse
Caption = "启用"
Height = 240
Left = 1395
TabIndex = 9
Top = 1545
Width = 735
End
Begin EDITLib.Edit txtVchStyle
Height = 300
Index = 0
Left = 4080
TabIndex = 1
Top = 210
Visible = 0 'False
Width = 645
_Version = 65536
_ExtentX = 1138
_ExtentY = 529
_StockProps = 253
ForeColor = 0
BackColor = 16777215
Appearance = 1
Locked = -1
End
Begin EDITLib.Edit txtVchStyle
Height = 300
Index = 1
Left = 1395
TabIndex = 2
Top = 210
Width = 1800
_Version = 65536
_ExtentX = 3175
_ExtentY = 529
_StockProps = 253
ForeColor = 0
BackColor = 16777215
Appearance = 1
End
Begin EDITLib.Edit txtVchStyle
Height = 300
Index = 3
Left = 1395
TabIndex = 3
Top = 1080
Width = 2625
_Version = 65536
_ExtentX = 4630
_ExtentY = 529
_StockProps = 253
ForeColor = 0
BackColor = 16777215
Appearance = 1
End
Begin EDITLib.Edit txtVchStyle
Height = 300
Index = 2
Left = 1395
TabIndex = 10
Top = 645
Width = 1800
_Version = 65536
_ExtentX = 3175
_ExtentY = 529
_StockProps = 253
ForeColor = 0
BackColor = 16777215
Appearance = 1
End
Begin VB.Label lblBIType
Caption = "类别"
Height = 180
Left = 585
TabIndex = 15
Top = 1980
Width = 720
End
Begin VB.Label lblVchStyle
AutoSize = -1 'True
Caption = "凭证类别"
Height = 180
Index = 2
Left = 585
TabIndex = 11
Top = 705
Width = 720
End
Begin VB.Label lblVchStyle
AutoSize = -1 'True
Caption = "类型编号"
Height = 180
Index = 0
Left = 3240
TabIndex = 6
Top = 270
Visible = 0 'False
Width = 720
End
Begin VB.Label lblVchStyle
AutoSize = -1 'True
Caption = "类型名称"
Height = 180
Index = 1
Left = 585
TabIndex = 5
Top = 270
Width = 720
End
Begin VB.Label lblVchStyle
AutoSize = -1 'True
Caption = "备注"
Height = 180
Index = 3
Left = 585
TabIndex = 4
Top = 1140
Width = 360
End
End
Begin MSComctlLib.Toolbar tlbAction
Align = 1 'Align Top
Height = 540
Left = 0
TabIndex = 7
Top = 0
Width = 7365
_ExtentX = 12991
_ExtentY = 953
ButtonWidth = 820
ButtonHeight = 953
AllowCustomize = 0 'False
Wrappable = 0 'False
Style = 1
ImageList = "ilsTlb"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 14
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "打印"
Key = "Print"
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "预览"
Key = "Preview"
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "输出"
Key = "Export"
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "增加"
Key = "AddNew"
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "修改"
Key = "Edit"
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "删除"
Key = "Delete"
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Enabled = 0 'False
Caption = "保存"
Key = "Save"
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "放弃"
Key = "Cancel"
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "刷新"
Key = "Refresh"
EndProperty
BeginProperty Button12 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button13 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "帮助"
Key = "Help"
EndProperty
BeginProperty Button14 {66833FEA-8583-11D1-B16A-00C0F0283628}
Caption = "退出"
Key = "Exit"
EndProperty
EndProperty
End
Begin JackSize.JackResize jkrTree
Height = 3315
Left = 2280
TabIndex = 8
Top = 600
Width = 105
_ExtentX = 185
_ExtentY = 5847
MinLeft = 1000
End
Begin MSComctlLib.TreeView treStyle
Height = 2850
Left = 0
TabIndex = 13
Top = 600
Width = 1845
_ExtentX = 3254
_ExtentY = 5027
_Version = 393217
HideSelection = 0 'False
Indentation = 529
Style = 5
HotTracking = -1 'True
ImageList = "ilsTlbTre"
Appearance = 1
End
Begin MSComctlLib.ImageList ilsTlbTre
Left = 840
Top = 2760
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 3
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "单据类型定义.frx":0022
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "单据类型定义.frx":0474
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "单据类型定义.frx":08C6
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList ilsTlb
Left = 200
Top = 2000
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 3
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "单据类型定义.frx":0D18
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "单据类型定义.frx":116A
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "单据类型定义.frx":15BC
Key = ""
EndProperty
EndProperty
End
Begin prjTBCtrl.CTBCtrl ocxCtbTool
Height = 660
Left = 0
Top = 0
Width = 3975
_ExtentX = 7011
_ExtentY = 1164
End
End
Attribute VB_Name = "frmVchStyle"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'--------------------------------
'时间:2001.11.12
'版权:北京用友软件股份有限公司
'设计:章景峰
'编码:章景峰
'说明:U8资金管理---单据类型定义
'--------------------------------
Option Explicit
Private Const conMoveLimit = 1000
Private m_OldEO As U8FDEso.EntityObject
Private m_EO As U8FDEso.EntityObject
Private objEOS As U8FDEso.entities
Private key(43) As Byte '43为固定的单据子节点总数
Private KeyIndex As Byte
Private m_EditStatus As Boolean
Private PrintTypeList As String
Private PrintSizeList As String
Private SetPrintDataStyleXML_flag As Boolean
Public NodeKey As String
Public PzCode As String
Public Property Get EO() As U8FDEso.EntityObject
Set EO = m_EO
End Property
Public Property Set EO(NewEO As U8FDEso.EntityObject)
Set m_EO = NewEO
End Property
Private Sub chkUse_Click()
Dim objVchDefBI As New U8FDBso.clsVchDefBI
If chkUse.Value = 0 Then
If objVchDefBI.BITypeIsUsed(g_sDataSourceName, m_EO.BIType) Then
MsgBox "本单据类型已经使用,不能停用!", vbInformation
chkUse.Value = 1
Exit Sub
End If
End If
Set objVchDefBI = Nothing
End Sub
Private Sub cmdVch_Click()
frmSettleRef.SelectName = Me.txtVchStyle(2).Text
frmSettleRef.RefType = 0
frmSettleRef.Show vbModal
If PzCode <> "" Then Me.txtVchStyle(2).Text = PzCode
End Sub
Private Sub Form_KeyUp(KeyCode As Integer, Shift As Integer)
On Error GoTo ErrHandler
Dim ShiftDown, AltDown, CtrlDown
ShiftDown = (Shift And vbShiftMask) > 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -