diff --git a/erp/expense.go b/erp/expense.go index e9cbe01..6a9cd53 100644 --- a/erp/expense.go +++ b/erp/expense.go @@ -39,6 +39,7 @@ type ExpenseItem struct { WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` + ExpenseStaffId int64 `json:"expenseStaffId"` CreatedStaffId int64 `json:"createdStaffId"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` @@ -64,7 +65,7 @@ type ExpenseAdd struct { CurrencySymbol string // 币种符号 CurrencyRate decimal.Decimal // 币种汇率 Remarks string // 备注 - Amount decimal.Decimal // 金额 + ExpenseStaffId int64 // 报销人 } // Add @TITLE 添加 @@ -89,6 +90,7 @@ type ReplyExpenseInfo struct { WorkflowId int64 `json:"workflowId"` WorkflowStatus int64 `json:"workflowStatus"` WorkflowReason string `json:"workflowReason"` + ExpenseStaffId int64 `json:"expenseStaffId"` CreatedStaffId int64 `json:"createdStaffId"` CreatedAt *time.Time `json:"createdAt"` UpdatedAt *time.Time `json:"updatedAt"` diff --git a/ik3cloud/payment.go b/ik3cloud/payment.go index 33afb52..b40ad90 100644 --- a/ik3cloud/payment.go +++ b/ik3cloud/payment.go @@ -31,9 +31,9 @@ type PaymentCostItem struct { Date time.Time // 费用日期 InvoiceSerial string // 发票号 DepartmentNumber string // 核算部门 - SettlementMethod string // 结算方式 - PaymentPurpose string // 付款用途 - ExpenseItem string // 费用项目 + //SettlementMethod string // 结算方式 + //PaymentPurpose string // 付款用途 + ExpenseItem string // 费用项目 } // Save @TITLE 保存付款单