fix: add dataurl for resellerid code field + status data

This commit is contained in:
yumoqing 2026-07-09 13:42:17 +08:00
parent 499d91bb3f
commit b6dd52ab6f

View File

@ -26,6 +26,7 @@
]
},
"row_options": {
"editexclouded": ["id", "created_at", "updated_at"],
"browserfields": {
"exclouded": ["id"],
"alters": {
@ -36,8 +37,8 @@
},
"fields": [
{"name": "domain", "type": "str", "length": 200, "cwidth": 20, "uitype": "str", "label": "域名"},
{"name": "resellerid", "type": "str", "length": 32, "cwidth": 15, "uitype": "code", "label": "分销商"},
{"name": "status", "type": "str", "length": 10, "cwidth": 6, "uitype": "code", "label": "状态"},
{"name": "resellerid", "type": "str", "length": 32, "cwidth": 15, "uitype": "code", "label": "分销商", "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": "创建时间"}
]
}