diff --git a/json/provider.json b/json/provider.json new file mode 100644 index 0000000..202cb29 --- /dev/null +++ b/json/provider.json @@ -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 + } +} diff --git a/models/reseller.xlsx b/models/reseller.xlsx index f6730d8..0b5214c 100644 Binary files a/models/reseller.xlsx and b/models/reseller.xlsx differ