中小企业采购管理子系统摘要:采购环节作为企业生产链的基础,它的重要性可想而知,传统的采购管理方式已经不能满足现代企业中生产、销售、库存这个流动循环,业务量的高速发展,导致企业库存变动率不断上升,现在,库存率的控制越来越重要,它直接关系着企业资金链的流通周转,因此,采购环节的效率在现代企业中显得越发重要,一种合理科学好用的采购管理方式已经成为企业生产必须要考虑的问题。本文介绍了基于Struts2框架实现的中小企业数字信息化采购管理子系统,使用MVC模型在WEB应用中的不同层次,其中以Struts来实现系统的表示层,通过Common-pool组件实现DBCP连接池的开辟和使用,以DAO模式实现数据库的持久层,通过面向对象语言Java设计各个类实例,类间实现严格封装。Action控制层获取操作请求,并调用相对应的类实现操作请求。该系统实现了企业采购的基本功能,包括下达采购清单、进货管理、付款管理、退货管理、入库管理、库存管理、采购统计、退货统计、报表统计等。该系统操作流程为当企业进行一个采购业务流程时,首先由采购部下达采购清单,再由仓管部新增进货单,然后再审核进货单是否出错,最后付款。关键词:struts2;MVC;ERP;采购管理子系统SmallAndMedium-SizedEnterprisePurchasingSystemAbstract:Procurementproceduresasthebasisofchainofenterpriseproduction,itsimportancecanbeimagined,thetraditionalprocurementmanagementmodecannotsatisfytheneedofmodernenterpriseproduction,salesandinventoriseintheflowloop,withtherapiddevelopmentofbusiness,theenterpriseinventorychangeratekeeprising,now,thecontrolofinventoryratearebecomingmoreandmoreimportant,itrelatestothecirculationflowoftheenterprisecapitalchaindirectly,asaresult,theefficiencyofthepurchasingisbecomingincreasinglyimportantinmodernenterprisedevelopment,areasonable,scientificandusefulwayofmanagementinpurchasingandsupplyhasbecometheenterpriseproductionissueswhichmustbeconsidered.Thispaperintroducestheimplementationofsmallandmedium-sizedenterprisedigitalinformation-basedprocurementmanagementsubsystemwhichisBasedontheStruts2framework,usingMVCmodelindifferentlevelsofWEBapplication,suchastheStrutspresentationlayertoimplementthesystem,usingtheCommon-poolcomponenttosetupanduseDBCPconnectionpool,usingtheDAOpatterntorealizedatabasepersistencelayer,usingtheobject-orientedlanguageJavadesignthestrictencapsulationamongeachclassinstancesandclasses.Gettingretrievalrequest,Actioncontrollayerwillinvokesthecorrespondingclasstoimplementstheoperationrequest.Thesystemrealizedthebasicfunctionofenterpriseprocurement,includingtheorderlisting,stockmanagement,purchasemanagement,returnsmanagement,inventorymanagement,inventorymanagement,procurementstatistics,returnstatistics,reportstatistics,etc.Thesystemisaprocess-whenpurchasingenterprisebusinessprocess,thefirstissuedbythepurchasingDepartmentprocurementlist,andthenbythewarehousedepartmentaddedthewarehousinglistthenreviewwhetheranerroroccurred,thefinalpaymentKeywords:Struts2,MVC,ERP,PurchasingmanageSystem目录一、引言......................................................................1(一)选题背景.................................................................1(二)课题的主要研究内容.......................................................1(三)涉及到的框架与技术.......................................................2二、可行性分析................................................................4(一)经济可行性...............................................................4(二)技术可行性...............................................................4(三)运行可行性...............................................................4(四)法律可行性...............................................................5三、需求分析....................................................................................................................................6(一)系统业务需求规定.........................................................6(二)系统用户需求规定.........................................................6(三)系统功能需求规定.........................................................6(四)非功能需求分析...........................................................6(五)软硬件环境需求...........................................................6(六)需求建模与部分用例规约...................................................7四、软件设计与开发......................................................................................................................14(一)系统流程结构............................................................14(二)静态模型与动态模型设计..................................................16(三)功能模型................................................................31(五)数据表结构..............................................................46五、系统页面实现..........................................................................................................................50(一)采购清单实现............................................................50(二)进货管理实现............................................................57(三)付款管理实现............................................................61(四)库存管理实现............................................................64(五)图表统计实现............................................................65六、系统测试..................................................................................................................................68(一)测试的意义..............................................................68(二)需求测试................................................................68(三)性能测试................................................................68(四)兼容性测试..............................................................69(五)黑盒测试................................................................72七.总结与展望..................................................................................................错误!未定义书签。参考