數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告_第1頁
數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告_第2頁
數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告_第3頁
數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告_第4頁
數(shù)據(jù)庫課程設(shè)計(jì)報(bào)告_第5頁
已閱讀5頁,還剩8頁未讀 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

湖南文理學(xué)院數(shù)據(jù)庫課程設(shè)計(jì)-PAGE10-《數(shù)據(jù)庫原理與應(yīng)用》課程設(shè)計(jì)報(bào)告評(píng)閱成績(jī)?cè)u(píng)閱成績(jī)?cè)u(píng)閱教師評(píng)閱時(shí)間題目:倉庫管理系統(tǒng)設(shè)計(jì)專業(yè)班級(jí):電信0801班設(shè)計(jì)學(xué)生:蔣文福胡藝靜李程旭設(shè)計(jì)時(shí)間:2011年6月 湖南文理學(xué)院物理與電子科學(xué)學(xué)院 摘要:隨著現(xiàn)代工業(yè)的發(fā)展,計(jì)算機(jī)信息管理系統(tǒng)越來越受到企業(yè)重視。本報(bào)告主要分析了倉庫管理系統(tǒng)的一些基本功能和組成情況,包括系統(tǒng)的需求分析、系統(tǒng)結(jié)構(gòu),功能模塊劃分以及數(shù)據(jù)庫模式分析等。圖倉庫管理系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn),通過ASP技術(shù)和access技術(shù),設(shè)計(jì)出了一個(gè)簡(jiǎn)單方便的倉庫管理系統(tǒng),能讓倉庫管理員從繁重的工作中解脫,有助于提高物品入庫,查詢,出庫,提高了管理員的工作效率。用計(jì)算機(jī)對(duì)產(chǎn)品倉庫信息進(jìn)行管理,具有著人工管理無法比擬的優(yōu)點(diǎn),它檢索迅速、查找方便、可靠性高、存儲(chǔ)量大、保密性好、壽命長(zhǎng)、成本低等,可減少更多的人力物力,這些都能夠極大地提高貨品庫存的管理效率,也是企業(yè)庫存管理科學(xué)化、正規(guī)化,與世界接軌的重要條件。因此,開發(fā)一個(gè)倉庫管理系統(tǒng)是很有必要的,具有其特有的技術(shù)意義和管理意義。本次課程設(shè)計(jì)有登錄用戶模塊,添加用戶模塊,添加物品模塊,添加倉庫分類模塊,修改模塊。開發(fā)環(huán)境:access2003dreamwaver1、引言:當(dāng)今時(shí)代是飛速發(fā)展的信息時(shí)代,在各行各業(yè)中離不開信息處理,這正是計(jì)算機(jī)被廣泛應(yīng)用于信息處理系統(tǒng)的環(huán)境。計(jì)算機(jī)最大的好處在于利用它能夠進(jìn)行信息管理,使用計(jì)算機(jī)進(jìn)行信息控制,不僅提高了工作效率,而且大大的提高了其安全性。尤其對(duì)復(fù)雜的信息管理,計(jì)算機(jī)能夠充分發(fā)揮它的優(yōu)越性。計(jì)算機(jī)進(jìn)行信息管理與信息管理系統(tǒng)的開發(fā)密切相關(guān),系統(tǒng)的開發(fā)是系統(tǒng)管理的前提。倉庫管理系統(tǒng)是一個(gè)企事業(yè)單位不可缺少的一部分,它的內(nèi)容對(duì)于企業(yè)的決策者和管理者來說都是至關(guān)重要的,因此,倉庫管理系統(tǒng)應(yīng)該能夠?yàn)橛脩籼峁┏渥愕男畔⒑涂旖莸牟樵兪侄?,但一直以來人們使用傳統(tǒng)的人工方式管理倉庫,這種管理方式存在著許多缺點(diǎn),諸如效率低,保密性差等,而且時(shí)間一長(zhǎng),將產(chǎn)生大量的文件和數(shù)據(jù),這對(duì)于查找、更新和維護(hù)都帶來了不少的困難。作為計(jì)算機(jī)應(yīng)用的一部分,使用計(jì)算機(jī)對(duì)產(chǎn)品倉庫信息進(jìn)行管理,具有著人工管理無法比擬的優(yōu)點(diǎn),它檢索迅速、查找方便、可靠性高、存儲(chǔ)量大、保密性好、壽命長(zhǎng)、成本低等,可減少更多的人力物力,這些都能夠極大地提高貨品倉庫的管理效率,也是企業(yè)倉庫管理科學(xué)化、正規(guī)化,與世界接軌的重要條件。因此,開發(fā)一個(gè)倉庫管理系統(tǒng)是很有必要的,具有其特有的技術(shù)意義和管理意義。2、功能:2.1)、數(shù)據(jù)錄入功能:主要任務(wù)是對(duì)各種倉庫物品的日常管理,如物品的輸入、查詢、修改、增加,迅速準(zhǔn)確地完成各種物品的進(jìn)出庫信息的統(tǒng)計(jì)計(jì)算,快速打印出報(bào)表。2.2)、數(shù)據(jù)修改功能: 主要任務(wù)是對(duì)各種倉庫物品的進(jìn)出庫進(jìn)行日常的修改管理!2.3)物品的出倉功能:主要是當(dāng)從倉庫取出物品時(shí)對(duì)數(shù)據(jù)的修改管理。3、代碼部分:(主要代碼)3、1)、登錄界面login.asp<html><head><title>倉庫管理系統(tǒng)</title><linkrel="stylesheet"type="text/css"href="forum.css"></head><bodyonload=this.document.input.username.focus();bgcolor="#FFFFFF"topmargin=0><!--#includefile="opendb.inc"--><!--#includefile=myPrg.asp--><%Showtitle("用戶登錄")%><scriptLANGUAGE="javascript"><!--functioninput_onsubmit(){if(document.input.username.value==""){alert("請(qǐng)?zhí)顚懹脩裘?)document.input.username.focus()returnfalse}if(document.input.password.value==""){alert("請(qǐng)輸入密碼!")document.input.password.focus()returnfalse}if(document.input.selStorage.value==0){alert("請(qǐng)選擇倉庫!")document.input.selStorage.focus()returnfalse}}//--></script><formaction="loginchk.asp"method="POST"name="input"LANGUAGE="javascript"onSubmit="returninput_onsubmit()"><tablealign=centerborder="1"width="250"bgcolor="#F7FBFF"bordercolorlight="#2F97FF"cellspacing="0"bordercolordark="#F0F8FF"><tr><tdwidth="100%"bgcolor="#FAD185"><divalign="center"><center><p><fontcolor=blue><strong>用戶登錄</strong></font></td></tr><tr><td><tableborder=0><tr><tdnowrapalign=right>用戶名:</td><td><inputclass=smallinputtype=textname="username"value=<%=session("logname")%>></td></tr><tr><tdnowrapalign=right>密碼:</td><td><inputclass=smallinputtype=passwordname="password"value=""></td></tr><tr><tdnowrapalign=right>倉庫:</td><td><%ShowStorage%></td></tr><tr><tdalign=center></td><td><br><inputclass="buttonface"type="submit"value="登錄"name="ok"><inputclass="buttonface"type="reset"value="清除"name="reset"></td></tr></table></td></tr></table></form><!--#includefile="copyright.asp"--></body></html>3.2)、倉庫管理界面:manage.asp<%@LANGUAGE="VBSCRIPT"%><%response.buffer=true%><%consttitle="管理主界面"%><html><head><title><%=title%></title><linkrel="stylesheet"type="text/css"href="forum.css"></head><bodytopmargin=0><!--#includefile=myPrg.asp--><!--#includefile=Opendb.inc--><palign=center><li><ahref=type.asp>分類查看庫存(分類復(fù)雜的情況)</a><li><ahref=brow.asp>分類查看庫存(分類簡(jiǎn)單的情況)</a><li><ahref=report.asp>今日庫存報(bào)表</a><li><ahref=all.asp>查看全部倉庫</a><li><ahref=chkpass.asp>修改密碼</a><li><ahref=newuser.asp>新增用戶</a><li><ahref=typemanage.asp>新增分類</a><li><ahref=storagemanage.asp>新增倉庫</a><li><ahref=providermanage.asp>新增供應(yīng)商</a><li><ahref=logout.asp>安全退出</a></font></body></html>3.3)、修改物品信息:edit.asp<%@LANGUAGE="VBScript"%><%response.buffer=true%><%consttitle="修改品名"%><html><head><metahttp-equiv="Content-Type"content="text/html;charset=gb_2312-80"><metaname="GENERATOR"content="MicrosoftFrontPageExpress2.0"><title><%=title%></title><linkrel=stylesheettype=text/csshref=forum.css></head><bodytopmargin=0><!--#includefile=myPrg.asp--><!--#includefile=Opendb.inc--><%CheckLoginShowtitle(title)getStorage(session("storage"))%><%nid=request.querystring("id")'response.write"nid="&nidifrequest("id")=""thenshowerror("錯(cuò)誤修改數(shù)據(jù)")endififRequest.ServerVariables("REQUEST_METHOD")="POST"thenerrmsg=""ifrequest.form("name")=""thenerrmsg="請(qǐng)?zhí)顚懨Q!<br>"endififrequest.form("unit")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚憜挝唬?lt;br>"endififrequest.form("gg")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚懸?guī)格!<br>"endififrequest.form("hh")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚懾浱?hào)!<br>"endififrequest.form("hm")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚懾浢?lt;br>"endififrequest.form("max")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚懽罡叽媪浚?lt;br>"endififrequest.form("min")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚懽畹痛媪浚?lt;br>"endififrequest.form("address")=""thenerrmsg=errmsg+"請(qǐng)?zhí)顚憙?chǔ)存地點(diǎn)!<br>"endififerrmsg<>""thenshowerror(errmsg)endifsql="select*fromstockwherename_id="&request("id")rs.opensql,conn,3,2ifnotrs.eofthenrs("name")=request.form("name")'rs("storage_id")=session("storage")'rs("type_id")=session("prnt")rs("unit")=request.form("unit")rs("rule")=request.form("gg")rs("no")=request.form("hh")rs("hm")=request.form("hm")rs("max")=request.form("max")rs("min")=request.form("min")rs("address")=request.form("address")rs.updateelseshowerror("錯(cuò)誤!沒有該記錄!")endifrs.closeresponse.redirect"list.asp?id="&request("id")'成功地留了言!response.flushelsesql="select*fromstockwherename_id="&request("id")rs.opensql,conn,3,2ifnotrs.eofthen%><formaction="edit.asp"method="POST"name="input"><palign=center><fontcolor=red>請(qǐng)?jiān)谝韵碌谋砀裰行薷南嚓P(guān)的數(shù)據(jù)</font><p><tablealign=centerborder=0><inputtype=hiddenname=idvalue=<%=nid%>><tr><tdnowrap><fontcolor=blue>名稱:</td><td><inputclass=smallInputtype=textboxname="name"value='<%=rs("name")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>計(jì)量單位:</td><td><inputclass=smallInputtype=textboxname="unit"value='<%=rs("unit")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>規(guī)格:</td><td><inputclass=smallInputtype=textboxname="gg"value='<%=rs("rule")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>貨號(hào):</td><td><inputclass=smallInputtype=textboxname="hh"value='<%=rs("no")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>貨名:</td><td><inputclass=smallInputtype=textboxname="hm"value='<%=rs("hm")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>最高存量:</td><td><inputclass=smallInputtype=textboxname="max"value='<%=rs("max")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>最低存量:</td><td><inputclass=smallInputtype=textboxname="min"value='<%=rs("min")%>'>**</td></tr><tr><tdnowrap><fontcolor=blue>儲(chǔ)存地點(diǎn):</td><td><inputclass=smallInputtype=textboxname="address"value='<%=rs("address")%>'>**</td></tr><tr><td><td><br><inputclass=buttonfacetype=submitname=okvalue=確定><inputclass=buttonfacetype=resetname=resetvalue=復(fù)原><inputclass=buttonfacetype=buttonname=retuvalue=返回onclick=history.go(-1)></tr></table></form><%rs.closeelseshowerror("找不到該記錄!")endif%><%endif%

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

評(píng)論

0/150

提交評(píng)論