feat(service/erp/shipment/modify/saleProduct): 添加包装重量字段

在saleProduct结构体中添加了PackageWeight字段,用于记录包装重量。
同时修正了导入包的顺序,确保代码整洁。
This commit is contained in:
守护自己的云 2025-09-11 17:28:09 +08:00
parent 229b5cd43d
commit 9aba2baa8c

View File

@ -2,9 +2,10 @@ package modify
import (
"context"
"time"
"git.kumo.work/shama/service/client"
"github.com/shopspring/decimal"
"time"
)
type saleProduct struct {
@ -23,6 +24,7 @@ type SaleProductItem struct {
CustomSerial string `json:"customSerial"`
PackageDescription string `json:"packageDescription"`
PackageEngDescription string `json:"packageEngDescription"`
PackageWeight decimal.Decimal `json:"packageWeight"`
EngName string `json:"engName"`
Name string `json:"name"`
CustomsName string `json:"customsName"`
@ -178,6 +180,7 @@ type SaleProductEdit struct {
CustomSerial string // 客户货号
PackageDescription string // 包装
PackageEngDescription string // 包装英文描述
PackageWeight decimal.Decimal // 包装重量
Name string // 中文品名
EngName string // 英文品名
CustomsSerial string // 海关编码