From 475845261e5b3f431e1c5fad3efb641e1d4342e1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 9 Jul 2026 13:55:45 +0800 Subject: [PATCH] fix: align resellerid code field valueField/textField with API response --- wwwroot/index.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/index.ui b/wwwroot/index.ui index 48f1a75..7ad21b1 100644 --- a/wwwroot/index.ui +++ b/wwwroot/index.ui @@ -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": "创建时间"} ]