Project

General

Profile

Actions

追加功能 #455

closed
JZ JZ

v4.0: Order list - Step 2

追加功能 #455: v4.0: Order list - Step 2

Added by Junyi Zhang about 1 year ago. Updated 4 months ago.

Status:
已关闭
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v4.0
Start date:
04/21/2025
Due date:
05/16/2025
% Done:

100%

Estimated time:
100.00 h

Description

Background
  1. New requirement for v4.0 OTS
    See: OneDrive\赤蓝商贸(上海)有限公司\Shanghai Group - IT\开发相关\OTS V4\开发需求
Task List
  1. 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: 子订单大于等于9
    10 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)
Task Details
  1. 优化My-filter, regular filter:反映【对应】关系。
    1. 将current filter改造为一个提示标志:toggle显示my-filter/regular filter
    2. My-filter和Regular filter增加reset all和reset单条的功能。
    3. Order status排除completed,要保持Regular/My filer一致(默认勾选除Completed的所有status)。
    4. 提示input的readonly状态

Questions:

v4 coding standard:
  1. Git提交
    #xxx(redmine number): xxx(redmine title) - xxx(任意:补充内容)
      
  2. 代码规范
    2.1: 结构:Public -> Protected -> Private
    2.2: 其他代码规范同SBX
      
  3. 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
     
  4. 前台代码
    twig, js, css (js, css尽量写在单独的css文件中)
     
  5. 后台代码
    MVCL (L:en,cn)
     
  6. 注释
    1. 类名:
      /**
       * xxx
       *
       * @copyright RedBlue-OTS 2024
       * @version v4
       *
       */
      
    2. 函数名:参数类型 + 返回值类型
          /**
           * xxx
           *
           * @param  xxx $xxx
           * @param  xxx $xxx
           * @return xxx
           */
      
Output
  • Report and Solution

Others


Files


Related issues 1 (0 open1 closed)

Copied from 追加功能 #441: v4.0: Order list - Step 1已关闭Junyi Zhang10/29/202402/14/2025

Actions

JZ Updated by Junyi Zhang about 1 year ago Actions #1

JZ Updated by Junyi Zhang about 1 year ago Actions #2

Output (2025/06/10) (2025/06/03 - 2025/06/06) (2025/05/20), (2025/05/12):

DONE:
  1. Functions:
    1. (UI)Order list
      - Mobile: 首列显示remake标记
      - Mobile: status operator/retailer 支持对status进行排序
      - Mobile: Input date和update date列(compact版本)支持切换+排序
      - 多选功能:Desktop: 【shift/ctrl+鼠标】或【鼠标拖拽框选】;Mobile: 长按,在popover中加一个【多选】
    2. 权限: 参考one drive: Shanghai Group - 文档\IT\开发相关\OTS V4\开发需求\订单管理模块\OTS4.0订单模块权限分析_20250422.xlsx
    3. My/regular filter
      - 根据product模块的stock product的调整,调整retailer filter(R:regular product,D/M: stock + regular product)
    4. (功能)Mobile(long press): upload pictures(long press/double click) (已移动到: #471 )
    5. (功能)Mobile(long press):download files(long press/double click) (已移动到: #471 )
    6. (功能)Mobile(long press):显示extra info
    7. 批量操作
      - Remove order.
      - Update order status
      - Update tracking info
      - Duplicate order
      - Remake order

TODO: 已移到one drive excel(Shanghai Group - 文档\IT\开发相关\OTS V4\开发需求\订单管理模块)中

XF Updated by Xihua Fan about 1 year ago Actions #3

  • Tracker changed from 其他 to 追加功能

JZ Updated by Junyi Zhang about 1 year ago Actions #5

  • Description updated (diff)

JZ Updated by Junyi Zhang about 1 year ago Actions #6

  • Description updated (diff)

JZ Updated by Junyi Zhang about 1 year ago Actions #7

  • Description updated (diff)

JZ Updated by Junyi Zhang about 1 year ago Actions #8

  • Description updated (diff)

JZ Updated by Junyi Zhang about 1 year ago Actions #9

  • Description updated (diff)

XF Updated by Xihua Fan 11 months ago Actions #10

  • Due date changed from 04/30/2025 to 05/31/2025
  • Status changed from 新建 to 进行中
  • Start date changed from 03/31/2025 to 04/21/2025

XF Updated by Xihua Fan 11 months ago Actions #11

  • Description updated (diff)

XF Updated by Xihua Fan 11 months ago Actions #12

  • Due date changed from 05/31/2025 to 05/16/2025

JZ Updated by Junyi Zhang 11 months ago Actions #13

  • % Done changed from 0 to 10

JZ Updated by Junyi Zhang 9 months ago Actions #14

  • % Done changed from 10 to 60

JZ Updated by Junyi Zhang 9 months ago Actions #15

  • Description updated (diff)

JZ Updated by Junyi Zhang 9 months ago Actions #16

  • Description updated (diff)

JZ Updated by Junyi Zhang 9 months ago Actions #17

  • % Done changed from 60 to 100

JZ Updated by Junyi Zhang 9 months ago Actions #18

  • Status changed from 进行中 to 已关闭

XF Updated by Xihua Fan 4 months ago Actions #19

  • Subject changed from v4.0: Order list - 2 to v4.0: Order list - Step 2
Actions

Also available in: PDF Atom