bugfix
This commit is contained in:
parent
297a279946
commit
1599f1c38c
49
json/provider.json
Normal file
49
json/provider.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"tblname": "organization",
|
||||
"alias": "provider",
|
||||
"title":"供应商",
|
||||
"params": {
|
||||
"sortby":"orgname",
|
||||
"editor":{
|
||||
"binds":[
|
||||
{
|
||||
"wid":"province_id",
|
||||
"event":"changed",
|
||||
"actiontype":"script",
|
||||
"target":"city_id",
|
||||
"script":"this.loadData({cond:'parentid=\\''+params.province_id+'\\''})"
|
||||
},
|
||||
{
|
||||
"wid":"city_id",
|
||||
"event":"changed",
|
||||
"actiontype":"script",
|
||||
"target":"distinct_id",
|
||||
"script":"this.loadData({cond:'parentid=\\'' + params.city_id+ '\\''})"
|
||||
}
|
||||
]
|
||||
},
|
||||
"browserfields": {
|
||||
"exclouded": ["id"],
|
||||
"alters": {
|
||||
}
|
||||
},
|
||||
"editexclouded": [
|
||||
"id"
|
||||
],
|
||||
"subtables":[
|
||||
{
|
||||
"field":"orgid",
|
||||
"title":"Org. type",
|
||||
"url":"../orgtypes",
|
||||
"subtable":"orgtypes"
|
||||
},
|
||||
{
|
||||
"field":"orgid",
|
||||
"title":"Users",
|
||||
"url":"../users",
|
||||
"subtable":"users"
|
||||
}
|
||||
],
|
||||
"record_toolbar": null
|
||||
}
|
||||
}
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user