This commit is contained in:
yumoqing 2025-07-11 11:59:51 +08:00
parent 297a279946
commit 1599f1c38c
2 changed files with 49 additions and 0 deletions

49
json/provider.json Normal file
View 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.