資源簡介
系統功能:
(1)系統分兩種身份:管理員和員工,選擇不同的身份進入不同的功能操作界面!
(2)商品信息管理:管理員可以添加和維護商品信息,員工只能對商品信息進行查詢!
(3)員工信息管理:管理員登陸系統后可以可以添加和維護超市員工(收銀員)的信息!
(4)商品進貨管理:管理員登陸系統后可以添加商品進貨信息,可以對商品進貨信息進行查詢和統計,添加商品進進貨退貨信息,對商品進貨退貨信息進行查詢和統計
(5)商品銷售管理:員工(收銀員)登陸系統后可以對商品進行銷售,可以按時間查詢自己的銷售業績;管理員登陸系統后可以按照時間等條件對銷售信息進行查詢,可以根據小票號登記顧客退貨信息,查詢顧客退貨信息,可以查看員工的銷售業績
(6)商品庫存管理:管理員或員工登陸系統后都可以查詢商品的庫存,庫存盤點(進貨金額和銷售金額的對比),可以統計庫存上溢或不足的信息(庫存報警)
(7)系統管理:管理員或員工登陸系統后可以修改自己的登陸密碼
系統特點:
(1)根據不同的身份友好顯示不同的功能菜單。
(2)支持多個員工(收銀員)同時對超市商品進行銷售。
(3)程序使用三層架構思想,采用完全面向對象的思想方法設計。

代碼片段和文件信息
using?System;
using?System.Data;
using?System.Configuration;
using?System.Collections;
using?System.Web;
using?System.Web.Security;
using?System.Web.UI;
using?System.Web.UI.WebControls;
using?System.Web.UI.WebControls.WebParts;
using?System.Web.UI.HtmlControls;
using?SuperMarket.Model;
using?SuperMarket.Logic;
namespace?SuperMarket
{
????public?partial?class?login?:?System.Web.UI.Page
????{
????????protected?void?Page_Load(object?sender?EventArgs?e)
????????{
????????????if?(!IsPostBack)
????????????{
????????????????this.Button1.Attributes[“onclick“]?=?“return?check();“;
????????????}
????????}
????????protected?void?Button1_Click(object?sender?EventArgs?e)
????????{
????????????/*取得帳號密碼信息*/
????????????string?userName?=?this.txtName.Text;
????????????string?password?=?this.txtPwd.Text;
????????????string?identify?=?this.Identify.SelectedValue;
????????????if?(“管理員“?==?identify)
????????????{
????????????????AdminModel?adminModel?=?new?AdminModel();
????????????????adminModel.AdminUsername?=?userName;
????????????????adminModel.AdminPassword?=?password;
????????????????AdminLogic?adminLogic?=?new?AdminLogic();
????????????????/*如果管理員帳號信息正確*/
????????????????if?(adminLogic.IsExistAdminInfo(adminModel))
????????????????{
????????????????????Session[“adminFlag“]?=?true;
????????????????????Session[“adminUsername“]?=?userName;
????????????????????Response.Redirect(“Admin/index.aspx“);
????????????????}
????????????????/*如果管理員帳號信息不正確*/
????????????????else
????????????????{
????????????????????Response.Write(“ript>alert(‘“?+?adminLogic.ErrMessage?+?“‘); ript>“);
????????????????}
????????????}
????????????else
????????????{
????????????????/*如果員工帳號信息正確*/
????????????????EmployeeLogic?employeeLogic?=?new?EmployeeLogic();
????????????????if(employeeLogic.CheckLogin(userNamepassword))
????????????????{
????????????????????Session[“employeeFlag“]?=?true;
????????????????????Session[“employeeNo“]?=?userName;
????????????????????Response.Redirect(“Employee/index.aspx“);
????????????????}
????????????????/*如果員工帳號信息不正確*/
????????????????else
????????????????{
????????????????????Response.Write(“ript>alert(‘“?+?employeeLogic.ErrMessage?+?“‘); ript>“);
????????????????}
????????????}
????????}
}
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2756??2009-03-25?10:16??sylSupermarket\about.html
?????文件???????2301??2010-02-08?18:42??sylSupermarket\Admin\changePassword.aspx
?????文件???????1318??2009-03-25?10:24??sylSupermarket\Admin\changePassword.aspx.cs
?????文件???????3644??2009-04-27?15:13??sylSupermarket\Admin\EmployeeInfoAdd.aspx
?????文件???????2422??2009-03-25?17:01??sylSupermarket\Admin\EmployeeInfoAdd.aspx.cs
?????文件???????3342??2009-03-25?16:55??sylSupermarket\Admin\EmployeeInfoUpdate.aspx
?????文件???????4281??2009-03-31?09:39??sylSupermarket\Admin\EmployeeInfoUpdate.aspx.cs
?????文件???????3632??2009-04-27?15:13??sylSupermarket\Admin\EmployeeManage.aspx
?????文件???????2702??2009-03-31?11:12??sylSupermarket\Admin\EmployeeManage.aspx.cs
?????文件???????1892??2009-03-25?10:15??sylSupermarket\Admin\index.aspx
?????文件????????412??2009-02-01?11:55??sylSupermarket\Admin\index.aspx.cs
?????文件???????7297??2008-12-13?10:45??sylSupermarket\Admin\seltime.aspx
?????文件???????3636??2009-04-27?15:13??sylSupermarket\Admin\SupplierManage.aspx
?????文件???????1650??2009-03-28?22:43??sylSupermarket\Admin\SupplierManage.aspx.cs
?????文件???????3120??2009-03-25?16:38??sylSupermarket\App_Code\Logic\AdminLogic.cs
?????文件???????6297??2009-03-30?22:56??sylSupermarket\App_Code\Logic\BuyBackInfoLogic.cs
?????文件???????5505??2009-03-30?22:48??sylSupermarket\App_Code\Logic\BuyInfoLogic.cs
?????文件???????1688??2009-03-25?22:42??sylSupermarket\App_Code\Logic\EducationLogic.cs
?????文件??????21875??2009-03-31?09:33??sylSupermarket\App_Code\Logic\EmployeeLogic.cs
?????文件??????10734??2009-03-29?20:27??sylSupermarket\App_Code\Logic\GoodCartLogic.cs
?????文件???????2586??2009-03-30?09:30??sylSupermarket\App_Code\Logic\GoodClassLogic.cs
?????文件???????7149??2009-03-28?09:09??sylSupermarket\App_Code\Logic\GoodLogic.cs
?????文件???????1918??2009-03-28?22:55??sylSupermarket\App_Code\Logic\GoodStockLogic.cs
?????文件???????6037??2009-03-31?10:47??sylSupermarket\App_Code\Logic\SellBackLogic.cs
?????文件???????6456??2009-03-31?11:03??sylSupermarket\App_Code\Logic\SellLogic.cs
?????文件???????2195??2009-03-28?22:44??sylSupermarket\App_Code\Logic\SupplierLogic.cs
?????文件???????1268??2009-03-25?09:49??sylSupermarket\App_Code\Model\AdminModel.cs
?????文件???????3560??2009-03-28?14:56??sylSupermarket\App_Code\Model\BuyBackInfoModel.cs
?????文件???????3137??2009-03-28?09:03??sylSupermarket\App_Code\Model\BuyInfoModel.cs
?????文件???????1250??2009-03-25?22:42??sylSupermarket\App_Code\Model\EducationModel.cs
............此處省略110個文件信息
- 上一篇:武漢大學《數字圖像處理》期末考試試卷及答案
- 下一篇:ADF4106源代碼
評論
共有 條評論