bugfix
This commit is contained in:
parent
c08f66b612
commit
917d7d6324
@ -1,23 +0,0 @@
|
||||
{
|
||||
"tblname": "pricing_item",
|
||||
"title": "定价细项",
|
||||
"params": {
|
||||
"sortby": "name",
|
||||
"browserfields": {
|
||||
"exclouded": ["id", "pptid"],
|
||||
"alters": {
|
||||
"psid":{
|
||||
"dataurl":"{{entire_url('../pi_get_all_specs.dspy')}}",
|
||||
"textField": "name",
|
||||
"valueField": "id",
|
||||
"params": {
|
||||
"pptid":"{{params_kw.pptid}}"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"editexclouded": [
|
||||
"id", "pptid"
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -5,11 +5,11 @@
|
||||
"sortby": "name",
|
||||
"logined_userorgid": "ownerid",
|
||||
"browserfields": {
|
||||
"exclouded": ["id", "ownerid" ],
|
||||
"exclouded": ["id", "ownerid", "ppid" ],
|
||||
"alters": {}
|
||||
},
|
||||
"editexclouded": [
|
||||
"id", "ownerid"
|
||||
"id", "ownerid", "ppid"
|
||||
],
|
||||
"subtables":[
|
||||
{
|
||||
|
||||
@ -2,6 +2,7 @@ from pricing.pricing import (
|
||||
pricing_program_charging,
|
||||
get_pricing_specs_by_pptid,
|
||||
get_all_spec_fields_by_pptid,
|
||||
sor_get_spec_fields,
|
||||
get_spec_names_fields)
|
||||
from ahserver.serverenv import ServerEnv
|
||||
|
||||
@ -11,3 +12,4 @@ def load_pricing():
|
||||
env.get_pricing_specs_by_pptid = get_pricing_specs_by_pptid
|
||||
env.get_spec_names_fields = get_spec_names_fields
|
||||
env.get_all_spec_fields_by_pptid = get_all_spec_fields_by_pptid
|
||||
env.sor_get_spec_fields = sor_get_spec_fields
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user