fix: 产品类别树排除product_type_title编辑,移除冗余alters(框架自动从codes生成)

This commit is contained in:
Hermes Agent 2026-06-17 17:21:08 +08:00
parent 8fda537caa
commit 014d6e593d
3 changed files with 3 additions and 21 deletions

View File

@ -13,26 +13,8 @@
"update_data_url": "{{entire_url('../api/product_category_update.dspy')}}", "update_data_url": "{{entire_url('../api/product_category_update.dspy')}}",
"delete_data_url": "{{entire_url('../api/product_category_delete.dspy')}}" "delete_data_url": "{{entire_url('../api/product_category_delete.dspy')}}"
}, },
"edit_exclouded_fields": ["created_by", "created_at", "updated_at", "org_id"], "edit_exclouded_fields": ["created_by", "created_at", "updated_at", "org_id", "product_type_title"],
"logined_userorgid": "org_id", "logined_userorgid": "org_id",
"browserfields": {
"alters": {
"has_product": {
"uitype": "code",
"data": [
{"value": "1", "text": "是"},
{"value": "0", "text": "否"}
]
},
"status": {
"uitype": "code",
"data": [
{"value": "1", "text": "启用"},
{"value": "0", "text": "禁用"}
]
}
}
},
"subtables": [ "subtables": [
{ {
"field": "category_id", "field": "category_id",

View File

@ -1,7 +1,7 @@
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"cheight": 40, "css": "filler", "height": "100%",
"width": "100%" "width": "100%"
}, },
"subwidgets": [ "subwidgets": [

View File

@ -1,7 +1,7 @@
{ {
"widgettype": "VBox", "widgettype": "VBox",
"options": { "options": {
"cheight": 40, "css": "filler", "height": "100%",
"width": "100%" "width": "100%"
}, },
"subwidgets": [ "subwidgets": [