platformbiz/json/prodtype.json
2025-02-20 10:09:58 +08:00

58 lines
983 B
JSON

{
"tblname":"prodtype",
"uitype":"tree",
"params":{
"idField":"id",
"textField":"name",
"parentField":"parentid",
"editable":true,
"toolbar":{
"tools":[
{
"target":"PopupWindow",
"name":"spec",
"selected_data":true,
"label":"规格"
}
]
},
"binds":[
{
"wid":"self",
"event":"spec",
"actiontype":"urlwidget",
"target":"PopupWindow",
"popup_options":{
"width":"80%",
"height":"80%"
},
"params_mapping":{
"mapping":{
"id":"prodtypeid"
},
"need_others":false
},
"options":{
"params":{
},
"url":"/platformbiz/prodtypespec"
}
}
],
"browserfields": {
"exclouded": ["id", "parentid" ],
"alters": {}
},
"editexclouded": [
"id", "parentid"
],
"subtables":[
{
"field":"prodtypeid",
"title":"产品类型",
"subtable":"prodtypespec"
}
]
}
}