feat(erp): 添加银行账户信息字段和批量修改功能
- 在报销单、付款单和申请单中添加银行账号和账号名称字段 - 为报销单、付款单和申请单实现批量修改银行账户信息功能 - 在ik3cloud常量中添加银行账户操作类型 - 新增字典查询相关结构体和过滤条件类型 - 更新金蝶同步相关服务以支持银行账户信息处理
This commit is contained in:
@@ -21,6 +21,7 @@ const (
|
||||
ActionPayment Action = "AP_PAYBILL" // 付款单
|
||||
ActionInformation Action = "BOS_ASSISTANTDATA_DETAIL" // 辅助资料
|
||||
ActionReceiptAction Action = "AR_RECEIVEBILL" // 收款单
|
||||
ActionBankAccount Action = "CN_BANKACNT" // 银行账户
|
||||
)
|
||||
|
||||
var ActionIdField = map[Action]string{
|
||||
@@ -99,3 +100,9 @@ type InformationType = string
|
||||
const (
|
||||
InformationTypeInvoiceSerial InformationType = "FYP" // 采购付款单
|
||||
)
|
||||
|
||||
type FilterCompare = string
|
||||
|
||||
const (
|
||||
FilterCompareEqual FilterCompare = "67"
|
||||
)
|
||||
|
||||
@@ -20,6 +20,19 @@ type DictItem struct {
|
||||
Field8 any `json:"field8"`
|
||||
}
|
||||
|
||||
type ArgsDictAll struct {
|
||||
CompanyType constant.Action // 类型
|
||||
FilterItem []FilterItem // 筛选
|
||||
}
|
||||
type FilterItem struct {
|
||||
FieldName string `json:"FieldName"`
|
||||
Compare constant.FilterCompare `json:"Compare"`
|
||||
Value string `json:"Value"`
|
||||
Left string `json:"Left"`
|
||||
Right string `json:"Right"`
|
||||
Logic string `json:"Logic"`
|
||||
}
|
||||
|
||||
// All @TITLE 获取字典
|
||||
func (d *dict) All(ctx context.Context, companyType constant.Action) (reply []DictItem, err error) {
|
||||
xClient, err := client.GetClient(d)
|
||||
|
||||
@@ -34,6 +34,7 @@ type PaymentCostItem struct {
|
||||
//SettlementMethod string // 结算方式
|
||||
PaymentPurpose constant.PaymentPurpose // 付款用途
|
||||
ExpenseItem string // 费用项目
|
||||
BankAccount string // 银行账号
|
||||
}
|
||||
|
||||
// Save @TITLE 保存付款单
|
||||
|
||||
Reference in New Issue
Block a user