refactor(erp): 将应付账款数量字段类型从整型改为高精度小数

- 修改 service/erp/payable.go 中 PayableCount 字段类型为 decimal.Decimal
- 修改 service/ik3cloud/payable.go 中 Count 字段类型为 decimal.Decimal
- 保持其他相关金额字段的数据类型一致性
- 提高数量计算的精度和准确性
This commit is contained in:
2026-01-23 16:00:45 +08:00
parent aad11de594
commit f87c0e2aeb
2 changed files with 2 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ type PayableProductItem struct {
FactoryNumber string // 工厂编码
Number string // 商品编码
Name string // 商品名称
Count int64 // 数量
Count decimal.Decimal // 数量
UnitPrice decimal.Decimal // 含税单价
AddTaxRate decimal.Decimal // 税率
ExTaxUnitPrice decimal.Decimal // 不含税单价