feat(shipment): 添加报关价格和总价字段
- 在 saleProduct 结构中添加 CustomsPrice 和 CustomsAmount 字段 - 在 modify 和 shipment 文件中都进行了相应的更新- 新增字段用于记录报关单价和报关总价信息
This commit is contained in:
parent
c1e19a6a25
commit
81f9d4d416
@ -56,6 +56,8 @@ type SaleProductItem struct {
|
|||||||
TotalCustomsGrossWeight decimal.Decimal `json:"totalCustomsGrossWeight"`
|
TotalCustomsGrossWeight decimal.Decimal `json:"totalCustomsGrossWeight"`
|
||||||
SalePrice decimal.Decimal `json:"salePrice"`
|
SalePrice decimal.Decimal `json:"salePrice"`
|
||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
|
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
||||||
|
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
||||||
FactoryName string `json:"factoryName"`
|
FactoryName string `json:"factoryName"`
|
||||||
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
||||||
Brand string `json:"brand"`
|
Brand string `json:"brand"`
|
||||||
@ -202,6 +204,8 @@ type SaleProductEdit struct {
|
|||||||
CustomsGrossWeight decimal.Decimal // 报关毛重
|
CustomsGrossWeight decimal.Decimal // 报关毛重
|
||||||
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
|
CustomsPrice decimal.Decimal // 报关单价
|
||||||
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
DomesticSupply string // 货源地
|
DomesticSupply string // 货源地
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
|
@ -57,6 +57,8 @@ type SaleProductItem struct {
|
|||||||
TotalCustomsGrossWeight decimal.Decimal `json:"totalCustomsGrossWeight"`
|
TotalCustomsGrossWeight decimal.Decimal `json:"totalCustomsGrossWeight"`
|
||||||
SalePrice decimal.Decimal `json:"salePrice"`
|
SalePrice decimal.Decimal `json:"salePrice"`
|
||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
|
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
||||||
|
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
||||||
FactoryName string `json:"factoryName"`
|
FactoryName string `json:"factoryName"`
|
||||||
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
CurrencyRate decimal.Decimal `json:"currencyRate"`
|
||||||
Brand string `json:"brand"`
|
Brand string `json:"brand"`
|
||||||
@ -207,6 +209,8 @@ type SaleProductEdit struct {
|
|||||||
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
TotalCustomsGrossWeight decimal.Decimal // 报关总毛重
|
||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
DomesticSupply string // 货源地
|
DomesticSupply string // 货源地
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
HsSerial int64 // 是否商检 1=商检 2=未商检
|
HsSerial int64 // 是否商检 1=商检 2=未商检
|
||||||
|
Loading…
x
Reference in New Issue
Block a user