feat(service/erp/shipment/modify/saleProduct): 添加包装重量字段
在saleProduct结构体中添加了PackageWeight字段,用于记录包装重量。 同时修正了导入包的顺序,确保代码整洁。
This commit is contained in:
parent
229b5cd43d
commit
9aba2baa8c
@ -2,9 +2,10 @@ package modify
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"time"
|
||||||
|
|
||||||
"git.kumo.work/shama/service/client"
|
"git.kumo.work/shama/service/client"
|
||||||
"github.com/shopspring/decimal"
|
"github.com/shopspring/decimal"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type saleProduct struct {
|
type saleProduct struct {
|
||||||
@ -23,6 +24,7 @@ type SaleProductItem struct {
|
|||||||
CustomSerial string `json:"customSerial"`
|
CustomSerial string `json:"customSerial"`
|
||||||
PackageDescription string `json:"packageDescription"`
|
PackageDescription string `json:"packageDescription"`
|
||||||
PackageEngDescription string `json:"packageEngDescription"`
|
PackageEngDescription string `json:"packageEngDescription"`
|
||||||
|
PackageWeight decimal.Decimal `json:"packageWeight"`
|
||||||
EngName string `json:"engName"`
|
EngName string `json:"engName"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
CustomsName string `json:"customsName"`
|
CustomsName string `json:"customsName"`
|
||||||
@ -178,6 +180,7 @@ type SaleProductEdit struct {
|
|||||||
CustomSerial string // 客户货号
|
CustomSerial string // 客户货号
|
||||||
PackageDescription string // 包装
|
PackageDescription string // 包装
|
||||||
PackageEngDescription string // 包装英文描述
|
PackageEngDescription string // 包装英文描述
|
||||||
|
PackageWeight decimal.Decimal // 包装重量
|
||||||
Name string // 中文品名
|
Name string // 中文品名
|
||||||
EngName string // 英文品名
|
EngName string // 英文品名
|
||||||
CustomsSerial string // 海关编码
|
CustomsSerial string // 海关编码
|
||||||
|
Loading…
x
Reference in New Issue
Block a user