This commit is contained in:
yumoqing 2025-02-20 10:09:58 +08:00
parent e2ee714871
commit 6ca4e5755d
7 changed files with 58 additions and 24 deletions

View File

@ -2,11 +2,11 @@
"tblname":"agreedetail",
"params":{
"browserfields": {
"exclouded": ["id"],
"exclouded": ["id", "agreeid"],
"alters": {}
},
"editexclouded": [
"id"
"id", "agreeid"
]
}
}

View File

@ -1,12 +0,0 @@
{
"tblname":"prodpricing",
"params":{
"browserfields": {
"exclouded": ["id"],
"alters": {}
},
"editexclouded": [
"id"
]
}
}

View File

@ -2,11 +2,11 @@
"tblname":"prodpricingtab",
"params":{
"browserfields": {
"exclouded": ["id"],
"exclouded": ["id", "prodid"],
"alters": {}
},
"editexclouded": [
"id"
"id", "prodid"
]
}
}

View File

@ -3,9 +3,42 @@
"uitype":"tree",
"params":{
"idField":"id",
"textField":"path",
"textField":"name",
"parentField":"parentid",
"editable":true,
"toolbar":{
"tools":[
{
"target":"PopupWindow",
"name":"spec",
"selected_data":true,
"label":"规格"
}
]
},
"binds":[
{
"wid":"self",
"event":"spec",
"actiontype":"urlwidget",
"target":"PopupWindow",
"popup_options":{
"width":"80%",
"height":"80%"
},
"params_mapping":{
"mapping":{
"id":"prodtypeid"
},
"need_others":false
},
"options":{
"params":{
},
"url":"/platformbiz/prodtypespec"
}
}
],
"browserfields": {
"exclouded": ["id", "parentid" ],
"alters": {}
@ -15,9 +48,9 @@
],
"subtables":[
{
"field":"parentid",
"field":"prodtypeid",
"title":"产品类型",
"subtable":"prodtype"
"subtable":"prodtypespec"
}
]
}

View File

@ -1,13 +1,24 @@
{
"tblname":"product",
"params":{
"logined_userorgid":"ownerid",
"logined_userorgid":"orgid",
"browserfields": {
"exclouded": ["id"],
"alters": {}
"exclouded": ["id", "orgid", "providerid", "agreeid", "providerpid" ],
"alters": {
}
},
"editexclouded": [
"id"
]
"id", "orgid", "providerid", "agreeid", "providerpid"
],
"subtables":[
{
"field":"prodid",
"params":{
"prodtypeid":"${prodtypeid}"
},
"subtable":"prodpricingtab",
"title":"产品定价"
}
]
}
}

View File

@ -1,5 +1,7 @@
#!/usr/bin/bash
python ~/py/rbac/script/roleperm.py sage platformbiz provider sale retail_agree agreedetail agreedetailstep agreeproduct organization
python ~/py/rbac/script/roleperm.py sage platformbiz provider sale product prodpricing prodpricingtab
python ~/py/rbac/script/roleperm.py sage platformbiz reseller sale reseller retail_agree agreedetail agreedetailstep agreeproduct organization
python ~/py/rbac/script/roleperm.py sage platformbiz reseller operator provide_agree coupontype agreedetail agreedetailstep agreeproduct organization product prodpricing prodpricingtab coupontype coupon coupon_log recharge_log resource biz_order
python ~/py/rbac/script/roleperm.py sage platformbiz owner operator paychannel prodtype