feat(erp): 添加发票编号和确认状态字段

- 在收汇认领结构体中添加发票编号字段
- 在收汇单结构体中添加确认状态字段
- 更新收汇单响应结构体以包含确认状态信息
This commit is contained in:
2026-02-02 16:43:40 +08:00
parent 1be44c0ae2
commit 134fadf47c
2 changed files with 7 additions and 4 deletions

View File

@@ -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"`

View File

@@ -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 添加