注册 登录
编程论坛 新人交流区

求助(基于VB.

tammy 发布于 2007-10-08 22:07, 1589 次点击

朋友们帮帮忙,我在大马留学,我刚接触VB。NET不久,老师就给一个这个assignment,这让我不知道该怎么下手,高手们帮下拉,会的就帮下忙, 关于超市的系统

CASE STUDY

You are asked to develop a Visual Basic.Net program for a Supermarket. It should allow the cashier to receive the products from customers and generate a sales receipt. Each item has its own product code. Your program should allow the cashier to select the product code from the system and display the price. Once all items have been selected, your program should generate a customer’s sales receipt. Your program should have the following product category in the database such as:

v Dairy Productsv Vegetablesv Soft Drinksv Household Productsv Fruitsv Biscuitsv Toiletriesv Baby Products

Each product category has a unique product code as listed below:

Product-Category

Product Code

Dairy Products

1

Vegetables

2

Soft Drinks

3

Household Products

4

Fruits

5

Biscuits

6

Toiletteries

7

Baby Products

8

Your program should have the following modules:

1. Login Module

The login module is used by the systems administrator and cashier to access the system. This module should allow the systems administrator to add new staff, update and delete records.

Table Name :

Login

Field Name

Data Type

Username – Primary Key

Text

Password

Text -Min 8 characters

Name

Text

DOB

Date

Email

Text

2. Product Module

This module should allow the systems administrator to add, update and delete products from the database. You should have a search function to search for a product category. You should also be able to add more product categories into the database.

Table Name :

Product

Field Name

Data Type

PCode – Primary Key

Integer

ProductCategory

Text

Table Name :

ProductType

Field Name

Data Type

No – Primary Key

Autonumber

PCode - Foreign Key

Integer

Typecode

Integer

Description

Text

Cost

Currency

3. Payment Module

The payment module allows the cashier to key in the product code and display the total cost to be paid by the customer. A receipt is generated once all items have been keyed into the system. Furthermore, a discount of 15% is given to customers who purchase an amount of RM100 and above.

Table Name :

Payment

Field Name

Data Type

Counter

Autonumber

TransactionNo

Integer

TypeCode – Primary Key

Text

Description

Text

Cost

Currency

Date

Date / Time

4. Report Module

This module is used to print the following hardcopy:

a) Receipt which is given to the customer once they have made their payment. (See Appendix A).

b) Cash Collection Report for a given date range e.g monthly or weekly cash flow (see Appendix B).

Appendix A

a) Sample Receipt

TPM Supermarket

Receipt

Transaction No : 1

Date : 3/5/2007

PCode TypeCode Description Cost

7 111 Shampoo 10.00

7 112 Soap 5.00

3 113 Coke 2.20

Total 17.20

Discount (%) 0

Nett Total 17.20

Thank You

Please Come Again

Appendix B

b) Sample Cash Collection Report

TPM Supermarket

Month: September

Cash Flow for the month of September: RM 2000

16 回复
#2
mrseventeen2007-10-09 17:14

天啊~~英文没过6级看不懂,过了6级还不大懂~!
#3
xiaoyutou2007-10-09 17:16
看不懂!
#4
luanjinling2007-10-09 17:38
这是关于超市及数据库系统的,表中有些内容是应当在数据库中表现的,如NAME等
#5
fangjian772007-10-09 20:27
回复:(tammy)求助(基于VB.
真是厉害脚色啊.
#6
tammy2007-10-11 15:31
回复:(mrseventeen)[em03][em03][em03]天啊~~英文没...

朋友们,帮下忙拉, 这个就是 超市的管理系统, 你们有做过的,就让我借鉴一下拉, 帮帮拉, 这个做业也就是用VB.net和ACCESS 联合的, 大家懂的话,就帮下忙, 回国请你们吃大餐, 哈哈哈谢谢拉

#7
tammy2007-10-11 15:37
4楼,,恩, 表格里的就是数据库的内容, 你懂的话就帮帮拉
#8
purana2007-10-11 15:39
这都是基础呗..
找到教程都有讲到的.
#9
tammy2007-10-11 19:59

我是想找个相似的内容,然后我就知道到底应该从哪里入手!!!!!!!!我就接触一个月啊,这么难的作业就出来拉, 伤心!!!!

#10
purana2007-10-11 20:05

那你就直接跟你的导师说吧.

#11
tammy2007-10-11 22:21

这杂所啊. 这作业都留拉, 还杂能说太难不做啊, 就一个月时间啊, 哎!!!要人命啊

#12
tammy2007-10-12 18:52

朋友们, 有会的吗? 帮帮我拉, 时间不多拉,

#13
tammy2007-10-12 18:54
回复:(tammy)求助(基于VB.

朋友们啊, 有会的吗? 赶快帮帮我拉, 时间不多拉

#14
天人和一2007-10-12 19:02

用翻译一下(金山)有会的就帮一 下了!!!


个案研究


你被要求为一家自选市场发展一个视觉的 Basic.Net 计画。 它应该让收银员接受来自客户的产品而且产生一张售卖收据。 每个项目有它自己的产品密码。 你的计画应该让收银员选择来自系统的产品密码而且显示价格。 一经所有的项目已经被选择,你的计画应该产生一个客户的售卖收据。 你的计画应该有下列的产品种类在数据库,像是 : 中


v 乳酪农场 Productsv Vegetablesv 软的 Drinksv 家庭 Productsv Fruitsv Biscuitsv Toiletriesv 宝贝产品

每种产品种类在下面有一个独特的产品密码如列出的:


产品-种类
产品密码

乳制品
1

蔬菜
2

果汁
3

家庭产品
4

水果
5

饼干
6

Toiletteries
7

宝贝产品
8

你的计画应该有下列的组件:


1. 登录组件


登录组件被系统管理人和收银员用存取系统。 这一个组件应该让系统管理人增加新的职员, 更新而且划除记录。


桌子名字 :
登录

领域名字
数据类型

使用者名称 - 主要的钥匙
本文

密码
本文 -最小 8个个性

名字
本文

罗伯特
日期

电子邮件
本文

2. 产品组件


这一个组件应该让系统管理人增加, 更新而且划除来自数据库的产品。 你应该有对对一个产品种类的搜寻一个搜寻功能。 你也应该能够把较多的产品种类加入数据库。


桌子名字 :
产品

领域名字
数据类型

PCode- 主要的钥匙
完整的事物

ProductCategory
本文

桌子名字 :
ProductType

领域名字
数据类型

不 - 主要的钥匙
Autonumber

PCode- 外国的钥匙
完整的事物

Typecode
完整的事物

描述
本文

费用
通货

3. 付款组件


付款组件让收银员键入产品密码而且显示被花费被客户支付的总数。 一张收据被产生一次,所有的项目已经被进入系统之内键入。 此外, 15% 的优惠对购买许多 RM100 的客户和在上面有。


桌子名字 :
付款

领域名字
数据类型

柜台
Autonumber

TransactionNo
完整的事物

TypeCode- 主要的钥匙
本文

描述
本文

费用
通货

日期
日期 /时间


4. 报告组件


这一个组件用来印刷下列的 hardcopy:


一) 一经他们已经完成他们的付款是给客户的收据。 (见到附录 A).

b) 一个给定的日期现金收集报告排列举例来说每月或者每周的现金流程。 (见到附录 B)


附录 A


一) 样品收据

TPM 自选市场

收据

交易号码 : 1

日期 : 3/5/2007


PCode TypeCode 描述 费用

7 111 洗发精 10.00

7 112 肥皂 5.00

3 113 可口可乐 2.20

总数 17.20

优惠 (%) 0

Nett 总数 17.20

谢谢你

请再来


附录 B


b) 样品现金收集报告


TPM 自选市场


月: 九月


为九月兑现流程: RM 2000

#15
sagittast832007-10-12 20:22

呵呵,偶是新手
很想帮你,可不会啊

#16
tammy2007-10-15 14:02

哈哈^_^, 谢谢你的翻译啊, 嘿嘿, 看来也难住大家拉啊!!!!!!!!

#17
purana2007-10-15 14:34
自己动手,丰衣足食.
1