📄 cooperatelossprint.dsr
字号:
_Version = 393216
Name = "Label12"
Object.Left = 1701
Object.Top = 480
Object.Width = 1710
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label12"
EndProperty
ItemType13 = 3
BeginProperty Item13 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label13"
Object.Left = 4767
Object.Top = 480
Object.Width = 1695
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label13"
EndProperty
ItemType14 = 3
BeginProperty Item14 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label14"
Object.Left = 4536
Object.Top = 880
Object.Width = 4545
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label14"
EndProperty
ItemType15 = 3
BeginProperty Item15 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label15"
Object.Left = 6667
Object.Top = 500
Object.Width = 1005
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "报损费用:"
EndProperty
ItemType16 = 3
BeginProperty Item16 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label16"
Object.Left = 7767
Object.Top = 500
Object.Width = 1770
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label2"
EndProperty
ItemType17 = 3
BeginProperty Item17 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label17"
Object.Left = 667
Object.Top = 900
Object.Width = 1005
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "报损单价:"
EndProperty
ItemType18 = 3
BeginProperty Item18 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label18"
Object.Left = 1701
Object.Top = 900
Object.Width = 1710
Object.Height = 240
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label12"
EndProperty
EndProperty
SectionCode2 = 4
BeginProperty Section2 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section1"
NumControls = 0
EndProperty
SectionCode3 = 7
BeginProperty Section3 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section3"
Object.Height = 3
NumControls = 0
EndProperty
SectionCode4 = 8
BeginProperty Section4 {1C13A8E0-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Section5"
Object.Height = 300
NumControls = 4
ItemType0 = 3
BeginProperty Item0 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label19"
Object.Left = 2835
Object.Width = 1140
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "检验员"
EndProperty
ItemType1 = 3
BeginProperty Item1 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label20"
Object.Left = 3969
Object.Width = 1125
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label20"
EndProperty
ItemType2 = 3
BeginProperty Item2 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label21"
Object.Left = 5102
Object.Width = 1140
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "核检员"
EndProperty
ItemType3 = 3
BeginProperty Item3 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label22"
Object.Left = 6236
Object.Width = 1125
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "Label22"
EndProperty
EndProperty
End
Attribute VB_Name = "cooperatelossprint"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_Ext_KEY = "RVB_ModelStereotype" ,"DataReport"
'**************************************
'* 模 块 名 称 :应用程序启动窗体
'* 功 能 描 述 :应用程序启动窗体
'* 程序员姓名 :
'* 最后修改人 :
'* 最后修改时间:
'**************************************
Option Explicit
Private m_print As CooperateLossDAO ' 库位数据库操作类
Private m_recordset As ADODB.Recordset ' 数据操作数据集对象
'**************************************
'* 功 能 描 述 :查找打印数据并与打印控件帮定
'* 输 入 参 数 :operaterType - 1 打印所有
'* 输 出 能 数 :无
'**************************************
Public Function PrintData(cdmid As String)
Dim ret As Boolean
Dim txt As New Collection
Dim ctl As Object
ret = m_print.cooperateloss_showid(m_recordset, cdmid)
Set Me.DataSource = m_recordset
Me.Sections("section4").Controls("Label2").caption = m_recordset.Fields(5)
Me.Sections("section2").Controls("Label9").caption = m_recordset.Fields(1)
Me.Sections("section2").Controls("Label10").caption = m_recordset.Fields(2)
Me.Sections("section2").Controls("Label11").caption = m_recordset.Fields(3)
Me.Sections("section2").Controls("Label12").caption = m_recordset.Fields(4)
Me.Sections("section2").Controls("Label13").caption = m_recordset.Fields(5)
Me.Sections("section2").Controls("Label14").caption = m_recordset.Fields(6)
Me.Sections("section2").Controls("Label18").caption = "¥" & m_recordset.Fields("价格")
Me.Sections("section2").Controls("Label16").caption = "¥" & CDbl(Trim(m_recordset.Fields("价格"))) * CDbl(Trim(m_recordset.Fields(4)))
Me.Sections(5).Controls("Label22").caption = m_recordset.Fields("核检")
Me.Sections(5).Controls("Label20").caption = m_recordset.Fields("检验")
End Function
Private Sub DataReport_Initialize()
Set m_print = New CooperateLossDAO
Set m_recordset = New ADODB.Recordset
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -