📄 gpindnfind.frm
字号:
VERSION 5.00
Object = "{86CF1D34-0C5F-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCT2.OCX"
Object = "{C932BA88-4374-101B-A56C-00AA003668DC}#1.1#0"; "MSMASK32.OCX"
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form gpindnfind
Caption = "工票检索"
ClientHeight = 7995
ClientLeft = 60
ClientTop = 450
ClientWidth = 11880
LinkTopic = "Form1"
MDIChild = -1 'True
ScaleHeight = 7995
ScaleWidth = 11880
Begin MSComCtl2.MonthView MonthView2
Height = 2370
Left = 3660
TabIndex = 24
Top = 1680
Width = 4065
_ExtentX = 7170
_ExtentY = 4180
_Version = 393216
ForeColor = -2147483630
BackColor = -2147483633
Appearance = 1
StartOfWeek = 65077249
CurrentDate = 38926
End
Begin MSComCtl2.MonthView MonthView1
Height = 2370
Left = 2160
TabIndex = 23
Top = 1680
Width = 4065
_ExtentX = 7170
_ExtentY = 4180
_Version = 393216
ForeColor = -2147483630
BackColor = -2147483633
Appearance = 1
StartOfWeek = 65077249
CurrentDate = 38926
End
Begin MSFlexGridLib.MSFlexGrid MSGrid1
Height = 5295
Left = 120
TabIndex = 22
Top = 2520
Width = 11595
_ExtentX = 20452
_ExtentY = 9340
_Version = 393216
End
Begin VB.Frame Frame1
Caption = "自选条件查询:"
Height = 1575
Left = 180
TabIndex = 1
Top = 840
Width = 11595
Begin VB.CommandButton cmdexcel
Caption = "Excel导出"
Height = 315
Left = 9120
TabIndex = 25
Top = 480
Width = 1215
End
Begin VB.Frame Frame2
Caption = "工票类别:"
Height = 615
Left = 5580
TabIndex = 18
Top = 840
Width = 4335
Begin VB.OptionButton optwx
Caption = "外协工票"
Height = 255
Left = 3060
TabIndex = 21
Top = 240
Width = 1035
End
Begin VB.OptionButton optzp
Caption = "增拨工票"
Height = 315
Left = 1680
TabIndex = 20
Top = 240
Width = 1335
End
Begin VB.OptionButton optdn
Caption = "定额工票"
Height = 195
Left = 360
TabIndex = 19
Top = 300
Width = 1155
End
End
Begin VB.CommandButton cmdfind
Caption = "检索"
Height = 315
Left = 10560
TabIndex = 17
Top = 1080
Width = 915
End
Begin VB.ComboBox cmbbz
Height = 315
Left = 3360
TabIndex = 14
Top = 960
Width = 1455
End
Begin VB.ComboBox cmbcj
Height = 315
Left = 1140
Style = 2 'Dropdown List
TabIndex = 13
Top = 1020
Width = 1275
End
Begin VB.TextBox txtgpbh2
Height = 315
Left = 7320
TabIndex = 12
Top = 480
Width = 1515
End
Begin VB.TextBox txtgpbh1
Height = 315
Left = 5640
TabIndex = 11
Top = 495
Width = 1335
End
Begin VB.CommandButton cmddate2
Caption = "Command1"
Height = 195
Left = 3960
TabIndex = 8
Top = 540
Width = 195
End
Begin VB.CommandButton cmddate1
Caption = "Command2"
Height = 195
Left = 2340
TabIndex = 5
Top = 540
Width = 195
End
Begin VB.CommandButton cmdexit
Caption = "退出"
Height = 315
Left = 10560
TabIndex = 4
Top = 480
Width = 855
End
Begin MSMask.MaskEdBox Mskdate1
BeginProperty DataFormat
Type = 1
Format = "yyyy-MM-dd"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 3
EndProperty
Height = 315
Left = 1140
TabIndex = 6
Top = 510
Width = 1155
_ExtentX = 2037
_ExtentY = 556
_Version = 393216
PromptChar = "_"
End
Begin MSMask.MaskEdBox mskdate2
Height = 315
Left = 2820
TabIndex = 7
Top = 510
Width = 1095
_ExtentX = 1931
_ExtentY = 556
_Version = 393216
PromptChar = "_"
End
Begin VB.Label Label1
Caption = "----"
Height = 195
Index = 6
Left = 7020
TabIndex = 16
Top = 540
Width = 255
End
Begin VB.Label Label1
Caption = "----"
Height = 195
Index = 5
Left = 2580
TabIndex = 15
Top = 540
Width = 255
End
Begin VB.Label Label1
Caption = "车间名称"
Height = 195
Index = 4
Left = 240
TabIndex = 10
Top = 1020
Width = 795
End
Begin VB.Label Label1
Caption = "班组/个人"
Height = 195
Index = 3
Left = 2580
TabIndex = 9
Top = 1020
Width = 795
End
Begin VB.Label Label1
Caption = "工票号码"
Height = 195
Index = 2
Left = 4800
TabIndex = 3
Top = 540
Width = 795
End
Begin VB.Label Label1
Caption = "工票日期"
Height = 195
Index = 8
Left = 240
TabIndex = 2
Top = 540
Width = 795
End
End
Begin VB.Label Label1
Caption = "绍兴金氏机械设备有限公司 工票检索"
BeginProperty Font
Name = "MS Sans Serif"
Size = 13.5
Charset = 0
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00FF0000&
Height = 315
Index = 0
Left = 2520
TabIndex = 0
Top = 180
Width = 5235
End
End
Attribute VB_Name = "gpindnfind"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim griditem1 As String
Dim Totgs As Currency
Private Sub Form_Load()
Me.Width = 12000
Me.Height = 8500
MSGrid1.Cols = 18
MSGrid1.FixedCols = 4
dofillgrid
MSGrid1.Width = gpindnfind.Width * 0.95
MSGrid1.ColWidth(0) = MSGrid1.Width * 0.04: MSGrid1.ColWidth(1) = MSGrid1.Width * 0.12
MSGrid1.ColWidth(2) = MSGrid1.Width * 0.08: MSGrid1.ColWidth(3) = MSGrid1.Width * 0.08
MSGrid1.ColWidth(4) = MSGrid1.Width * 0.08: MSGrid1.ColWidth(5) = MSGrid1.Width * 0.1
MSGrid1.ColWidth(6) = MSGrid1.Width * 0.12
MSGrid1.ColWidth(7) = MSGrid1.Width * 0.12: MSGrid1.ColWidth(8) = MSGrid1.Width * 0.12
MSGrid1.ColWidth(9) = MSGrid1.Width * 0.12
MSGrid1.ColWidth(10) = MSGrid1.Width * 0.15: MSGrid1.ColWidth(11) = MSGrid1.Width * 0.1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -