From 29fcdca8d468d380c85a60ff606c4b318e04431c Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 23 Jan 2026 16:33:18 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E5=8D=95=E4=BD=8D=E5=AD=97=E6=AE=B5=E5=88=B0=E5=BA=94?= =?UTF-8?q?=E4=BB=98=E8=B4=A6=E6=AC=BE=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 payable 结构体中新增 InvoiceUnit 字段 - 为 InvoiceUnit 字段添加 JSON 序列化标签 --- erp/payable.go | 1 + 1 file changed, 1 insertion(+) diff --git a/erp/payable.go b/erp/payable.go index ff73b3d..8828cff 100644 --- a/erp/payable.go +++ b/erp/payable.go @@ -85,6 +85,7 @@ type PayableProductItem struct { Name string `json:"name"` Serial string `json:"serial"` PayableCount decimal.Decimal `json:"payableCount"` + InvoiceUnit string `json:"invoiceUnit"` AddTaxRate decimal.Decimal `json:"addTaxRate"` UnitPrice decimal.Decimal `json:"unitPrice"` ExTaxUnitPrice decimal.Decimal `json:"exTaxUnitPrice"`