diff --git a/erp/shipment/mixed/box.go b/erp/shipment/mixed/box.go index b0c3001..2bd8cbf 100644 --- a/erp/shipment/mixed/box.go +++ b/erp/shipment/mixed/box.go @@ -11,20 +11,24 @@ type box struct { } type BoxItem struct { - Id int64 `json:"id"` - Serial string `json:"serial"` - CustomSerial string `json:"customSerial"` - Po string `json:"po"` - BlEngName string `json:"blEngName"` - InnerNum int64 `json:"innerNum"` - OuterBoxCount int64 `json:"outerBoxCount"` - Length decimal.Decimal `json:"length"` - Width decimal.Decimal `json:"width"` - Height decimal.Decimal `json:"height"` - Volume decimal.Decimal `json:"volume"` - TotalVolume decimal.Decimal `json:"totalVolume"` - OuterNum int64 `json:"outerNum"` - Products []BoxProduct `json:"products"` + Id int64 `json:"id"` + Serial string `json:"serial"` + CustomSerial string `json:"customSerial"` + Po string `json:"po"` + BlEngName string `json:"blEngName"` + InnerNum int64 `json:"innerNum"` + OuterBoxCount int64 `json:"outerBoxCount"` + Length decimal.Decimal `json:"length"` + Width decimal.Decimal `json:"width"` + Height decimal.Decimal `json:"height"` + Volume decimal.Decimal `json:"volume"` + TotalVolume decimal.Decimal `json:"totalVolume"` + GrossWeight decimal.Decimal `json:"grossWeight"` + TotalGrossWeight decimal.Decimal `json:"totalGrossWeight"` + NetWeight decimal.Decimal `json:"netWeight"` + TotalNetWeight decimal.Decimal `json:"totalNetWeight"` + OuterNum int64 `json:"outerNum"` + Products []BoxProduct `json:"products"` } type BoxProduct struct { @@ -56,19 +60,23 @@ type ArgsBoxAdd struct { } type BoxAdd struct { - Serial string // 货号 - CustomSerial string // 客户货号 - Po string // PO - BlEngName string // 提单英文名 - InnerNum int64 // 内盒入数 - OuterBoxCount int64 // 箱数 - Length decimal.Decimal // 长 - Width decimal.Decimal // 宽 - Height decimal.Decimal // 高 - Volume decimal.Decimal // 体积 - TotalVolume decimal.Decimal // 总体积 - OuterNum int64 // 外箱入数 - Products []BoxProductItem // 箱内商品 + Serial string // 货号 + CustomSerial string // 客户货号 + Po string // PO + BlEngName string // 提单英文名 + InnerNum int64 // 内盒入数 + OuterBoxCount int64 // 箱数 + Length decimal.Decimal // 长 + Width decimal.Decimal // 宽 + Height decimal.Decimal // 高 + Volume decimal.Decimal // 体积 + TotalVolume decimal.Decimal // 总体积 + GrossWeight decimal.Decimal // 毛重 + TotalGrossWeight decimal.Decimal // 总毛重 + NetWeight decimal.Decimal // 净重 + TotalNetWeight decimal.Decimal // 总净重 + OuterNum int64 // 外箱入数 + Products []BoxProductItem // 箱内商品 } type BoxProductItem struct {