【正文】
看分店代碼: public ShopBusinessSituation() { InitializeComponent()。//清楚樹的所有節(jié)點 TreeNode t = new TreeNode(商品類型 )。 = (shopID)。 private void FindStock_Load(object sender, EventArgs e) { = false。 } 中小型超市管理系統(tǒng) 29 查看庫存代碼: public FindStock() { InitializeComponent()。 // = 。 public static int shopID。 ()。 sellgoods = PrintGoodsInfo()。 += new (UpdateGoodsNumber)。 ()。 temp = 0。 += new (clear)。//增加會員積分 temp = 1。 } } catch { (支付失??! , 提示 )。 //會員卡使用日志 UpdateGoodsNumber()。//增加會員卡積分 profit = (({0:F2}, profit))。 Sumprofit += profit。//修改會員卡現(xiàn)有金額 temp = 2。 } } 結(jié)賬部分代碼: private void button2_Click(object sender, EventArgs e)//結(jié)賬 { if (isMember == true)//如果是會員 { yingshou = yingshou * memberDiscount。//一次交易所得利潤 yingshou = (({0:F2}, yingshou))。 ++count。 [count].Cells[5].Value = dis。 [count].Cells[1].Value = goodsName。 double dis = (GoodsNO, shopID)。 string goodsName = (GoodsNO,shopID)。 } else { = true。 ()。 } // public static int register。 } else = null。\\39。 } else { (ID, null)。 ()。 } } 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 20 } else //密碼錯誤 { (待審核。 ()。 ()。 ()。//增加用戶登錄次數(shù) if ((username) == 營業(yè)員 ) { ()。 if ((username) == true)//判斷是否存在該用戶名 { if ((username, password) == true)//判斷用密碼是否正確 { if ((username) == 1)//用戶允許位為 1 { if ((username) == 0)//標志位 0,被禁用 { (不好意思 ,該賬號已被禁用! , 提示 , , )。 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 18 public static int flag=0。 本系統(tǒng)主要用到了以下 8 張表: : 圖 41 用戶表 : 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 14 圖 42 用戶日志表 : 圖 43 銷售日志表 : 中小型超市管理系統(tǒng) 15 圖 44 會員表 : 圖 45 會員日志表 : 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 16 圖 46 會員日志管理表 : 圖 47 商品信息表 中小型超市管理系統(tǒng) 17 圖 48 貨源信息表 系統(tǒng)功能設(shè)計 登錄界面 : 圖 49 登錄界面 代碼說明: public partial class Login : Form { public static string username = null。 業(yè)務(wù)流程分析 超市管理系統(tǒng)主要是是以先進的管理理念和科學(xué)的計算機技術(shù)來取代原始的手工操作。 2.實用性原則:適合產(chǎn)品信息管理工作的實際需求,并能夠處理一些特殊情況的要求,此外,盡可能預(yù) 留空間,以便擴充功能。 超級管理員模塊 可以對分店進行管理,查看分店的 營業(yè)情況。 3.數(shù)據(jù)流設(shè)計,在應(yīng)用系統(tǒng)設(shè)計中,相對獨立的模塊間以數(shù)據(jù)流相互連接,使各模塊間的耦合性較低,方便系統(tǒng)運行,提高系統(tǒng)安全性。 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 4 系統(tǒng)用例圖分析 整個超市管理系統(tǒng)分為四個模塊,營業(yè)模塊,店鋪管理 員模塊,超級管理員模塊和會員管理模塊。 系統(tǒng)性能要求 該系統(tǒng)的安全性主要是防止他人非法進入系統(tǒng),從而保證了 數(shù)據(jù)的安全性,數(shù)據(jù)存儲的完整性和數(shù)據(jù)的可靠性。 超級管理員可以對分店進行管理,查看分店的營業(yè)情況。 店鋪管理員可以注冊營業(yè)員的信息,也可以對自己賬戶的信息進行修改。他們分別實現(xiàn)以下功能: 營業(yè)員通過刷條形碼顯 示商品的所有信息,包括價格和折扣率,自動根據(jù)所有商品計算出商品總額,支付時如果有會員卡可以用會員卡里的現(xiàn)金支付或者使用會員卡的積分打折,結(jié)完賬后自動更新會員卡中的金額和積分。 :因為通過網(wǎng)絡(luò)傳遞銷售信息可以不受距離的限制,因此可以借閱許多的人力和物力,方便管理,由此可以減少不必要的開支,同時該系統(tǒng)可以提高超市的銷售效率,即提高 了超市的經(jīng)濟效益,所以從經(jīng)濟上完全是可行的。 可行性分析 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 2 :該系統(tǒng)采用 Microsoft Visual Studio 2021 作 為開發(fā)工具,它們功能強大、開發(fā)簡便,支持 .NET Framework、 LINQ 技術(shù)和 AJAX 技術(shù)。隨著超市高速的發(fā)展,其經(jīng)營管理也變得愈加復(fù)雜,早期的售貨員站柜臺的形式早已不能滿足現(xiàn)有銷售也的發(fā)展,這樣就迫切地需要引入新的管理技術(shù)。在開發(fā)過程中,我們針對當前各超市管理的特點和技術(shù)人員的實際水平,采用基于 Windows 圖形用戶界面這一易學(xué)易用的操作環(huán)境,在系統(tǒng)設(shè)計過程中,我們盡量采用易懂易讀的人機界面,使用戶可以在短期內(nèi)完全掌握。 Database。 關(guān)鍵詞 : 超市;營業(yè);信息管理;數(shù)據(jù)庫; LINQ 洛陽師范學(xué)院 2021 屆本科生畢業(yè)設(shè)計 II Abstract With the continuous development and expansion of the small supermarket’s scale, there is a sharp increase in the number of goods, and the relevant information of the goods doubled and redoubled. But a large supermarket management system is so powerful and plicated operation that it reduces the working efficiency of the small supermarket. A management system for small supermarket is in need. The system is divided into the front desk business and the background ma nagement. The system is divided into the front desk business and the background management. The front desk business mainly realizes the function of assistant business and check. The background management module contains the store management, modity management, member management, etc. The system can manage the business, purchasing goods and the information of assistant dynamically and timely with a database update. The system was developed with the LINQ (Language Integrated Query) and C in the environment of Microsoft Visual Studio 2021,and it used a threetier architecture (presentation layer, business layer, data layer) to achieve the separation of view layer, business logic Layer and data layer which made the system structure more intuitive . This paper systematically analyzes the background of software development。 前臺營業(yè)主要實現(xiàn) 營業(yè)員營業(yè)和結(jié)賬 的 功能 ; 后臺管理 模塊 中包含店鋪管理 ,商品管理,會員管理等。 LUOYANG NORMAL UNIVERSITY 2021 屆本科畢業(yè)設(shè)計 中小型 超市管理系統(tǒng)