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

📄 frmback.frm

📁 < 飞鸿商品>>零售是基于VB+SQL2000开的商品零售管理系统. 开发的很好.可以一看
💻 FRM
📖 第 1 页 / 共 2 页
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "msflxgrd.ocx"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "mscomctl.ocx"
Begin VB.Form frmBack 
   Caption         =   "退  货"
   ClientHeight    =   8175
   ClientLeft      =   165
   ClientTop       =   555
   ClientWidth     =   11880
   BeginProperty Font 
      Name            =   "宋体"
      Size            =   10.5
      Charset         =   134
      Weight          =   400
      Underline       =   0   'False
      Italic          =   0   'False
      Strikethrough   =   0   'False
   EndProperty
   Icon            =   "frmBack.frx":0000
   LinkTopic       =   "Form1"
   ScaleHeight     =   8175
   ScaleWidth      =   11880
   StartUpPosition =   3  '窗口缺省
   Begin VB.Timer tmrTime 
      Enabled         =   0   'False
      Left            =   4410
      Top             =   60
   End
   Begin VB.TextBox txtNum 
      Appearance      =   0  'Flat
      Height          =   315
      Left            =   5040
      TabIndex        =   7
      Text            =   "txtnum"
      Top             =   5730
      Width           =   1965
   End
   Begin VB.Timer tmr 
      Enabled         =   0   'False
      Left            =   3780
      Top             =   60
   End
   Begin VB.TextBox txtZK 
      Appearance      =   0  'Flat
      Height          =   315
      Left            =   3930
      TabIndex        =   5
      Text            =   "txtzk"
      Top             =   4500
      Width           =   1965
   End
   Begin VB.Frame fra 
      Height          =   825
      Left            =   810
      TabIndex        =   0
      Top             =   7020
      Width           =   10275
      Begin VB.TextBox txtTM 
         Height          =   345
         Left            =   1410
         TabIndex        =   2
         Top             =   300
         Width           =   2145
      End
      Begin VB.TextBox txtName 
         Enabled         =   0   'False
         Height          =   345
         Left            =   4980
         Locked          =   -1  'True
         TabIndex        =   1
         Top             =   300
         Width           =   1905
      End
      Begin VB.Label Label2 
         Caption         =   "商品条码"
         Height          =   210
         Left            =   480
         TabIndex        =   4
         Top             =   390
         Width           =   840
      End
      Begin VB.Label Label7 
         Caption         =   "商品名称"
         Height          =   210
         Left            =   4050
         TabIndex        =   3
         Top             =   390
         Width           =   840
      End
   End
   Begin MSComctlLib.StatusBar StatusBar1 
      Align           =   2  'Align Bottom
      Height          =   255
      Left            =   0
      TabIndex        =   6
      Top             =   7920
      Width           =   11880
      _ExtentX        =   20955
      _ExtentY        =   450
      _Version        =   393216
      BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628} 
         NumPanels       =   3
         BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   19403
            MinWidth        =   19403
            Text            =   "退货结算-Enter  取消退货-F3  数量变更-F4  商品折旧-F5  手工输入-F6  删除商品-Del、←  整单打折-F8  退出-F9"
            TextSave        =   "退货结算-Enter  取消退货-F3  数量变更-F4  商品折旧-F5  手工输入-F6  删除商品-Del、←  整单打折-F8  退出-F9"
         EndProperty
         BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Style           =   2
            Alignment       =   1
            Object.Width           =   970
            MinWidth        =   970
            TextSave        =   "NUM"
         EndProperty
         BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628} 
            Object.Width           =   706
            MinWidth        =   706
         EndProperty
      EndProperty
      BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851} 
         Name            =   "宋体"
         Size            =   9.75
         Charset         =   134
         Weight          =   400
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
   End
   Begin MSFlexGridLib.MSFlexGrid Grid 
      Height          =   5295
      Left            =   60
      TabIndex        =   8
      Top             =   1500
      Width           =   11775
      _ExtentX        =   20770
      _ExtentY        =   9340
      _Version        =   393216
      Cols            =   11
      FixedCols       =   0
      RowHeightMin    =   315
      BackColorBkg    =   -2147483633
      AllowBigSelection=   0   'False
      SelectionMode   =   1
      AllowUserResizing=   1
      Appearance      =   0
      FormatString    =   "序号|^ 商 品 编 号  |^ 商 品 名 称  |^ 规  格|^ 生产企业  |^ 单  位|^ 单  价 |^ 数  量 |^ 折  旧 |^ 折后单价|^ 合计金额"
   End
   Begin VB.Label Label3 
      Caption         =   "收银员"
      Height          =   210
      Left            =   9690
      TabIndex        =   15
      Top             =   210
      Width           =   630
   End
   Begin VB.Label lblTime 
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      BorderStyle     =   1  'Fixed Single
      ForeColor       =   &H80000008&
      Height          =   255
      Left            =   6570
      TabIndex        =   14
      Top             =   180
      Width           =   2685
   End
   Begin VB.Label Label1 
      Caption         =   "当前时间"
      Height          =   210
      Left            =   5610
      TabIndex        =   13
      Top             =   210
      Width           =   840
   End
   Begin VB.Label lblUserName 
      Alignment       =   2  'Center
      Appearance      =   0  'Flat
      BackColor       =   &H80000005&
      BorderStyle     =   1  'Fixed Single
      Caption         =   "张皓"
      ForeColor       =   &H80000008&
      Height          =   255
      Left            =   10410
      TabIndex        =   12
      Top             =   180
      Width           =   1185
   End
   Begin VB.Line Line2 
      BorderColor     =   &H00FFFFFF&
      X1              =   0
      X2              =   11880
      Y1              =   555
      Y2              =   555
   End
   Begin VB.Line Line1 
      BorderColor     =   &H00FFFFFF&
      X1              =   360
      X2              =   11430
      Y1              =   750
      Y2              =   750
   End
   Begin VB.Line Line3 
      BorderColor     =   &H00FFFFFF&
      X1              =   360
      X2              =   360
      Y1              =   780
      Y2              =   1290
   End
   Begin VB.Line Line4 
      BorderColor     =   &H00C0C0C0&
      X1              =   360
      X2              =   11430
      Y1              =   1290
      Y2              =   1290
   End
   Begin VB.Line Line5 
      BorderColor     =   &H00C0C0C0&
      X1              =   11430
      X2              =   11430
      Y1              =   780
      Y2              =   1290
   End
   Begin VB.Label Label5 
      Caption         =   "合计退货金额:"
      Height          =   210
      Left            =   1380
      TabIndex        =   11
      Top             =   960
      Width           =   1365
   End
   Begin VB.Label Label6 
      Caption         =   "¥"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   240
      Left            =   2940
      TabIndex        =   10
      Top             =   930
      Width           =   255
   End
   Begin VB.Label lblSum 
      Caption         =   "0.00"
      BeginProperty Font 
         Name            =   "宋体"
         Size            =   14.25
         Charset         =   134
         Weight          =   700
         Underline       =   0   'False
         Italic          =   0   'False
         Strikethrough   =   0   'False
      EndProperty
      ForeColor       =   &H000000FF&
      Height          =   240
      Left            =   3270
      TabIndex        =   9
      Top             =   930
      Width           =   1515
   End
   Begin VB.Line Line6 
      BorderColor     =   &H80000010&
      X1              =   0
      X2              =   11880
      Y1              =   6990
      Y2              =   6990
   End
End
Attribute VB_Name = "frmBack"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Dim Id As String
Dim BackDList As Collection
Dim BackCost As Collection

Private Sub Form_Load()
  Me.Left = 0
  Me.Top = 0
  Me.Height = 8685
  Me.Width = 12000
  lblUserName.Caption = UserName
  lblTime.Caption = Format(Date$, "yyyy年mm月dd日") & " " & Time$
  tmrTime.Interval = 1000
  tmrTime.Enabled = True
  Call ReSet
  txtNum.Visible = False
  txtNum.Text = ""
  txtNum.Width = 800 + 10
  txtNum.Left = Grid.Left + 7700 + 10
  txtZK.Visible = False
  txtZK.Text = ""
  txtZK.Width = 600 + 10
  txtZK.Left = Grid.Left + 8500 + 10
  fra.Visible = False
End Sub

Private Sub ReSet()
  Grid.Clear
  Grid.Rows = 1
  Grid.FormatString = "序号|^ 商品编号|^ 商品名称|^ 规格|^ 生产企业|^ 单位|^ 单价|^ 数量|^ 折扣|^ 折后单价|^ 合计金额"
  Grid.ColWidth(0) = 500
  Grid.ColWidth(1) = 1600
  Grid.ColWidth(2) = 1800
  Grid.ColWidth(3) = 1000
  Grid.ColWidth(4) = 1200
  Grid.ColWidth(5) = 600
  Grid.ColWidth(6) = 1000
  Grid.ColWidth(7) = 800
  Grid.ColWidth(8) = 600
  Grid.ColWidth(9) = 1000
  Grid.ColWidth(10) = 1600
  lblSum.Caption = "0.00"
  Id = ""
  Set BackDList = Nothing
  Set BackDList = New Collection
  Set BackCost = Nothing
  Set BackCost = New Collection
  Grid.Enabled = True
End Sub

Private Sub Form_Unload(Cancel As Integer)
  Set BackDList = Nothing
End Sub

Private Sub Grid_KeyPress(KeyAscii As Integer)
  Id = Id + Chr(KeyAscii)
  tmr.Enabled = False
  tmr.Interval = 100

⌨️ 快捷键说明

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