+-+
资源名称:ERPSYS.zip [点击查看]
上传用户:zhpu1995
上传日期:2013-09-06
资源大小:61151k
文件大小:4k
源码类别:
企业管理
开发平台:
Visual Basic
- VERSION 5.00
- Begin VB.Form Xs_SysControl
- BorderStyle = 3 'Fixed Dialog
- Caption = "系统帐套参数设置"
- ClientHeight = 1605
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 3885
- Icon = "文件_系统参数设置.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1605
- ScaleWidth = 3885
- ShowInTaskbar = 0 'False
- StartUpPosition = 2 '屏幕中心
- Begin VB.CommandButton cmdOK
- Caption = "取消(&C)"
- Height = 330
- Index = 1
- Left = 2715
- TabIndex = 3
- Top = 1185
- Width = 1140
- End
- Begin VB.CommandButton cmdOK
- Caption = "确定(&O)"
- Height = 330
- Index = 0
- Left = 1500
- TabIndex = 1
- Top = 1185
- Width = 1140
- End
- Begin VB.Frame Frame1
- Caption = "参数设置"
- Height = 990
- Left = 60
- TabIndex = 0
- Top = 90
- Width = 3765
- Begin VB.CheckBox Chk_IfConsign
- Caption = "现销是否根据应收回款开发票"
- Height = 300
- Index = 1
- Left = 165
- TabIndex = 4
- Top = 585
- Width = 2700
- End
- Begin VB.CheckBox Chk_IfConsign
- Caption = "是否根据发货单退货"
- Height = 300
- Index = 0
- Left = 165
- TabIndex = 2
- Top = 270
- Width = 2040
- End
- End
- End
- Attribute VB_Name = "Xs_SysControl"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- '*****************************************************************
- ' 模块名称:系统参数设置
- ' 模块功能:设置销售管理系统需要控制的系统参数,包含以下参数
- ' 1.是否根据发货单退货
- ' 编 制 者:王长兴
- ' 编制日期:2001/11/19
- ' 备 注:
- '*****************************************************************
- Private Sub cmdOK_Click(Index As Integer)
- Select Case Index
- Case 0 '确定
- Call SaveSysDefine
- '重新读入系统帐套参数
- Call Drxtztcs
- Call Sub_SysControl
- Unload Me
- Case 1 '取消
- Unload Me
- End Select
- End Sub
- Private Sub Form_Load()
- Dim lngJsq As Long
- Call ReadSysDefine '读入系统参数设置信息
- End Sub
- '============以下部分为自定义模块=============================
- Private Sub ReadSysDefine() '读取系统参数信息
- If Xs_IfConsign Then Chk_IfConsign(0).Value = 1
- If Xs_IfInvoice Then Chk_IfConsign(1).Value = 1
- End Sub
- Private Sub SaveSysDefine() '保存系统参数设置
- Cw_DataEnvi.DataConnect.Execute ("Update GY_AccInformation set itemvalue='" & Chk_IfConsign(0).Value & "' WHERE SystemCode='Xs' and itemcode='Xs_IfConsign'")
- Cw_DataEnvi.DataConnect.Execute ("Update GY_AccInformation set itemvalue='" & Chk_IfConsign(1).Value & "' WHERE SystemCode='Xs' and itemcode='Xs_IfInvoice'")
- Call Xtxxts("参数信息保存完毕!", 0, 4)
- End Sub
- '============以上部分为自定义模块=============================