This commit is contained in:
yumoqing 2025-12-26 15:17:54 +08:00
parent c08f66b612
commit 917d7d6324
3 changed files with 4 additions and 25 deletions

View File

@ -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"
]
}
}

View File

@ -5,11 +5,11 @@
"sortby": "name", "sortby": "name",
"logined_userorgid": "ownerid", "logined_userorgid": "ownerid",
"browserfields": { "browserfields": {
"exclouded": ["id", "ownerid" ], "exclouded": ["id", "ownerid", "ppid" ],
"alters": {} "alters": {}
}, },
"editexclouded": [ "editexclouded": [
"id", "ownerid" "id", "ownerid", "ppid"
], ],
"subtables":[ "subtables":[
{ {

View File

@ -2,6 +2,7 @@ from pricing.pricing import (
pricing_program_charging, pricing_program_charging,
get_pricing_specs_by_pptid, get_pricing_specs_by_pptid,
get_all_spec_fields_by_pptid, get_all_spec_fields_by_pptid,
sor_get_spec_fields,
get_spec_names_fields) get_spec_names_fields)
from ahserver.serverenv import ServerEnv 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_pricing_specs_by_pptid = get_pricing_specs_by_pptid
env.get_spec_names_fields = get_spec_names_fields env.get_spec_names_fields = get_spec_names_fields
env.get_all_spec_fields_by_pptid = get_all_spec_fields_by_pptid env.get_all_spec_fields_by_pptid = get_all_spec_fields_by_pptid
env.sor_get_spec_fields = sor_get_spec_fields