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

📄 rkxg.frm

📁 一套完整的毕业论文。物资管理信息系统。 请大家指点
💻 FRM
📖 第 1 页 / 共 2 页
字号:
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   480
         TabIndex        =   25
         Top             =   480
         Width           =   1095
      End
   End
   Begin VB.Frame Frame2 
      Caption         =   "入库信息"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   10.5
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      Height          =   3975
      Left            =   5040
      TabIndex        =   10
      Top             =   480
      Width           =   4215
      Begin VB.TextBox Text1 
         DataField       =   "rkaccount"
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         TabIndex        =   0
         Top             =   420
         Width           =   2415
      End
      Begin VB.TextBox Text2 
         DataField       =   "rkprice"
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         TabIndex        =   1
         Top             =   915
         Width           =   2415
      End
      Begin VB.TextBox Text3 
         DataField       =   "rkvalue"
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         TabIndex        =   2
         Top             =   1425
         Width           =   2415
      End
      Begin VB.TextBox Text4 
         DataField       =   "rkdate"
         BeginProperty DataFormat 
            Type            =   0
            Format          =   "yyyy-M-d"
            HaveTrueFalseNull=   0
            FirstDayOfWeek  =   0
            FirstWeekOfYear =   0
            LCID            =   2052
            SubFormatType   =   0
         EndProperty
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         Locked          =   -1  'True
         TabIndex        =   3
         Top             =   1920
         Width           =   2415
      End
      Begin VB.TextBox Text5 
         DataField       =   "rkdeal"
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         TabIndex        =   4
         Top             =   2415
         Width           =   2415
      End
      Begin VB.TextBox Text6 
         DataField       =   "rksave"
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         TabIndex        =   5
         Top             =   2925
         Width           =   2415
      End
      Begin VB.TextBox Text7 
         DataField       =   "rkbase"
         DataSource      =   "Adodc1"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   375
         Left            =   1440
         TabIndex        =   6
         Top             =   3420
         Width           =   2415
      End
      Begin VB.Label Label6 
         Caption         =   "数    量:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   17
         Top             =   480
         Width           =   1095
      End
      Begin VB.Label Label7 
         Caption         =   "单    价:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   16
         Top             =   975
         Width           =   1095
      End
      Begin VB.Label Label8 
         Caption         =   "金    额:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   15
         Top             =   1485
         Width           =   1095
      End
      Begin VB.Label Label9 
         Caption         =   "入库时间:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   14
         Top             =   1980
         Width           =   1095
      End
      Begin VB.Label Label10 
         Caption         =   "经 办 人:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   13
         Top             =   2475
         Width           =   1095
      End
      Begin VB.Label Label11 
         Caption         =   "保 管 人:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   12
         Top             =   2985
         Width           =   1095
      End
      Begin VB.Label Label12 
         Caption         =   "仓    库:"
         BeginProperty Font 
            Name            =   "宋体"
            Size            =   10.5
            Charset         =   134
            Weight          =   400
            Underline       =   0   'False
            Italic          =   0   'False
            Strikethrough   =   0   'False
         EndProperty
         Height          =   255
         Left            =   240
         TabIndex        =   11
         Top             =   3480
         Width           =   1095
      End
   End
End
Attribute VB_Name = "rkxg"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub Combo1_Click()
Adodc1.Recordset.MoveFirst
With Adodc1.Recordset
.Find "rkno LIKE '*" & Combo1.Text & "*'", 1, adSearchForward, .Bookmark
If .EOF Then .MoveFirst
End With
Text15.Text = Text1.Text
Text16.Text = Text3.Text
End Sub

Private Sub Command2_Click()
Unload Me
system.Show
End Sub

Private Sub Command3_Click()
If MsgBox("确定要修改此信息吗?", vbYesNo + vbDefaultButton2, "请确认修改!") = vbYes Then

yexi.Adodc1.Recordset.MoveFirst
With yexi.Adodc1.Recordset
.Find "物资编号 LIKE '*" & Text10.Text & "*'", 1, adSearchForward, .Bookmark
If .EOF Then .MoveFirst
End With
Adodc1.Recordset.Update


If Val(Text15.Text) > Val(Text1.Text) Then
yexi.Text10.Text = Val(Val(Text15.Text) - Val(Text1.Text))
yexi.Text6.Text = Val(Val(yexi.Text6.Text) - Val(yexi.Text10.Text))
End If

If Val(Text15.Text) < Val(Text1.Text) Then
yexi.Text10.Text = Val(Val(Text1.Text) - Val(Text15.Text))
yexi.Text6.Text = Val(Val(yexi.Text6.Text) + Val(yexi.Text10.Text))
End If

If Val(Text16.Text) > Val(Text3.Text) Then
yexi.Text11.Text = Val(Val(Text16.Text) - Val(Text3.Text))
yexi.Text7.Text = Val(Val(yexi.Text7.Text) - Val(yexi.Text11.Text))
End If

If Val(Text16.Text) < Val(Text3.Text) Then
yexi.Text11.Text = Val(Val(Text3.Text) - Val(Text16.Text))
yexi.Text7.Text = Val(Val(yexi.Text7.Text) + Val(yexi.Text11.Text))
End If
yexi.Command2 = True

End If
End Sub

Private Sub Text3_Click()
Text3.Text = Val(Val(Text1.Text) * Val(Text2.Text))
End Sub

⌨️ 快捷键说明

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