Files
service/ik3cloud/constant/constant.go
kanade e209510e1f feat(k3cloud): 新增辅助资料信息模块
- 在常量定义中增加辅助资料相关枚举类型
- 添加辅助资料信息保存接口及数据结构
- 实现辅助资料信息保存方法
- 定义辅助资料类型常量值
2025-12-16 17:03:17 +08:00

45 lines
1.7 KiB
Go

package constant
type Action = string // 方法
const (
ActionDepartment Action = "BD_Department" // 部门
ActionStaff Action = "BD_Empinfo" // 员工
ActionStaffPosition Action = "BD_NEWSTAFF" // 职位
ActionOperatorType Action = "BD_OPERATOR" // 业务员类型
ActionPosition Action = "HR_ORG_HRPOST" // 职位
ActionFactory Action = "BD_Supplier" // 工厂
ActionContact Action = "BD_CommonContact" // 联系人
ActionCustom Action = "BD_Customer" // 客户
ActionReceivable Action = "AR_receivable" // 应收单
ActionPayable Action = "AP_Payable" // 应付单
ActionProduct Action = "BD_MATERIAL" // 物料
ActionCurrency Action = "BD_Currency" // 币种
ActionSettleType Action = "BD_SETTLETYPE" // 结算方式
ActionRecPayPurpose Action = "CN_RECPAYPURPOSE" // 收付款用途
ActionExpense Action = "BD_Expense" // 费用项目
ActionPayment Action = "AP_PAYBILL" // 付款单
ActionInformation Action = "BOS_ASSISTANTDATA_DETAIL" // 辅助资料
)
type OperatorType = string
const (
OperatorTypeXSY OperatorType = "XSY" // 业务员
OperatorTypeCGY OperatorType = "CGY" // 采购员
)
type PaymentType = string
const (
PaymentTypePurchase PaymentType = "FKDLX09_SYS" // 采购付款单
PaymentTypeCost PaymentType = "FKDLX10_SYS" // 费用付款单
PaymentTypeRequest PaymentType = "FKDLX11_SYS" // 报销付款单
)
type InformationType = string
const (
InformationTypeInvoiceSerial InformationType = "FYP" // 采购付款单
)