文档
测试

批量编辑自定义字段列表

GET
/system-field/batch-edit?type=crm_customer

接口描述

用于获取批量编辑自定义字段列表。

请求头

参数名
类型
描述
必填
Device-Type
string
设备类型,示例:web
必填
Authorization
string
Token,示例:fafaf139-37b8-4d1e-abc3-65d9901697c5
必填

请求参数

参数名
类型
描述
必填
type
string
分类,示例:crm_customer,可选值:{"crm_customer":"客户","erp_purchase_contract":"采购合同","erp_purchase_order":"采购单","erp_before_payment":"预付款","erp_tax_payment":"付税款","erp_after_payment":"付尾款","erp_godown_entry":"入库单","erp_purchase_return_order":"采购退货单","erp_sale_order":"销售订单","erp_sale_return_order":"销售退货单","erp_outbound_order":"出库单","erp_returned_money":"回款单","erp_payment":"付款单","erp_invoice":"发票"}
必填

响应参数

application/json
参数名
类型
描述
必填
id
int
自定义字段ID,示例:24
必填
type
string
分类,示例:crm_customer,值:{"crm_customer":"客户","erp_purchase_contract":"采购合同","erp_purchase_order":"采购单","erp_before_payment":"预付款","erp_tax_payment":"付税款","erp_after_payment":"付尾款","erp_godown_entry":"入库单","erp_purchase_return_order":"采购退货单","erp_sale_order":"销售订单","erp_sale_return_order":"销售退货单","erp_outbound_order":"出库单","erp_returned_money":"回款单","erp_payment":"付款单","erp_invoice":"发票"}
必填
field
string
字段名,示例:customer_no
必填
name
string
标识名,示例:客户编码
必填
form_type
string
字段类型,示例:text
必填
default_value
string
默认值,示例:
必填
min_length
int
字符串类字段的最小长度,示例:0
必填
max_length
int
字符串类字段的最大长度,示例:20
必填
is_unique
int
是否唯一,示例:1,值:{"0":"否","1":"是"}
必填
is_require
int
是否必填,示例:1,值:{"0":"否","1":"是"}
必填
input_tips
string
输入提示,示例:
必填
placeholder
string
占位符,示例:
必填
options
string
选项内容,示例:
必填
sort
int
排序,示例:0
必填
style_percent
int
字段宽度百分比,示例:50
必填
form_position
string
坐标,示例:
必填
precisions
int
小数精度,示例:0,默认:0
必填
min_num_restrict
int
数字类字段的最小数,示例:0
必填
max_num_restrict
int
数字类字段的最大数,示例:0
必填
status
int
状态,示例:1,值:{"0":"隐藏","1":"显示"}
必填
create_time
string
创建时间,示例:2021-09-24 15:18:07
必填
update_time
string
更新时间示例:2021-09-24 15:18:07
必填
operating
int
操作权限,示例:0
必填