{ "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" } ] } }