feat(erp): 添加发票单位字段到应付账款模型
- 在 payable 结构体中新增 InvoiceUnit 字段 - 为 InvoiceUnit 字段添加 JSON 序列化标签
This commit is contained in:
@@ -85,6 +85,7 @@ type PayableProductItem struct {
|
||||
Name string `json:"name"`
|
||||
Serial string `json:"serial"`
|
||||
PayableCount decimal.Decimal `json:"payableCount"`
|
||||
InvoiceUnit string `json:"invoiceUnit"`
|
||||
AddTaxRate decimal.Decimal `json:"addTaxRate"`
|
||||
UnitPrice decimal.Decimal `json:"unitPrice"`
|
||||
ExTaxUnitPrice decimal.Decimal `json:"exTaxUnitPrice"`
|
||||
|
||||
Reference in New Issue
Block a user