From a48f5754d61d5d9f673aec55d6d66797b02327b3 Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 1 Jun 2026 14:39:14 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=9B=B4=E6=96=B0=E5=BA=94?= =?UTF-8?q?=E4=BB=98=E8=B4=A6=E6=AC=BE=E6=A8=A1=E5=9E=8B=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 添加增值税税率字段 addTaxRate - 添加含税单价字段 unitPrice - 添加不含税单价字段 exTaxUnitPrice - 添加单位金额字段 unitAmount - 添加不含税单位金额字段 exTaxUnitAmount - 添加税额字段 taxAmount - 移除原有的总金额字段 amount --- erp/payable.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/erp/payable.go b/erp/payable.go index cf1dbc2..d0e4379 100644 --- a/erp/payable.go +++ b/erp/payable.go @@ -106,7 +106,12 @@ type PayableCustomsProductItem struct { CustomsUnit string `json:"customsUnit"` RealCustomsInvoiceUnit string `json:"realCustomsInvoiceUnit"` InvoiceCount decimal.Decimal `json:"invoiceCount"` - Amount decimal.Decimal `json:"amount"` + AddTaxRate decimal.Decimal `json:"addTaxRate"` + UnitPrice decimal.Decimal `json:"unitPrice"` + ExTaxUnitPrice decimal.Decimal `json:"exTaxUnitPrice"` + UnitAmount decimal.Decimal `json:"unitAmount"` + ExTaxUnitAmount decimal.Decimal `json:"exTaxUnitAmount"` + TaxAmount decimal.Decimal `json:"taxAmount"` } type PayableCostItem struct {