feat(ik3cloud): 新增收款单功能并完善作废接口

- 新增收款单常量定义及映射配置
- 新增收款单类型枚举定义
- 新增收款单服务模块,支持保存和作废操作
- 在应付、应收、付款模块中补充作废接口实现
- 定义收款单保存参数结构体及费用明细结构体
This commit is contained in:
2025-12-19 16:31:29 +08:00
parent d44f208a84
commit eb4c3e3241
6 changed files with 93 additions and 0 deletions

View File

@@ -20,6 +20,7 @@ const (
ActionExpense Action = "BD_Expense" // 费用项目
ActionPayment Action = "AP_PAYBILL" // 付款单
ActionInformation Action = "BOS_ASSISTANTDATA_DETAIL" // 辅助资料
ActionReceiptAction Action = "AR_RECEIVEBILL" // 收款单
)
var ActionIdField = map[Action]string{
@@ -40,6 +41,7 @@ var ActionIdField = map[Action]string{
ActionExpense: "",
ActionPayment: "FID",
ActionInformation: "FEntryID",
ActionReceiptAction: "FID",
}
var ActionNumberField = map[Action]string{
ActionDepartment: "FNumber",
@@ -59,6 +61,7 @@ var ActionNumberField = map[Action]string{
ActionExpense: "FNumber",
ActionPayment: "FBillNo",
ActionInformation: "FNumber",
ActionReceiptAction: "FBillNo",
}
type OperatorType = string
@@ -76,6 +79,13 @@ const (
PaymentTypeRequest PaymentType = "FKDLX11_SYS" // 报销付款单
)
type ReceiptType = string
const (
ReceiptTypeReceiptFx ReceiptType = "SKDLX08_SYS" // 收汇水单
ReceiptTypeReceipt ReceiptType = "SKDLX09_SYS" // 收款单
)
type InformationType = string
const (