diff --git a/erp/payable.go b/erp/payable.go index f86b3fa..ff73b3d 100644 --- a/erp/payable.go +++ b/erp/payable.go @@ -84,7 +84,7 @@ type PayableProductItem struct { FactoryName string `json:"factoryName"` Name string `json:"name"` Serial string `json:"serial"` - PayableCount int64 `json:"payableCount"` + PayableCount decimal.Decimal `json:"payableCount"` AddTaxRate decimal.Decimal `json:"addTaxRate"` UnitPrice decimal.Decimal `json:"unitPrice"` ExTaxUnitPrice decimal.Decimal `json:"exTaxUnitPrice"` diff --git a/ik3cloud/payable.go b/ik3cloud/payable.go index 76964cb..49142b7 100644 --- a/ik3cloud/payable.go +++ b/ik3cloud/payable.go @@ -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 // 不含税单价