feat(paymentRefund): 新增付款退款单功能

- 添加付款退款单常量定义及类型枚举
- 在 Ik3cloud 结构体中注册付款退款单模块
- 实现付款退款单保存接口 Save
- 实现付款退款单作废接口 Cancel
- 定义付款退款单参数结构体及费用明细项
This commit is contained in:
2026-10-16 16:12:33 +08:00
parent f357760feb
commit 6a8dcfdc75
3 changed files with 76 additions and 13 deletions

View File

@@ -19,6 +19,7 @@ const (
ActionRecPayPurpose Action = "CN_RECPAYPURPOSE" // 收付款用途
ActionExpense Action = "BD_Expense" // 费用项目
ActionPayment Action = "AP_PAYBILL" // 付款单
ActionPaymentRefund Action = "AP_REFUNDBILL" // 付款退款单
ActionInformation Action = "BOS_ASSISTANTDATA_DETAIL" // 辅助资料
ActionReceiptAction Action = "AR_RECEIVEBILL" // 收款单
ActionBankAccount Action = "CN_BANKACNT" // 银行账户
@@ -42,6 +43,7 @@ var ActionIdField = map[Action]string{
ActionRecPayPurpose: "",
ActionExpense: "",
ActionPayment: "FID",
ActionPaymentRefund: "FID",
ActionInformation: "FEntryID",
ActionReceiptAction: "FID",
}
@@ -62,6 +64,7 @@ var ActionNumberField = map[Action]string{
ActionRecPayPurpose: "FNumber",
ActionExpense: "FNumber",
ActionPayment: "FBillNo",
ActionPaymentRefund: "FBillNo",
ActionInformation: "FNumber",
ActionReceiptAction: "FBillNo",
}
@@ -97,6 +100,12 @@ const (
ReceiptTypeReceipt ReceiptType = "SKDLX09_SYS" // 收款单
)
type PaymentRefundType = string
const (
PaymentRefundTypePurchase PaymentRefundType = "FKTKDLX01_SYS" // 采购业务退款单
)
type InformationType = string
const (