⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 fyjgl_group.frm

📁 为个人用户开发的车险秘书系统
💻 FRM
字号:
VERSION 5.00
Object = "{AAFC76DD-CA60-4286-B6D9-3F60CB53A409}#1.0#0"; "data.ocx"
Begin VB.Form Fyjgl_group 
   Caption         =   "业绩管理-团队业绩"
   ClientHeight    =   2655
   ClientLeft      =   60
   ClientTop       =   345
   ClientWidth     =   11400
   LinkTopic       =   "Form1"
   MDIChild        =   -1  'True
   ScaleHeight     =   2655
   ScaleWidth      =   11400
   Begin VB.Frame Frame2 
      BackColor       =   &H00FFC0C0&
      Caption         =   "团队业绩"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   2655
      Left            =   0
      TabIndex        =   0
      Top             =   0
      Width           =   11415
      Begin VB.Frame Frame5 
         BackColor       =   &H00FFC0C0&
         BorderStyle     =   0  'None
         Caption         =   "理赔信息"
         Height          =   1695
         Left            =   120
         TabIndex        =   1
         Top             =   360
         Width           =   11175
         Begin OsenXPControls2.OsenXPDTPicker Odj 
            Height          =   315
            Left            =   3720
            TabIndex        =   21
            Top             =   1200
            Width           =   1575
            _ExtentX        =   2778
            _ExtentY        =   556
            Text            =   "2006-04-27"
            BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
               Name            =   "Tahoma"
               Size            =   8.25
               Charset         =   0
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
            Value           =   38834
         End
         Begin VB.TextBox Tmsg 
            Appearance      =   0  'Flat
            Height          =   285
            Index           =   3
            Left            =   9240
            TabIndex        =   7
            Top             =   600
            Width           =   1935
         End
         Begin VB.TextBox Tmsg 
            Appearance      =   0  'Flat
            Height          =   285
            Index           =   2
            Left            =   6480
            TabIndex        =   6
            Top             =   600
            Width           =   1575
         End
         Begin VB.TextBox Tmsg 
            Appearance      =   0  'Flat
            Height          =   270
            Index           =   0
            Left            =   960
            TabIndex        =   5
            Top             =   600
            Width           =   1695
         End
         Begin VB.TextBox Tmsg 
            Appearance      =   0  'Flat
            Height          =   285
            Index           =   1
            Left            =   3720
            TabIndex        =   4
            Top             =   600
            Width           =   1575
         End
         Begin VB.TextBox Tmsg 
            Appearance      =   0  'Flat
            Height          =   285
            Index           =   4
            Left            =   960
            TabIndex        =   3
            Top             =   1200
            Width           =   1695
         End
         Begin VB.TextBox Tmsg 
            Appearance      =   0  'Flat
            Height          =   285
            Index           =   5
            Left            =   9240
            TabIndex        =   2
            Top             =   1200
            Width           =   1935
         End
         Begin 保险秘书.OsenXPComboBox Odz 
            Height          =   315
            Left            =   6480
            TabIndex        =   8
            Top             =   1200
            Width           =   1575
            _ExtentX        =   2778
            _ExtentY        =   556
            BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
               Name            =   "宋体"
               Size            =   9
               Charset         =   134
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
         End
         Begin 保险秘书.OsenXPComboBox OSer 
            Height          =   315
            Left            =   2400
            TabIndex        =   20
            Top             =   0
            Width           =   8775
            _ExtentX        =   15478
            _ExtentY        =   556
            BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
               Name            =   "MS Sans Serif"
               Size            =   8.25
               Charset         =   0
               Weight          =   400
               Underline       =   0   'False
               Italic          =   0   'False
               Strikethrough   =   0   'False
            EndProperty
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "被保险人:"
            Height          =   195
            Index           =   11
            Left            =   5640
            TabIndex        =   17
            Top             =   720
            Width           =   900
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "请选择或填写保险单编号:"
            Height          =   195
            Index           =   0
            Left            =   240
            TabIndex        =   16
            Top             =   120
            Width           =   2160
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "经办人:"
            Height          =   195
            Index           =   3
            Left            =   240
            TabIndex        =   15
            Top             =   705
            Width           =   720
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "险种:"
            Height          =   195
            Index           =   4
            Left            =   3240
            TabIndex        =   14
            Top             =   720
            Width           =   540
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "到帐情况:"
            Height          =   195
            Index           =   6
            Left            =   5640
            TabIndex        =   13
            Top             =   1320
            Width           =   900
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "发票号:"
            Height          =   195
            Index           =   7
            Left            =   240
            TabIndex        =   12
            Top             =   1320
            Width           =   720
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "登记日期:"
            Height          =   195
            Index           =   8
            Left            =   2880
            TabIndex        =   11
            Top             =   1320
            Width           =   900
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "行驶证车主:"
            Height          =   195
            Index           =   13
            Left            =   8205
            TabIndex        =   10
            Top             =   720
            Width           =   1080
         End
         Begin VB.Label Label1 
            AutoSize        =   -1  'True
            BackStyle       =   0  'Transparent
            Caption         =   "保险费:"
            Height          =   195
            Index           =   14
            Left            =   8520
            TabIndex        =   9
            Top             =   1320
            Width           =   720
         End
      End
      Begin 保险秘书.isButton isBOk 
         Height          =   375
         Left            =   8760
         TabIndex        =   18
         Top             =   2160
         Width           =   1215
         _ExtentX        =   2143
         _ExtentY        =   661
         Icon            =   "Fyjgl_group.frx":0000
         Style           =   5
         Caption         =   "    确   认"
         IconAlign       =   1
         Tooltiptitle    =   ""
         ToolTipIcon     =   0
         ToolTipType     =   0
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "Verdana"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
      Begin 保险秘书.isButton isButton1 
         Height          =   375
         Left            =   10080
         TabIndex        =   19
         Top             =   2160
         Width           =   1215
         _ExtentX        =   2143
         _ExtentY        =   661
         Icon            =   "Fyjgl_group.frx":08DA
         Style           =   5
         Caption         =   "    取   消"
         IconAlign       =   1
         Tooltiptitle    =   ""
         ToolTipIcon     =   0
         ToolTipType     =   0
         ttForeColor     =   0
         BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
            Name            =   "Verdana"
            Size            =   8.25
            Charset         =   0
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
      End
   End
End
Attribute VB_Name = "Fyjgl_group"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit

Private Sub Form_Load()
    Me.Width = Frame2.Width + 100
    Me.Height = Frame2.Height + 400
    
    Me.Move (Fyjgl.ScaleWidth - Me.Width) / 2, (Fyjgl.ScaleHeight - Me.Height) / 2
    Call ExplodeForm(Me, 1500)
    With Odz
        .AddItem "已到帐"
        .AddItem "未到帐"
        .ListIndex = 0
    End With

    Odj.Text = Date
    
    Call OSerShow
End Sub

Private Sub Form_Unload(Cancel As Integer)
    Call ImplodeForm(Me, 1500, 800, 800)
End Sub

Private Sub OSerShow()
    Dim sql As String
    Dim rs As Recordset
    Dim vdb As Boolean
    
    sql = "select serial from insurance_info order by id asc"
    vdb = ExcSql
    If vdb = True Then
        Set rs = conn.Execute(sql)
        If Not rs.EOF Then
        With OSer
            Do While Not rs.EOF
                .AddItem rs("serial")
            rs.MoveNext
            Loop
            .ListIndex = 0
        End With
        End If
        rs.Close
        Set rs = Nothing
    End If
End Sub

Private Sub isBOk_Click()
    Dim vid, sql As String
    Dim vdb As Boolean
    Dim vnum As Integer
    
    vid = Trim$(OSer.Text)
    If vid = "" Then
        MsgBox "请填写正确的保单号!"
        Exit Sub
    End If
    
    vdb = ExcSql
    If vdb = True Then
        
        sql = "insert into group_info(jbr,xz,bpeo,xsz,bid,fph,djrq,dzqk,bfee) values('" & Tmsg(0).Text & "','" & Tmsg(1).Text & "','" & Tmsg(2).Text & "'" & _
        ",'" & Tmsg(3).Text & "','" & OSer.Text & "','" & Tmsg(4).Text & "','" & Odj.Text & "'," & _
        "'" & Odz.Text & "','" & Tmsg(5).Text & "')"
        
        Call exsql(sql)
    End If
    
    Fyjgl.Timer1.Enabled = True
    Unload Me
End Sub

Private Sub isButton1_Click()
    Unload Me
End Sub

Private Sub OSer_Change()
    Dim sql As String
    Dim rs As Recordset
    Dim vdb As Boolean
    
    Tmsg(2).Text = ""
    Tmsg(3).Text = ""
    
    sql = "select serial as c1,bpeo as c2 ,xsz as c3 from insurance_info where serial='" & OSer.Text & "'"
    vdb = ExcSql
    If vdb = True Then
        Set rs = conn.Execute(sql)
        If Not rs.EOF Then
            Tmsg(2).Text = rs("c2") & ""
            Tmsg(3).Text = rs("c3") & ""
        End If
        rs.Close
        Set rs = Nothing
    End If
End Sub

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -