修改功能 #293
No need to select again when updating order status in bulk (especially when there are multiple products in an order)
Description
Task Details
- 勾选多个订单产品批量更新的时候,需要重新选择处理的对象(订单产品),效率比较低下。
- Order list勾选的产品需要同步到批处理更新的Popup
- 针对一个订单多个产品,没有勾选的产品也需要显示在批处理更新的Popup (只是仍然没有勾选的状态)
- Tom & Jennifer
- Report and Solution
Others
Files
Updated by Xihua Fan over 2 years ago
- Due date changed from 07/21/2023 to 08/31/2023
- 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/22/2023
- Start date changed from 08/01/2023 to 08/22/2023
Updated by Zhongbao Ye over 2 years ago
- Status changed from 进行中 to 已关闭
- % Done changed from 0 to 100
Output(2023/08/22) 居家
- No need to select again when updating order status in bulk (especially when there are multiple products in an order)
- Solution:
1. When opening the orderStatusUpdateForm popup, get the productIds of the checked records in the order list. when building the order list in the popup, determine if the productId of the current row exists in the previously checked list. If so, the current row is selected.
2. Bugfix: Deleted orders not shown in Update order status list
3. Bugfix: Modify the language pack:
old: const SENT_TO_RETAILER_TEXT = 'Sent to Retailer';
new: const SENT_TO_RETAILER_TEXT = 'Sent';
4. Bugfix: The batch operation function(Retailer Received/Send to Customer) does not have a corresponding status,function is not available. Avoid user action, use simple popup reminders(alert("Not support yet.")).
5. Optimization: The data in the popup list is sorted according to the default sorting rules(o.update_time DESC, op.update_time DESC) of the order list, as far as possible, the data in the order list is displayed in the same order.protected/keys/OrderStatus.php
protected/services/OrderService.php
protected/views/layouts/desktop.php
ui/desktop/js/order.plugin.js
ui/desktop/js/order.js
ui/desktop/js/shipment.js - 残留事项: Update order status 页面中列表展示的顺序同order list 展示一致
- Burce: 前端渲染Update order status 页面是通过一条条记录生成,考虑传递sort 和 order 2个字段前端实现比较复杂,可能需要额外花费1-2天的时间。
- Van: 考虑修改的复杂度,建议暂不开发该功能。
Updated by Zhongbao Ye over 2 years ago
- Status changed from 已关闭 to 进行中
- % Done changed from 100 to 90
Updated by Zhongbao Ye over 2 years ago
- Status changed from 进行中 to 已关闭
- % Done changed from 90 to 100
Updated by Xihua Fan over 2 years ago
- Status changed from 已关闭 to 进行中
- % Done changed from 100 to 90
To Bruce
残留事项: Update order status 页面中列表展示的顺序同order list 展示一致
Burce: 前端渲染Update order status 页面是通过一条条记录生成,考虑传递sort 和 order 2个字段前端实现比较复杂,可能需要额外花费1-2天的时间。
Van: 考虑修改的复杂度,建议暂不开发该功能。
再思考一下,传递sort和order可能暂时觉得有点复杂,但是order里面的order product能不能保持相同的【默认顺序】?
To Van
再思考一下,传递sort和order可能暂时觉得有点复杂,但是order里面的order product能不能保持相同的【默认顺序】?
解决办法:弹窗里面的数据排序规则按照order list 里面的默认顺序(o.update_time DESC, op.update_time DESC)排序
Updated by Zhongbao Ye over 2 years ago
- Status changed from 进行中 to 已关闭
- % Done changed from 90 to 100