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

📄 frm_rcyw_xsth.frm

📁 商品进销存管理系统 采用VB和SQL2000开发 具有很强的实用性
💻 FRM
📖 第 1 页 / 共 2 页
字号:
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column03 
            DataField       =   "规格"
            Caption         =   "规格"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column04 
            DataField       =   "包装"
            Caption         =   "包装"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column05 
            DataField       =   "单位"
            Caption         =   "单位"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column06 
            DataField       =   "数量"
            Caption         =   "数量"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         BeginProperty Column07 
            DataField       =   "销售价"
            Caption         =   "销售价"
            BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED} 
               Type            =   0
               Format          =   ""
               HaveTrueFalseNull=   0
               FirstDayOfWeek  =   0
               FirstWeekOfYear =   0
               LCID            =   2052
               SubFormatType   =   0
            EndProperty
         EndProperty
         SplitCount      =   1
         BeginProperty Split0 
            BeginProperty Column00 
               ColumnWidth     =   1005.165
            EndProperty
            BeginProperty Column01 
               ColumnWidth     =   794.835
            EndProperty
            BeginProperty Column02 
               ColumnWidth     =   494.929
            EndProperty
            BeginProperty Column03 
               ColumnWidth     =   510.236
            EndProperty
            BeginProperty Column04 
               ColumnWidth     =   434.835
            EndProperty
            BeginProperty Column05 
               ColumnWidth     =   450.142
            EndProperty
            BeginProperty Column06 
               ColumnWidth     =   524.976
            EndProperty
            BeginProperty Column07 
               ColumnWidth     =   675.213
            EndProperty
         EndProperty
      End
      Begin VB.Label Label7 
         BackStyle       =   0  'Transparent
         Caption         =   "总金额:"
         Height          =   255
         Left            =   2985
         TabIndex        =   16
         Top             =   3720
         Width           =   2670
      End
      Begin VB.Label lbltfzje 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H000000FF&
         Height          =   225
         Left            =   3075
         TabIndex        =   15
         Top             =   2550
         Width           =   2100
      End
   End
   Begin VB.Frame Frame1 
      Height          =   570
      Left            =   15
      TabIndex        =   0
      Top             =   -45
      Width           =   11580
      Begin VB.TextBox txtXSPH 
         BackColor       =   &H00FFFFFF&
         Height          =   285
         Left            =   1395
         TabIndex        =   1
         Top             =   180
         Width           =   5100
      End
      Begin VB.Label Label3 
         BackStyle       =   0  'Transparent
         Caption         =   "销售单据号:                                                                日期:"
         Height          =   195
         Left            =   225
         TabIndex        =   4
         Top             =   225
         Width           =   7425
      End
      Begin VB.Label LblDate 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H000000FF&
         Height          =   210
         Left            =   7650
         TabIndex        =   3
         Top             =   210
         Width           =   2115
      End
      Begin VB.Label Lblfph 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H000000FF&
         Height          =   210
         Left            =   4260
         TabIndex        =   2
         Top             =   270
         Width           =   1545
      End
   End
   Begin VB.Frame Frame2 
      Height          =   570
      Left            =   15
      TabIndex        =   5
      Top             =   405
      Width           =   11580
      Begin VB.Label lblxsrq 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H000000FF&
         Height          =   210
         Left            =   8730
         TabIndex        =   9
         Top             =   240
         Width           =   1980
      End
      Begin VB.Label Lblkh 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   210
         Left            =   1155
         TabIndex        =   8
         Top             =   240
         Width           =   1545
      End
      Begin VB.Label Lbljsr 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   210
         Left            =   4410
         TabIndex        =   7
         Top             =   240
         Width           =   1545
      End
      Begin VB.Label Lblsfdate 
         BackStyle       =   0  'Transparent
         ForeColor       =   &H00FF0000&
         Height          =   210
         Left            =   8790
         TabIndex        =   6
         Top             =   255
         Width           =   1545
      End
      Begin VB.Label Label5 
         BackStyle       =   0  'Transparent
         Caption         =   "客户全称:                            经手人:                                      销售日期:"
         Height          =   195
         Left            =   225
         TabIndex        =   10
         Top             =   255
         Width           =   8520
      End
   End
   Begin VB.Label Label8 
      BackStyle       =   0  'Transparent
      Caption         =   "注意:单击【添加】按钮可以将收费项目添        加到退费项目中。然后再退费。"
      ForeColor       =   &H000000FF&
      Height          =   375
      Left            =   180
      TabIndex        =   21
      Top             =   5355
      Width           =   3510
   End
   Begin VB.Label Label9 
      BackStyle       =   0  'Transparent
      Caption         =   "注意:单击【添加】按钮可以将收费项目添        加到退费项目中。然后再退费。"
      ForeColor       =   &H0000FFFF&
      Height          =   375
      Left            =   165
      TabIndex        =   22
      Top             =   5340
      Width           =   3510
   End
End
Attribute VB_Name = "frm_rcyw_xsth"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'*************************************************************************
'**模 块 名:frm_rcyw_xsth
'**版权说明:吉林省明日科技有限公司享有本软件的所有版权,如果本软件用于商
'**          业用途,必须经过吉林省明日科技有限公司授权。如果提供网上免费
'**          下载,必须经过吉林省明日科技有限公司授权,并保证程序的完整,
'**          不得修改代码、注释和相关内容,否则,我公司将追究其法律责任
'**网    址:www.mingrisoft.com  价值无限,服务无限
'**电    话:(0431)84978981,84978982
'**创 建 人:明日科技
'**日    期:2007-10-31
'**修 改 人:MRLBB
'**日    期:2007-10-31
'**描    述:
'*************************************************************************
Private Sub CmdAdd_Click()
  Cnn.Execute ("insert into tb_xstdls select * from tb_xsd where 票号='" + txtXSPH + "'and 商品名称='" + DataGrid1.Columns(0) + "'and 批号='" + DataGrid1.Columns(1) + "'")
  Adodc2.Refresh
  DataGrid1.d
  CmdTH.Enabled = True
  CmdCancel.Enabled = True
End Sub
Private Sub CmdCancel_Click()
  Cnn.Execute ("delete from tb_xstdls where 票号='" + txtXSPH + "'and 商品名称='" + DataGrid1.Columns(0) + "'and 批号='" + DataGrid1.Columns(1) + "'")
End Sub
Private Sub Form_Load()
  LblDate = Date
  Dim i As Integer
  For i = 0 To 5
     DataGrid2.Columns(i).Locked = True
  Next i
  With MSHFlexGrid1
      .ColWidth(0) = 200
      For i = 2 To 4
        .ColWidth(i) = 720
      Next i
      For i = 5 To 7
        .ColWidth(i) = 420
      Next i
      .ColWidth(8) = 600
      For i = 9 To 13
        .ColWidth(i) = 0
      Next i
  End With
End Sub

Private Sub txtXSPH_KeyDown(KeyCode As Integer, Shift As Integer)
  If KeyCode = vbKeyReturn Then
     Adodc1.RecordSource = "select * from tb_xsd where 票号='" + txtXSPH + "'"
     Adodc1.Refresh
     With Adodc1.Recordset
       If .RecordCount > 0 Then
         Lblkh = .Fields("客户全称")
         Lbljsr = .Fields("经手人")
         lblxsrq = .Fields("日期")
       End If
     End With
  End If
End Sub

⌨️ 快捷键说明

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