Project

General

Profile

追加功能 #493

v4.0: Logistics - Logistics & Custom - Step 2

Added by Junyi Zhang 22 days ago. Updated 12 days ago.

Status:
进行中
Priority:
普通
Assignee:
Target version:
IT: Easytryck (Sweden) - v4.0
Start date:
11/28/2025
Due date:
12/31/2025 (Due in 11 days)
% Done:

50%

Estimated time:
100.00 h

Description

Background
  1. https://trello.com/c/ireiTayR/24-13-%E5%8C%85%E8%A3%85%E6%89%93%E5%8D%B0-packing-label
Task Details
  • 1. Logistics & Custom
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


Related issues

Copied from 追加功能 #484: v4.0: Logistics - Logistics & Custom - Step 1已关闭Junyi Zhang09/08/202509/30/2025

Actions
#1

Updated by Junyi Zhang 22 days ago

#2

Updated by Junyi Zhang 22 days ago

  • Due date changed from 12/05/2025 to 12/31/2025
#3

Updated by Junyi Zhang 19 days ago

  • % Done changed from 0 to 10

Output(2025/12/08 - 2025/12/12), (2025/12/01 - 2025/12/05)

Function:
  1. GW,VW列添加红字提示(GW > 24kg, VW > GW),且VW随物流供应商的变化而动态显示(n/5000或者n/6000)
  2. 汇率抓取由原来的一天一抓,改为一月一抓。(统一当月汇率)
    - logistics模块中的ppu一直以最新的汇率为准。如果由于货币之间的汇率发生变化(比如:跨月的情况),导致ppu变化,则弹出提示框。
  3. 支持向既存的箱子中添加额外的产品
    - G.W.G: 表示占当前箱子总GW(不含外箱重量)的百分比。纸箱总GW保持不变,则其他常规产品的GW将按比例减少。每个箱子中的额外产品的总G.W.G不能超过箱子总重的80%
    - 支持批量向不同的箱子中添加额外产品
    - Repack到packing时,箱子中的额外产品会被删除
  4. 手动修改GW
    - 如果修改箱子的总GW,其中的内箱的GW也会按比例变化。如果修改内箱的GW(包括额外的产品)。
    - 如果只修改内箱的GW,则只会变化箱子的总GW。(即不会再重复i的步骤)
  5. 报关资料
    - 额外产品永远显示在报关资料中(除瑞典第三方),且不参与任何产品合并和重量分摊。
  6. 计费重列表
#4

Updated by Junyi Zhang 12 days ago

  • % Done changed from 10 to 50

Also available in: Atom PDF