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