feat(shipment): 添加销售产品清关总价字段
- 在销售产品JSON模型中新增 ClearanceAmount 字段 - 在修改销售产品业务模型中新增清关总价字段 - 在查询销售产品业务模型中新增清关总价字段
This commit is contained in:
@@ -63,6 +63,7 @@ type SaleProductItem struct {
|
|||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
||||||
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
||||||
|
ClearanceAmount decimal.Decimal `json:"clearanceAmount"`
|
||||||
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"`
|
||||||
@@ -154,6 +155,7 @@ type SaleProductAdd struct {
|
|||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
CustomsPrice decimal.Decimal // 报关价格
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
|
ClearanceAmount decimal.Decimal // 清关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
DomesticSupply string // 货源地
|
DomesticSupply string // 货源地
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
@@ -225,6 +227,7 @@ type SaleProductEdit struct {
|
|||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
CustomsPrice decimal.Decimal // 报关单价
|
CustomsPrice decimal.Decimal // 报关单价
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
|
ClearanceAmount decimal.Decimal // 清关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
DomesticSupply string // 货源地
|
DomesticSupply string // 货源地
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
|
|||||||
@@ -63,6 +63,7 @@ type SaleProductItem struct {
|
|||||||
SaleAmount decimal.Decimal `json:"saleAmount"`
|
SaleAmount decimal.Decimal `json:"saleAmount"`
|
||||||
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
CustomsPrice decimal.Decimal `json:"customsPrice"`
|
||||||
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
CustomsAmount decimal.Decimal `json:"customsAmount"`
|
||||||
|
ClearanceAmount decimal.Decimal `json:"clearanceAmount"`
|
||||||
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"`
|
||||||
@@ -155,6 +156,7 @@ type SaleProductAdd struct {
|
|||||||
SalePrice decimal.Decimal // 销售单价
|
SalePrice decimal.Decimal // 销售单价
|
||||||
CustomsPrice decimal.Decimal // 报关价格
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
|
ClearanceAmount decimal.Decimal // 清关总价
|
||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
DomesticSupply string // 货源地
|
DomesticSupply string // 货源地
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
@@ -227,6 +229,7 @@ type SaleProductEdit struct {
|
|||||||
CustomsBrand string // 品牌
|
CustomsBrand string // 品牌
|
||||||
CustomsPrice decimal.Decimal // 报关价格
|
CustomsPrice decimal.Decimal // 报关价格
|
||||||
CustomsAmount decimal.Decimal // 报关总价
|
CustomsAmount decimal.Decimal // 报关总价
|
||||||
|
ClearanceAmount decimal.Decimal // 清关总价
|
||||||
DomesticSupply string // 货源地
|
DomesticSupply string // 货源地
|
||||||
FactoryName string // 工厂名称
|
FactoryName string // 工厂名称
|
||||||
HsSerial int64 // 是否商检 1=商检 2=未商检
|
HsSerial int64 // 是否商检 1=商检 2=未商检
|
||||||
|
|||||||
Reference in New Issue
Block a user