feat(product): 添加开票金额字段
- 在产品结构体中新增 InvoiceAmount 字段用于存储开票金额 - 该字段使用 decimal.Decimal 类型确保金额计算精度
This commit is contained in:
@@ -94,6 +94,7 @@ type ProductEdit struct {
|
||||
MeasureUnit string // 报关单位
|
||||
InvoiceType int64 // 开票方式 1=按净重 2=按数量
|
||||
InvoiceCount decimal.Decimal // 开票数量
|
||||
InvoiceAmount decimal.Decimal // 开票金额
|
||||
ContainerNumber string // 箱号
|
||||
ContainerNumberBoxCount int64 // 装箱数
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user