feat(erp): 更新收据和应收账款数据结构

- 在收据结构中添加付款公司字段
- 将应收账款数量类型从int64改为decimal.Decimal
- 在应收账款项目中添加发票单位字段
- 更新ik3cloud中应收账款产品项目的数量类型为decimal.Decimal
This commit is contained in:
2026-01-27 14:26:36 +08:00
parent 29fcdca8d4
commit c778603b66
3 changed files with 6 additions and 2 deletions

View File

@@ -87,7 +87,8 @@ type ReceivableProductItem struct {
PiSerial string `json:"piSerial"`
Name string `json:"name"`
Serial string `json:"serial"`
ReceivableCount int64 `json:"receivableCount"`
ReceivableCount decimal.Decimal `json:"receivableCount"`
InvoiceUnit string `json:"invoiceUnit"`
AddTaxRate decimal.Decimal `json:"addTaxRate"`
UnitPrice decimal.Decimal `json:"unitPrice"`
ExTaxUnitPrice decimal.Decimal `json:"exTaxUnitPrice"`