From 1db17f21a841b598d60cc22fd84ed0df23091a5f Mon Sep 17 00:00:00 2001 From: kanade Date: Fri, 21 Feb 2025 11:03:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- erp/accounting.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/erp/accounting.go b/erp/accounting.go index da2f280..d28f749 100644 --- a/erp/accounting.go +++ b/erp/accounting.go @@ -154,13 +154,15 @@ func (a *accounting) Edit(ctx context.Context, args ArgsAccountingEdit) (err err } type InvoiceProductItem struct { - FactoryId int64 `json:"factoryId" label:"工厂id"` // 工厂id - FactoryName string `json:"factoryName" label:"工厂名称"` // 工厂名称 - CustomsSerial string `json:"customsSerial" label:"hs编码"` // hs编码 - CustomsName string `json:"customsName" label:"报关名称"` // 报关名称 - CustomsInvoiceUnit string `json:"customsInvoiceUnit" label:"开票单位"` // 开票单位 - InvoiceCount decimal.Decimal `json:"invoiceCount" label:"开票数量"` // 开票数量 - Amount decimal.Decimal `json:"amount" label:"金额"` // 金额 + FactoryId int64 `json:"factoryId" label:"工厂id"` // 工厂id + FactoryName string `json:"factoryName" label:"工厂名称"` // 工厂名称 + CustomsSerial string `json:"customsSerial" label:"hs编码"` // hs编码 + CustomsName string `json:"customsName" label:"报关名称"` // 报关名称 + CustomsInvoiceUnit string `json:"customsInvoiceUnit" label:"开票单位"` // 开票单位 + CustomsUnit string `json:"customsUnit" label:"报关单位"` // 报关单位 + RealCustomsInvoiceUnit string `json:"realCustomsInvoiceUnit" label:"实际开票单位"` // 实际开票单位 + InvoiceCount decimal.Decimal `json:"invoiceCount" label:"开票数量"` // 开票数量 + Amount decimal.Decimal `json:"amount" label:"金额"` // 金额 } // InvoiceProducts @TITLE 开票产品资料