feat(erp): 添加客户ID和发票金额字段
- 在收款单据模型中添加CustomId字段用于标识客户ID - 在产品会计模型中添加InvoiceAmount字段用于记录发票金额 - 更新数据结构以支持更完整的业务信息存储
This commit is contained in:
@@ -30,6 +30,7 @@ type ProductItem struct {
|
|||||||
OuterNum *int64 `json:"outerNum"`
|
OuterNum *int64 `json:"outerNum"`
|
||||||
BoxCount int64 `json:"boxCount"`
|
BoxCount int64 `json:"boxCount"`
|
||||||
PurchasePrice decimal.Decimal `json:"purchasePrice"`
|
PurchasePrice decimal.Decimal `json:"purchasePrice"`
|
||||||
|
InvoiceAmount decimal.Decimal `json:"invoiceAmount"`
|
||||||
Amount decimal.Decimal `json:"amount"`
|
Amount decimal.Decimal `json:"amount"`
|
||||||
Volume *decimal.Decimal `json:"volume"`
|
Volume *decimal.Decimal `json:"volume"`
|
||||||
TotalVolume decimal.Decimal `json:"totalVolume"`
|
TotalVolume decimal.Decimal `json:"totalVolume"`
|
||||||
|
|||||||
@@ -55,6 +55,7 @@ type ClaimAdd struct {
|
|||||||
Amount decimal.Decimal // 应收金额
|
Amount decimal.Decimal // 应收金额
|
||||||
Remarks string // 备注
|
Remarks string // 备注
|
||||||
InvoiceSerial string // 发票编号
|
InvoiceSerial string // 发票编号
|
||||||
|
CustomId int64 // 客户ID
|
||||||
}
|
}
|
||||||
|
|
||||||
// Add @TITLE 添加
|
// Add @TITLE 添加
|
||||||
|
|||||||
Reference in New Issue
Block a user