feat(erp): 扩展收汇单和报销单搜索功能
- 在收汇单搜索条件中添加付款公司、结汇银行账号、入账金额范围和金蝶同步状态字段 - 在报销单搜索条件中添加付款时间范围、审核时间范围、审核状态、实付金额范围、创建人和币种字段 - 为报销单项添加付款时间字段支持 - 优化结构体字段对齐格式
This commit is contained in:
@@ -29,6 +29,11 @@ type ReceiptSearch struct {
|
|||||||
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
||||||
ClaimStatus int64 // 认领状态 1=待认领 2=部分认领 3=已认领
|
ClaimStatus int64 // 认领状态 1=待认领 2=部分认领 3=已认领
|
||||||
InvoiceSerialEq string // 发票号
|
InvoiceSerialEq string // 发票号
|
||||||
|
PayCompany string // 付款公司
|
||||||
|
BankAccount string // 结汇银行账号
|
||||||
|
EntryAmountStart *decimal.Decimal // 入账金额开始
|
||||||
|
EntryAmountEnd *decimal.Decimal // 入账金额结束
|
||||||
|
Ik3cloudStatus int64 // 金蝶同步状态 1=待同步 2=同步成功 3=同步失败
|
||||||
}
|
}
|
||||||
type ReplyReceiptList struct {
|
type ReplyReceiptList struct {
|
||||||
List []ReceiptItem `json:"list"`
|
List []ReceiptItem `json:"list"`
|
||||||
|
|||||||
@@ -22,11 +22,21 @@ type RequestSearch struct {
|
|||||||
InvoiceSerial string // 发票号
|
InvoiceSerial string // 发票号
|
||||||
CreatedAtStart *time.Time // 创建开始时间
|
CreatedAtStart *time.Time // 创建开始时间
|
||||||
CreatedAtEnd *time.Time // 创建结束时间
|
CreatedAtEnd *time.Time // 创建结束时间
|
||||||
|
PayAtStart *time.Time // 付款开始时间
|
||||||
|
PayAtEnd *time.Time // 付款结束时间
|
||||||
|
AuditAtStart *time.Time // 审核开始时间
|
||||||
|
AuditAtEnd *time.Time // 审核结束时间
|
||||||
RequestIds []int64 // 申请单id
|
RequestIds []int64 // 申请单id
|
||||||
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
BanFlag int64 // 禁用标记 1=禁用 2=启用
|
||||||
BankAccount string // 银行账号
|
BankAccount string // 银行账号
|
||||||
BankName string // 账号名称
|
BankName string // 账号名称
|
||||||
AccountingSerial string // 做账合同号
|
AccountingSerial string // 做账合同号
|
||||||
|
WorkflowStatus int64 // 审核状态
|
||||||
|
PaidAmountStart *decimal.Decimal // 实付金额开始
|
||||||
|
PaidAmountEnd *decimal.Decimal // 实付金额结束
|
||||||
|
CreatedStaffIds []int64 // 创建人
|
||||||
|
Currency string // 币种
|
||||||
|
Ik3cloudStatus int64 // ik3cloud状态
|
||||||
}
|
}
|
||||||
type ReplyRequestList struct {
|
type ReplyRequestList struct {
|
||||||
List []RequestItem `json:"list"`
|
List []RequestItem `json:"list"`
|
||||||
@@ -50,6 +60,7 @@ type RequestItem struct {
|
|||||||
Remarks string `json:"remarks"`
|
Remarks string `json:"remarks"`
|
||||||
BankAccount string `json:"bankAccount"`
|
BankAccount string `json:"bankAccount"`
|
||||||
BankName string `json:"bankName"`
|
BankName string `json:"bankName"`
|
||||||
|
PayAt *time.Time `json:"payAt"`
|
||||||
PrepaidAmount decimal.Decimal `json:"prepaidAmount"`
|
PrepaidAmount decimal.Decimal `json:"prepaidAmount"`
|
||||||
Amount decimal.Decimal `json:"amount"`
|
Amount decimal.Decimal `json:"amount"`
|
||||||
PaidAmount decimal.Decimal `json:"paidAmount"`
|
PaidAmount decimal.Decimal `json:"paidAmount"`
|
||||||
@@ -135,6 +146,7 @@ type ReplyRequestInfo struct {
|
|||||||
Remarks string `json:"remarks"`
|
Remarks string `json:"remarks"`
|
||||||
BankAccount string `json:"bankAccount"`
|
BankAccount string `json:"bankAccount"`
|
||||||
BankName string `json:"bankName"`
|
BankName string `json:"bankName"`
|
||||||
|
PayAt *time.Time `json:"payAt"`
|
||||||
WorkflowId int64 `json:"workflowId"`
|
WorkflowId int64 `json:"workflowId"`
|
||||||
WorkflowStatus int64 `json:"workflowStatus"`
|
WorkflowStatus int64 `json:"workflowStatus"`
|
||||||
WorkflowReason string `json:"workflowReason"`
|
WorkflowReason string `json:"workflowReason"`
|
||||||
|
|||||||
Reference in New Issue
Block a user