追加功能 #294
Implement [Remake Order] function and add [Duplicate Order] function.
Added by Xihua Fan over 2 years ago. Updated about 1 year ago.
Description
Task Details
- [Remake order] 需要重新实装(现状:显示不支持)
(现在当发生Remake的时候,都是重新输入的,这与跟单组绩效相关,需要仔细对应)
另外: Remake的时候应该自动设置 Urgency=DoubleExpress - [Duplicate order] 需要新实装(现状:无此功能)
- Tom & Jennifer
- Report and Solution
Others
Files
| Remake order.png (306 KB) Remake order.png | Xihua Fan, 07/19/2023 11:29 AM | ||
| duplicate order.png (378 KB) duplicate order.png | Zhongbao Ye, 08/30/2023 07:26 PM | ||
| remake order.png (396 KB) remake order.png | Zhongbao Ye, 08/30/2023 07:26 PM |
Updated by Xihua Fan over 2 years ago
- Due date changed from 07/21/2023 to 08/31/2023
- Status changed from 新建 to 进行中
- Start date changed from 07/20/2023 to 08/01/2023
Updated by Zhongbao Ye over 2 years ago
- Due date changed from 08/31/2023 to 08/24/2023
- Start date changed from 08/01/2023 to 08/23/2023
- Estimated time changed from 8.00 h to 16.00 h
Updated by Xihua Fan over 2 years ago
- Due date changed from 08/24/2023 to 08/29/2023
- Start date changed from 08/23/2023 to 08/28/2023
Updated by Zhongbao Ye over 2 years ago
- % Done changed from 0 to 40
Output(2023/08/29) 九亭 ~ (2023/08/30) 居家
- 分析现有remake order是如何操作的? (100%)
- 通过分析多个remake订单,得出结论:remake order也是正常的order之一,也需要订单跟进,物流跟踪等流程。只是针对某个订单存在缺陷,需要重新生产制作。
- 参考update order status 的弹窗,组装remake order/duplicate order的弹窗 (100%)
- 实现思路:根据订单id查询订单详细数据,再组装最新数据,调用订单保存的方法,实现remake order/duplicate order的功能 (100%)
- 分析remake order/duplicate order 相关的表中每个字段该如何处理? (100%)
t_order: - id = 系统生成 - total_index = 系统生成 - ca_index = 系统生成 - order_name = Keyword + old_order_name // Remake = Remake: + old_order_name, Duplicate = Duplicate: + old_order_name - retailer_id - product_count - remake = 1/old_remake // Remake = 1, Duplicate = old_remake - retailer_ship_time = '' // 清空 - retailer_ship_to - retailer_ship_address - customer_ship_time = '' // 清空 - customer_ship_to = '' // 清空 - customer_ship_address - urgency = 2/old_urgency // Remake = 2, Duplicate = old_urgency - is_retailer - not_cn - is_delete t_order_product: - id = 系统生成 - order_id = 系统生成 - file_count - product_type_id - product_name_id - product_color_id - product_size_id - product_material_id - retailer_ship_type = '' // 清空 - retailer_ship_code = '' // 清空 - customer_ship_type = '' // 清空 - customer_ship_code = '' // 清空 - status = 20 // Remake = Order Set(20), Duplicate = Order Set(20) - is_need_sample - quantity - expected_finishing_time = '' // 清空 - extra_info = keyword + old_extra_info // Remake = REMAKR Order No. xxx + old_extra_info, Duplicate = Duplicate Order No. xxx + old_extra_info - is_delete t_order_file 方案:Remake/Duplicate订单中的file存储原始订单的文件信息。2者之间互不影响,一方删除,只是在一方不显示,另一方正常显示。因为数据表是软删除,真正的文件不会被删除。 - Solution:
1. Refer to the update order status popup to assemble the RemakeOrder/Duplicateorder popup.
2. According to the order id query order detail data, and then assemble the latest data, call the saveOrderProducts() method, realize the function of remake order/ duplicate order.
protected/actions/order/DuplicateOrderAction.php (new)
protected/actions/order/QueryForDuplicateAction.php (new)
protected/actions/order/QueryForRemakeAction.php (new)
protected/actions/order/RemakeOrderAction.php (new)
protected/controllers/OrderController.php
protected/services/OrderService.php
protected/views/order/view.php
protected/views/layouts/desktop.php
ui/desktop/js/order.js
Updated by Xihua Fan over 2 years ago
- Subject changed from Implement [Remake order] function and add [Clone order] function. to Implement [Remake order] function and add [Duplicate order] function.
- Description updated (diff)
Updated by Xihua Fan over 2 years ago
- Subject changed from Implement [Remake order] function and add [Duplicate order] function. to Implement [Remake Order] function and add [Duplicate Order] function.
Updated by Zhongbao Ye over 2 years ago
- File duplicate order.png duplicate order.png added
- File remake order.png remake order.png added
Updated by Zhongbao Ye over 2 years ago
- Status changed from 进行中 to 已关闭
- % Done changed from 90 to 100