pricing/json/pricing_program.json

60 lines
1.2 KiB
JSON

{
"tblname": "pricing_program",
"title": "定价项目",
"params": {
"editable": {
"get_data_url": "{{entire_url('get_pricing_program.dspy')}}"
},
"sortby": "name",
"browserfields": {
"exclouded": ["id", "ownerid"]
},
"data_filter": {
"AND": [
{"field": "name", "op": "LIKE", "var": "name"},
{"field": "providerid", "op": "LIKE", "var": "providerid"}
]
},
"editexclouded": [
"id", "ownerid"
],
"subtables":[
{
"field": "ppid",
"title": "定价项目时序",
"icon": "{{entire_url('/pricing/imgs/pricing_program_timing.svg')}}",
"subtable": "pricing_program_timing"
}
],
"toolbar":{
"tools":[
{
"name": "test",
"label": "测试",
"selected_row": true,
"icon": "{{entire_url('/bricks/imgs/test.svg')}}"
}
]
},
"binds":[
{
"wid": "self",
"event": "test",
"actiontype": "urlwidget",
"target": "PopupWindow",
"popup_options": {
"width": "70%",
"height": "70%",
"auto_open": true,
"archor": "cc",
"title": "定价测试"
},
"options": {
"url": "{{entire_url('../test_pricing_program.ui')}}",
"params":{}
}
}
]
}
}