From 134fadf47cb33eacd4964da6836c250c50a19477 Mon Sep 17 00:00:00 2001 From: kanade Date: Mon, 2 Feb 2026 16:43:40 +0800 Subject: [PATCH] =?UTF-8?q?feat(erp):=20=E6=B7=BB=E5=8A=A0=E5=8F=91?= =?UTF-8?q?=E7=A5=A8=E7=BC=96=E5=8F=B7=E5=92=8C=E7=A1=AE=E8=AE=A4=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在收汇认领结构体中添加发票编号字段 - 在收汇单结构体中添加确认状态字段 - 更新收汇单响应结构体以包含确认状态信息 --- erp/receipt.go | 2 ++ erp/receipt/claim.go | 9 +++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/erp/receipt.go b/erp/receipt.go index d45ffa6..12d4dff 100644 --- a/erp/receipt.go +++ b/erp/receipt.go @@ -34,6 +34,7 @@ type ReceiptSearch struct { EntryAmountStart *decimal.Decimal // 入账金额开始 EntryAmountEnd *decimal.Decimal // 入账金额结束 Ik3cloudStatus int64 // 金蝶同步状态 1=待同步 2=同步成功 3=同步失败 + IsConfirm int64 // 确认状态 1=已确认 2=待确认 } type ReplyReceiptList struct { List []ReceiptItem `json:"list"` @@ -59,6 +60,7 @@ type ReceiptItem struct { ClaimAmount decimal.Decimal `json:"claimAmount"` CreatedStaffId int64 `json:"createdStaffId"` BanFlag int64 `json:"banFlag"` + IsConfirm int64 `json:"isConfirm"` Ik3cloudStatus int64 `json:"ik3CloudStatus"` Ik3cloudErrMsg string `json:"ik3CloudErrMsg"` Ik3cloudUpdatedAt *time.Time `json:"ik3CloudUpdatedAt"` diff --git a/erp/receipt/claim.go b/erp/receipt/claim.go index 4177861..5070f91 100644 --- a/erp/receipt/claim.go +++ b/erp/receipt/claim.go @@ -50,10 +50,11 @@ type ArgsClaimAdd struct { ClaimAdd } type ClaimAdd struct { - ReceiptId int64 // 收汇单ID - ReceivableId int64 // 应收单ID - Amount decimal.Decimal // 应收金额 - Remarks string // 备注 + ReceiptId int64 // 收汇单ID + ReceivableId int64 // 应收单ID + Amount decimal.Decimal // 应收金额 + Remarks string // 备注 + InvoiceSerial string // 发票编号 } // Add @TITLE 添加