This commit is contained in:
yumoqing 2025-10-26 21:33:01 +08:00
parent a4b516b6f6
commit c789448198
5 changed files with 96 additions and 0 deletions

14
json/pricing_item.json Normal file
View File

@ -0,0 +1,14 @@
{
"tblname": "pricing_spec",
"title": "定价规格",
"params": {
"sortby": "name",
"browserfields": {
"exclouded": ["id"],
"alters": {},
},
"editexclouded": [
"id"
]
}
}

23
json/pricing_program.json Normal file
View File

@ -0,0 +1,23 @@
{
"tblname": "pricing_program",
"title": "定价项目",
"params": {
"sortby": "name",
"logined_userorgid": "ownerid",
"browserfields": {
"exclouded": ["id", "ownerid" ],
"alters": {},
},
"editexclouded": [
"id", "ownerid"
],
"subtables":[
{
"field": "ppid",
"title": "定价细项",
"icon": "{{entire_url('/pricing/imgs/pricing_item.svg')}}",
"subtable": "pricing_item"
}
]
}
}

14
json/pricing_spec.json Normal file
View File

@ -0,0 +1,14 @@
{
"tblname": "pricing_item",
"title": "定价细项",
"params": {
"sortby": "name",
"browserfields": {
"exclouded": ["id"],
"alters": {},
},
"editexclouded": [
"id"
]
}
}

23
json/pricing_type.json Normal file
View File

@ -0,0 +1,23 @@
{
"tblname": "pricing_type",
"title": "定价类型",
"params": {
"sortby": "name",
"logined_userorgid": "ownerid",
"browserfields": {
"exclouded": ["id", "ownerid" ],
"alters": {},
},
"editexclouded": [
"id", "ownerid"
],
"subtables":[
{
"field": "ptid",
"title": "定价规格",
"icon": "{{entire_url('/pricing/imgs/pricing_spec.svg')}}",
"subtable": "pricing_spec"
}
]
}
}

22
wwwroot/menu.ui Normal file
View File

@ -0,0 +1,22 @@
{
"widgettype": "Menu",
"options": {
"target": "PopupWindow",
"popup_options":{
},
"items":[
{
"name": "pricing_type",
"icon": "{{entire_url('/pricing/imgs/pricing_type.svg')}}",
"label": "定价类型",
"url": "{{entire_url('/pricing/pricing_type')}}"
},
{
"name": "pricing_program",
"icon": "{{entire_url('/pricing/imgs/pricing_program.svg')}}",
"label": "定价项目",
"url": "{{entire_url('pricing/pricing_program')}}"
}
]
}
}