資源簡(jiǎn)介
系統(tǒng)目標(biāo)與要求
調(diào)查從事醫(yī)藥產(chǎn)品零售、批發(fā)等工作的企業(yè),根據(jù)其具體情況設(shè)計(jì)醫(yī)藥銷售管理系統(tǒng)。主要功能如下:
(1) 基礎(chǔ)信息管理:藥品信息、客戶信息、供應(yīng)商信息等。
(2) 進(jìn)貨管理:入庫(kù)登記、入庫(kù)登記查詢、入庫(kù)報(bào)表等。
(3) 庫(kù)房管理:庫(kù)存查詢、退貨處理、庫(kù)存報(bào)表等。
(4) 銷售管理:銷售退貨、銷售報(bào)表及相應(yīng)的查詢等。
數(shù)據(jù)結(jié)構(gòu):藥品
含義說(shuō)明:藥品管理系統(tǒng)的主體數(shù)據(jù)結(jié)構(gòu),定義了一種藥品的有關(guān)信息
組成:藥品編號(hào),藥品名稱,藥品類別,藥品有效期,藥品零售價(jià),藥品批發(fā)價(jià),藥品進(jìn)價(jià),庫(kù)存數(shù)量
數(shù)據(jù)流:采購(gòu)藥品
說(shuō)明:藥品的進(jìn)貨情況
數(shù)據(jù)流來(lái)源:向供應(yīng)商發(fā)送訂單
數(shù)據(jù)流去向:?jiǎn)T工向采購(gòu)表增加信息
數(shù)據(jù)存儲(chǔ):采購(gòu)明細(xì)表
說(shuō)明:藥品進(jìn)貨情況
處理過(guò)程:更改藥品信息
說(shuō)明:進(jìn)貨后進(jìn)貨表,藥品信息表
輸入:進(jìn)貨訂單
輸出:采購(gòu)明細(xì)表,采購(gòu)主表,藥品信息表
處理:若所采購(gòu)的藥品是已存在的一種,則增加藥品數(shù)量;若該藥品第一次被采購(gòu),則在藥品信息表中新加入該藥品。同時(shí)采購(gòu)明細(xì)表及采購(gòu)主表增加本次采購(gòu)信息。

代碼片段和文件信息
import?java.awt.BorderLayout;
import?java.awt.Graphics;
import?java.awt.event.ActionEvent;
import?java.awt.event.ActionListener;
import?java.sql.Connection;
import?java.sql.DriverManager;
import?java.sql.Statement;
import?javax.swing.*;
public?class?DelMedicineInfo?extends?Jframe{
private?static?final?long?serialVersionUID?=?1L;
ImageIcon?background;
JPanel?jPanel1;?
JLabel?labtitle=new?JLabel(“----請(qǐng)選擇刪除藥品信息的方法----“);
JLabel?labMedNumber=new?JLabel(“請(qǐng)輸入藥品編號(hào):“);
JTextField?txtMedNumber=new?JTextField();
JButton?btnMedNumber=new?JButton(“確定“);
JLabel?labMedName=new?JLabel(“請(qǐng)輸入藥品名稱:“);
JTextField?txtMedName=new?JTextField();
JButton?btnMedName=new?JButton(“確定“);
JButton?btnQuit=new?JButton(“取消“);
public?DelMedicineInfo(){
super(“藥店管理系統(tǒng)--刪除“);
background=new?ImageIcon(“./背景.jpg“);
JLabel?label=new?JLabel(background);
label.setBounds(00background.getIconWidth()background.getIconHeight());
this.labtitle.setSize(20030);
this.labtitle.setLocation(8010);
this.labtitle.setOpaque(false);
this.labMedNumber.setSize(11030);
this.labMedNumber.setLocation(5050);
this.labMedNumber.setOpaque(false);
this.txtMedNumber.setSize(10030);
this.txtMedNumber.setLocation(16050);
this.txtMedNumber.setOpaque(false);
this.btnMedNumber.setSize(6030);
this.btnMedNumber.setLocation(27050);
this.btnMedNumber.setOpaque(false);
this.labMedName.setSize(11030);
this.labMedName.setLocation(5090);
this.labMedName.setOpaque(false);
this.txtMedName.setSize(10030);
this.txtMedName.setLocation(16090);
this.txtMedName.setOpaque(false);
this.btnMedName.setSize(6030);
this.btnMedName.setLocation(27090);
this.btnMedName.setOpaque(false);
this.btnQuit.setSize(6030);
this.btnQuit.setLocation(150130);
this.btnQuit.setOpaque(false);
JPanel?jPanel1=new?JPanel(){
private?static?final?long?serialVersionUID?=?1L;
{
this.setOpaque(false);
this.setLayout(new?BorderLayout());
}
public?void?paintComponent(Graphics?g){
g.drawImage(background.getImage()00this);
super.paintComponents(g);
}
};
this.setLayout(null);
this.getContentPane().add(labtitle);
this.getContentPane().add(labMedNumber);
this.getContentPane().add(txtMedNumber);
this.getContentPane().add(btnMedNumber);
this.getContentPane().add(labMedName);
this.getContentPane().add(txtMedName);
this.getContentPane().add(btnMedName);
this.getContentPane().add(btnQuit);
this.getContentPane().add(jPanel1);
//------按藥品編號(hào)刪除的注冊(cè)事件處理------//
this.btnMedNumber.addActionListener(new?DelNumberActionListener(this));
//------按藥品名稱刪除的注冊(cè)事件處理------//
this.btnMedName.addActionListener(new?DelNameActionListener(this));
//------取消按鈕事件注冊(cè)------//
this.btnQuit.addActionListener(new?QuitDelActionListener(this));
this.setBounds(450?200400200);
this.se
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2015-05-14?20:06??數(shù)據(jù)庫(kù)大作業(yè)最終版\
?????目錄???????????0??2014-10-02?15:42??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\
?????文件?????????322??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\.classpath
?????文件?????????388??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\.project
?????目錄???????????0??2014-10-02?15:42??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\
?????文件?????????659??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ButtonInserActionListener.class
?????文件?????????645??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ButtonInsertActionListener.class
?????文件?????????653??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ButtonQuiActionListener.class
?????文件?????????639??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ButtonQuitActionListener.class
?????文件????????1047??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\DelMedicineInfo$1.class
?????文件????????5280??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\DelMedicineInfo.class
?????文件?????????643??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\DelNameActionListener.class
?????文件?????????649??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\DelNumberActionListener.class
?????文件?????????648??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InPriceActionListener.class
?????文件????????1023??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InsMedicine$1.class
?????文件????????1041??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InsMedicine$2.class
?????文件????????6531??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InsMedicine.class
?????文件????????1047??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InsMedicineInfo$1.class
?????文件????????1065??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InsMedicineInfo$2.class
?????文件????????6941??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\InsMedicineInfo.class
?????文件????????2242??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\Login$1.class
?????文件????????4046??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\Login.class
?????文件?????????929??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\Login1$1.class
?????文件????????2732??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\Login1$2.class
?????文件????????2242??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\Login1$3.class
?????文件????????2553??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\Login1.class
?????文件?????????602??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\LoginButtonActionPreform.class
?????文件?????????705??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ManageMain$1.class
?????文件?????????705??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ManageMain$2.class
?????文件?????????705??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ManageMain$3.class
?????文件?????????705??2014-10-01?17:58??數(shù)據(jù)庫(kù)大作業(yè)最終版\Java工程\bin\ManageMain$4.class
............此處省略43個(gè)文件信息
評(píng)論
共有 條評(píng)論