feat(erp): 添加客户ID和发票金额字段

- 在收款单据模型中添加CustomId字段用于标识客户ID
- 在产品会计模型中添加InvoiceAmount字段用于记录发票金额
- 更新数据结构以支持更完整的业务信息存储
This commit is contained in:
2026-05-21 09:42:47 +08:00
parent c7f4a0a8d4
commit 0e2437a69f
2 changed files with 2 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ type ProductItem struct {
OuterNum *int64 `json:"outerNum"`
BoxCount int64 `json:"boxCount"`
PurchasePrice decimal.Decimal `json:"purchasePrice"`
InvoiceAmount decimal.Decimal `json:"invoiceAmount"`
Amount decimal.Decimal `json:"amount"`
Volume *decimal.Decimal `json:"volume"`
TotalVolume decimal.Decimal `json:"totalVolume"`

View File

@@ -55,6 +55,7 @@ type ClaimAdd struct {
Amount decimal.Decimal // 应收金额
Remarks string // 备注
InvoiceSerial string // 发票编号
CustomId int64 // 客户ID
}
// Add @TITLE 添加