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