fix: align resellerid code field valueField/textField with API response
This commit is contained in:
parent
b6dd52ab6f
commit
475845261e
@ -31,13 +31,13 @@
|
||||
"exclouded": ["id"],
|
||||
"alters": {
|
||||
"status": {"uitype": "code", "data": [{"value": "active", "text": "启用"}, {"value": "inactive", "text": "停用"}]},
|
||||
"resellerid": {"uitype": "code", "valueField": "resellerid", "textField": "resellerid_text"}
|
||||
"resellerid": {"uitype": "code", "valueField": "sub_distributor_id", "textField": "sub_distributor_id_text"}
|
||||
},
|
||||
"cwidths": {"domain": 20, "resellerid": 15, "status": 6, "created_at": 12}
|
||||
},
|
||||
"fields": [
|
||||
{"name": "domain", "type": "str", "length": 200, "cwidth": 20, "uitype": "str", "label": "域名"},
|
||||
{"name": "resellerid", "type": "str", "length": 32, "cwidth": 15, "uitype": "code", "label": "分销商", "dataurl": "{{entire_url('/supplychain/api/get_search_sub_distributor_id.dspy')}}"},
|
||||
{"name": "resellerid", "type": "str", "length": 32, "cwidth": 15, "uitype": "code", "label": "分销商", "valueField": "sub_distributor_id", "textField": "sub_distributor_id_text", "dataurl": "{{entire_url('/supplychain/api/get_search_sub_distributor_id.dspy')}}"},
|
||||
{"name": "status", "type": "str", "length": 10, "cwidth": 6, "uitype": "code", "data": [{"value": "active", "text": "启用"}, {"value": "inactive", "text": "停用"}], "label": "状态"},
|
||||
{"name": "created_at", "type": "timestamp", "cwidth": 12, "uitype": "timestamp", "label": "创建时间"}
|
||||
]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user