Actions
追加功能 #455
closed
JZ
JZ
v4.0: Order list - Step 2
追加功能 #455:
v4.0: Order list - Step 2
Start date:
04/21/2025
Due date:
05/16/2025
% Done:
100%
Estimated time:
100.00 h
Description
Background
- New requirement for v4.0 OTS
See: OneDrive\赤蓝商贸(上海)有限公司\Shanghai Group - IT\开发相关\OTS V4\开发需求
- List the functions related to the order list
No Function D/M R/W Done/To-Do Others 1 My Filter D/M R/W Done v3和v4的filter数据不同共通,但是ID共通,建议创建my-filter时带上v4的标记,方便区分 2 Regular Filter D/M R Done Desktop可以显示当前已选择的filters. 3 Current Filter D/M R Done - 4 Current Input Date D/M R Done - 5 Display order detail D/M R Done 单击订单行 6 Favorite M R/W Done Mobile长按订单行(除最后一列Update order status) 7 Update Order Status M R/W Done - 8 Switch compact/full M R Done - 9 Fold order products M R Done Compact: 子订单大于等于6
Full: 子订单大于等于910 Tracking Info (filter) D/M R Done 单击order list中的tracking number 11 Tracking Info (Tracking detail) D/M R To-Do 双击order list中的tracking number 12 Upload/Download attach files M R/W 移动到#471 Mobile长按订单行(除最后一列Update order status)
Mobile双击订单行(除最后一列Update order status)13 Upload/Download product images M R/W 移动到#471 Mobile长按订单行(除最后一列Update order status)
Mobile双击订单行(除最后一列Update order status)14 Display Extra info M R Done Mobile双击订单行(除最后一列Update order status)
- 优化My-filter, regular filter:反映【对应】关系。
- 将current filter改造为一个提示标志:toggle显示my-filter/regular filter

- My-filter和Regular filter增加reset all和reset单条的功能。
- Order status排除completed,要保持Regular/My filer一致(默认勾选除Completed的所有status)。
- 提示input的readonly状态
- 将current filter改造为一个提示标志:toggle显示my-filter/regular filter
Questions:
v4 coding standard:- Git提交
#xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
- 代码规范
2.1: 结构:Public -> Protected -> Private
2.2: 其他代码规范同SBX
- MVCL的v3/v4物理分割
3.1: v3/v4的代码分为两个文件,比如: order.php, order_v3.php
3.2: system也分为两个文件,暂时只有一个user_v3
- Note: front的$this->user在v4中会替换为$this->customer, 即v4中需要清除$this->user
3.3: 代码中,区分v3/v4的调用,比如:new User_V3
- 前台代码
twig, js, css (js, css尽量写在单独的css文件中)
- 后台代码
MVCL (L:en,cn)
- 注释
- 类名:
/** * xxx * * @copyright RedBlue-OTS 2024 * @version v4 * */
- 函数名:参数类型 + 返回值类型
/** * xxx * * @param xxx $xxx * @param xxx $xxx * @return xxx */
- 类名:
- Report and Solution
Others
Files
JZ Updated by Junyi Zhang about 1 year ago
- Copied from 追加功能 #441: v4.0: Order list - Step 1 added
JZ Updated by Junyi Zhang about 1 year ago
Output (2025/06/10) (2025/06/03 - 2025/06/06) (2025/05/20), (2025/05/12):
DONE:- Functions:
- (UI)Order list
- Mobile: 首列显示remake标记
- Mobile: status operator/retailer 支持对status进行排序
- Mobile: Input date和update date列(compact版本)支持切换+排序
- 多选功能:Desktop: 【shift/ctrl+鼠标】或【鼠标拖拽框选】;Mobile: 长按,在popover中加一个【多选】 - 权限: 参考one drive: Shanghai Group - 文档\IT\开发相关\OTS V4\开发需求\订单管理模块\OTS4.0订单模块权限分析_20250422.xlsx
- My/regular filter
- 根据product模块的stock product的调整,调整retailer filter(R:regular product,D/M: stock + regular product) - (功能)Mobile(long press): upload pictures(long press/double click) (已移动到: #471 )
- (功能)Mobile(long press):download files(long press/double click) (已移动到: #471 )
- (功能)Mobile(long press):显示extra info
- 批量操作
- Remove order.
- Update order status
- Update tracking info
- Duplicate order
- Remake order
- (UI)Order list
TODO: 已移到one drive excel(Shanghai Group - 文档\IT\开发相关\OTS V4\开发需求\订单管理模块)中
XF Updated by Xihua Fan about 1 year ago
- Tracker changed from 其他 to 追加功能
JZ Updated by Junyi Zhang about 1 year ago
- File clipboard-202502171252-ajhwh.png clipboard-202502171252-ajhwh.png added
- File clipboard-202502171253-zjg6q.png clipboard-202502171253-zjg6q.png added
- Description updated (diff)
JZ Updated by Junyi Zhang about 1 year ago
- Description updated (diff)
JZ Updated by Junyi Zhang about 1 year ago
- Description updated (diff)
JZ Updated by Junyi Zhang about 1 year ago
- Description updated (diff)
JZ Updated by Junyi Zhang about 1 year ago
- Description updated (diff)
JZ Updated by Junyi Zhang about 1 year ago
- Description updated (diff)
JZ Updated by Junyi Zhang 11 months ago
- % Done changed from 0 to 10
JZ Updated by Junyi Zhang 9 months ago
- % Done changed from 10 to 60
JZ Updated by Junyi Zhang 9 months ago
- Description updated (diff)
JZ Updated by Junyi Zhang 9 months ago
- Description updated (diff)
JZ Updated by Junyi Zhang 9 months ago
- % Done changed from 60 to 100
JZ Updated by Junyi Zhang 9 months ago
- Status changed from 进行中 to 已关闭
Actions