2025-01-15 11:24:03 +08:00
|
|
|
{
|
|
|
|
"tblname":"prodtype",
|
2025-02-14 10:33:21 +08:00
|
|
|
"uitype":"tree",
|
2025-01-15 11:24:03 +08:00
|
|
|
"params":{
|
2025-02-14 10:33:21 +08:00
|
|
|
"idField":"id",
|
2025-02-20 10:09:58 +08:00
|
|
|
"textField":"name",
|
2025-02-14 10:33:21 +08:00
|
|
|
"parentField":"parentid",
|
|
|
|
"editable":true,
|
2025-02-20 10:09:58 +08:00
|
|
|
"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"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
2025-01-15 11:24:03 +08:00
|
|
|
"browserfields": {
|
2025-01-17 12:07:31 +08:00
|
|
|
"exclouded": ["id", "parentid" ],
|
2025-01-15 11:24:03 +08:00
|
|
|
"alters": {}
|
|
|
|
},
|
|
|
|
"editexclouded": [
|
2025-01-17 12:07:31 +08:00
|
|
|
"id", "parentid"
|
2025-01-15 13:50:09 +08:00
|
|
|
],
|
|
|
|
"subtables":[
|
|
|
|
{
|
2025-02-20 10:09:58 +08:00
|
|
|
"field":"prodtypeid",
|
2025-01-15 13:50:09 +08:00
|
|
|
"title":"产品类型",
|
2025-02-20 10:09:58 +08:00
|
|
|
"subtable":"prodtypespec"
|
2025-01-15 13:50:09 +08:00
|
|
|
}
|
|
|
|
]
|
2025-01-15 11:24:03 +08:00
|
|
|
}
|
|
|
|
}
|