update,
This commit is contained in:
145
teddy_y/job1/requirement.txt
Normal file
145
teddy_y/job1/requirement.txt
Normal file
@@ -0,0 +1,145 @@
|
||||
1.採購經理界面
|
||||
|
||||
為採購經理操作創建導航菜單:
|
||||
|
||||
下訂單(Make orders)
|
||||
查看訂單記錄(View order records)
|
||||
更新採購經理信息(Update purchase manager's information)
|
||||
刪除訂單記錄(Delete order record)
|
||||
|
||||
1.1.為每個操作設計單獨的頁面和表單,合併您的規範中提到的必填字段和功能。
|
||||
|
||||
1.2. 下訂單
|
||||
為所需的訂單信息創建一個帶有輸入字段的表單。
|
||||
使用 JavaScript 自動生成訂單 ID。
|
||||
使用 JavaScript 或日期選擇器庫來選擇訂單日期和時間以及交貨日期。
|
||||
使用可排序和可過濾的表格或列表顯示可用項目,允許用戶將項目添加到訂單中。
|
||||
|
||||
* Sort the list of items wisely to facilitate smart purchasing
|
||||
|
||||
Required information for creating an order as below:
|
||||
|
||||
1. Order ID
|
||||
2. Purchase Manager ID
|
||||
3. Manager Name
|
||||
4. Order Date & Time
|
||||
5. Delivery Address
|
||||
6. Delivery Date
|
||||
7. Item ID
|
||||
8. Item Image
|
||||
9. Item Name
|
||||
10. Order Quantity
|
||||
11. Item Price
|
||||
12. Total Order Amount
|
||||
|
||||
* orderID should be generated automatically by the system as Primary Key
|
||||
* update the stock item quantity after an order is created
|
||||
|
||||
|
||||
1.3. 查看訂單記錄
|
||||
在表格或列表中顯示訂單記錄。
|
||||
允許用戶按至少兩列對數據進行排序和過濾。
|
||||
按供應商對訂購的物品進行分組。
|
||||
|
||||
Required information for order record page:
|
||||
|
||||
1. Order ID
|
||||
2. Supplier ID
|
||||
3. Supplier’s Company Name
|
||||
4. Supplier’s Contact Name
|
||||
5. Supplier’s Contact Number
|
||||
6. Order Date & Time
|
||||
7. Delivery Address
|
||||
8. Delivery Date
|
||||
9. Item ID
|
||||
10. Item Image
|
||||
11. Item Name
|
||||
12. Order Quantity
|
||||
13. Total Order Amount
|
||||
|
||||
|
||||
Function requirement:
|
||||
* Group ordered items by suppliers
|
||||
* List the items in ascending or descending order by at least TWO columns selectable by the user
|
||||
|
||||
1.4. 更新採購經理的信息
|
||||
創建一個表單,其中包含用於更新密碼、聯繫電話和倉庫地址的輸入字段。
|
||||
|
||||
Only allow the use to update the following information:
|
||||
1. Password
|
||||
2. Contact Number
|
||||
3. Warehouse Address
|
||||
|
||||
|
||||
1.5. 刪除訂單記錄
|
||||
在“查看訂單記錄”部分為每條訂單記錄添加刪除按鈕。
|
||||
在刪除記錄之前使用 JavaScript 顯示確認消息。
|
||||
刪除訂單後更新庫存項目數量。
|
||||
|
||||
Function requirement:
|
||||
- A confirmation message should be displayed to let the user decide whether the selected order should be deleted or not.
|
||||
|
||||
* The order can only be deleted two days or before the receipts delivery date.
|
||||
|
||||
|
||||
2.供應商界面
|
||||
|
||||
為供應商操作創建導航菜單:
|
||||
|
||||
插入項目信息(Insert item's information)
|
||||
編輯物品信息(Edit item's information)
|
||||
生成報告(Generate report)
|
||||
刪除項目(Delete Item)
|
||||
|
||||
2.1. 為每個操作設計單獨的頁面和表單,合併您的規範中提到的必填字段和功能。
|
||||
|
||||
2.2. 插入項目信息
|
||||
創建一個表單,其中包含所需項目信息的輸入字段。
|
||||
使用 JavaScript 自動生成項目 ID。
|
||||
|
||||
Required Item information:
|
||||
|
||||
1. Item ID
|
||||
2. Suppler ID
|
||||
3. Item Name
|
||||
4. Item Image
|
||||
5. Item Description
|
||||
6. Stock Item Quantity
|
||||
7. Price
|
||||
|
||||
|
||||
*itemID should be generate automatically by the system as Primary Key.
|
||||
|
||||
2.3.編輯物品信息
|
||||
創建一個表單,其中包含所需項目信息的輸入字段。
|
||||
加載現有的項目數據進行編輯。
|
||||
|
||||
Required Item information:
|
||||
|
||||
1. Item Description
|
||||
2. Item Image
|
||||
3. Stock Item Quantity
|
||||
4. Price
|
||||
|
||||
2.4. 生成報告
|
||||
顯示包含報告頁面所需信息的表格或列表。
|
||||
計算每個訂單項目的總銷售額。
|
||||
|
||||
Required information for report page:
|
||||
1. Item ID
|
||||
2. Item Name
|
||||
3. Item Image
|
||||
4. Total number for each order item
|
||||
5. Total sales amount ($) for each order item *
|
||||
|
||||
*total sales amount = price * order quantity
|
||||
|
||||
|
||||
2.5. 刪除項目
|
||||
為供應商的項目列表中的每個項目添加一個刪除按鈕。
|
||||
在刪除項目之前使用 JavaScript 顯示確認消息。
|
||||
|
||||
Function requirement:
|
||||
- A confirmation message should be displayed to let the user decide whether the selected item should be deleted or not..
|
||||
|
||||
* An item can be deleted only when the item has no existing related orders.
|
Reference in New Issue
Block a user