仓库管理系统.ppt_第1页
仓库管理系统.ppt_第2页
仓库管理系统.ppt_第3页
仓库管理系统.ppt_第4页
仓库管理系统.ppt_第5页
已阅读5页,还剩8页未读, 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、仓库管理系统,AP0806414李易华,环境搭配操作系统:window 7开发系统:Microsoft Visual Studio 2008+ Microsoft SQL Server 2008,主要功能插件 登录界面: 信息填写非空(RequiredFieldValidator) 比较器(核对用户登录资料)(CompareValidator) 超文本连接(HyperLink) 增加模块(增加员工,增加商品,增加供应商): 信息填写非空(RequiredFieldValidator) 下拉列表(DropDownList) 日历(Calendar),需求分析,随着科学技术的发展,社会进步,计算机

2、迅速的发展,仓库管理的方法也日新月异,以前全是由人管理的方法现存在很多的缺点:管理效率低,劳动强度大,信息处理速度低而且准确率也不够令人满意。为了提高仓库管理效率,减轻劳动强度提高,信息处理速度和准确性;为仓库管理员提供更方便、科学的服务项目。为仓库管理员提供的一种更先进、科学的服务系统。于是我们便选择了由计算机来设计一个仓库管理系统的方案。让计算机对仓库进行自动管理,仓库管理员可以直接在计算机上实现仓库的信息管理,并能在一定程度上实现自动化。我们在现行系统初步调查的基础上提出了新系统目标,即新系统建立后所要求达到的运行指标,这是系统开发和评价的依据。,功能模块,员工信息(更新员工信息、添加员

3、工信息) 商品信息(商品信息添加、更新商品信息、商品类别添加) 商品销售(增加退货信息、退货信息查询、查询销售信息、 查询销售业绩) 商品进货(查询进货商品、添加进货商品、添加退货商品、 查询退货商品) 商品库存(盘点库存商品、查询库存商品) 系统管理(密码修改、供应商管理),用例图,用户名检测代码(包括管理员和员工): SqlParameter parms = this.GetIsExistAdminInfoParms(); parms0.Value = adminModel.AdminUsername; DataSet ds = DBOperation.GetDataSet(DBOpera

4、tion.CONN_STRING_NON_DTC, CommandType.Text, SELECT_USERNAME, parms);/ds指获得的输入信息 登录成功或失败页面跳转代码: if (adminL.IsExistAdminInfo(adminModel) Sessionadmin = true; SessionadminUsername = name; Response.Redirect(Admin/MainPage.aspx); else Response.Write(alert(用户名和密码不正确!);); ,员工信息,员工信息获取,protected void BtnAdd

5、_Click(object sender, EventArgs e) EmployeeModel employeeModel = new EmployeeModel(); employeeModel.EmployeeNo = this.EmployeeNo.Text; employeeModel.EmployeeName = this.EmployeeName.Text; employeeModel.EmployeePassword = this.EmployeePassword.Text; employeeModel.EmployeeSex = this.EmployeeSex.Text;

6、if (this.EmployeeBirthday.Text != ) employeeModel.EmployeeBirthday = Convert.ToDateTime(this.EmployeeBirthday.Text); employeeModel.EmployeeEducationId = Convert.ToInt32(this.EmployeeEducation.SelectedValue); employeeModel.EmployeeHomeTel = this.EmployeeHomeTel.Text; employeeModel.EmployeeMobile = th

7、is.EmployeeMobile.Text; employeeModel.EmployeeCard = this.EmployeeCard.Text; employeeModel.EmployeeEmail = this.EmployeeEmail.Text; employeeModel.EmployeeAddress = this.EmployeeAddress.Text; EmployeeLogic employeeLogic = new EmployeeLogic(); if (employeeLogic.EmployeeInfoAdd(employeeModel) Response.

8、Write(alert(员工信息添加成功!); else Response.Write(alert( + employeeLogic.ErrMessage + );); ,员工信息写入数据库(部分),private string employeeNo; private string employeeName; private string employeePassword; private string employeeSex; set this.employeeNo = value; get return this.employeeNo; public string EmployeeName

9、 set this.employeeName = value; get return this.employeeName; public string EmployeePassword set this.employeePassword = value; get return this.employeePassword; public string EmployeeSex set this.employeeSex = value; get return this.employeeSex; ,功能实现:按照定义的日期段确定进货、顾客退货、供应商退货、销售金额,完成对总利润的计算 计算其中一项金额

10、的总数: float buyTotalPrice = BuyInfoLogic.QueryBuyInfoTotalPrice(“”, “”, 0, this.StartTime.Text,this.EndTime.Text);/包含四项属性:商品代码, 商品名字, 商品类型, 开始时间, 结束时间 计算总利润: float profits = sellTotalPrice + returnTotalPrice - buyTotalPrice - sellBackTotalPrice;,实现对日期的选择范围以及计算其中一项金额的总数: public static float QueryBuyIn

11、foTotalPrice(string goodNo, string goodName, int goodClassId, string startTime, string endTime) string str = select SUM(totalPrice) as TotalPrice from buyInfoView where 1=1; if (goodNo != ) str += and goodNo like % + goodNo + %; if (goodName != ) str += and goodName like % + goodName + %; if (goodClassId != 0) str += and goodClassId= + goodClassId; if (startTime != ) str += and buyDate= + Convert.ToDateTime(startTime) + ; if (endTime != ) str += and buyDate= + Convert

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论