feat(erp): 添加订舱修改单导出功能和提单英文品名字段
- 新增 ExportTypeShipmentModify 常量用于订舱修改单导出 - 在产品结构体中添加 BlEngName 字段用于存储提单英文品名 - 更新多个产品相关结构体以支持提单英文品名字段 - 调整 import 顺序将 time 包移到适当位置
This commit is contained in:
@@ -40,6 +40,7 @@ type ProductListItem struct {
|
||||
CustomSerial string `json:"customSerial"`
|
||||
Name string `json:"name"`
|
||||
EngName string `json:"engName"`
|
||||
BlEngName string `json:"blEngName"`
|
||||
ImgFilePaths []string `json:"imgFilePaths"`
|
||||
Weight *decimal.Decimal `json:"weight"`
|
||||
Texture string `json:"texture"`
|
||||
@@ -98,6 +99,7 @@ type ProductItem struct {
|
||||
CustomSerial string `json:"customSerial"`
|
||||
Name string `json:"name"`
|
||||
EngName string `json:"engName"`
|
||||
BlEngName string `json:"blEngName"`
|
||||
ImgFilePaths []string `json:"imgFilePaths"`
|
||||
Weight *decimal.Decimal `json:"weight"`
|
||||
Texture string `json:"texture"`
|
||||
@@ -156,6 +158,7 @@ type ProductAdd struct {
|
||||
CustomSerial string // 客户货号
|
||||
Name string // 中文品名
|
||||
EngName string // 英文品名
|
||||
BlEngName string // 提单英文品名
|
||||
Weight *decimal.Decimal // 重量
|
||||
Texture string // 材质
|
||||
SalePrice decimal.Decimal // 销售单价
|
||||
@@ -254,6 +257,7 @@ type ReplyProductInfo struct {
|
||||
CustomSerial string `json:"customSerial"`
|
||||
Name string `json:"name"`
|
||||
EngName string `json:"engName"`
|
||||
BlEngName string `json:"blEngName"`
|
||||
ImgFilePaths []string `json:"imgFilePaths"`
|
||||
Weight *decimal.Decimal `json:"weight"`
|
||||
Texture string `json:"texture"`
|
||||
@@ -361,6 +365,7 @@ type ProductEdit struct {
|
||||
CustomSerial string // 客户货号
|
||||
Name string // 中文品名
|
||||
EngName string // 英文品名
|
||||
BlEngName string // 提单英文品名
|
||||
Weight *decimal.Decimal // 重量
|
||||
Texture string // 材质
|
||||
SalePrice decimal.Decimal // 销售单价
|
||||
|
||||
Reference in New Issue
Block a user