This commit is contained in:
yumoqing 2026-03-24 13:45:39 +08:00
parent ebf07ad54f
commit 8c86881a83

View File

@ -196,8 +196,7 @@ class PricingProgram:
if not recs:
debug(f'id={ppid} pricing_program not found')
r = recs[0]
PricingProgram.pp_db2app(r)
x = [ DictObject(**f) for f in r.pricing_spec ]
x = DictObject(** yaml.safe_load(r.pricing_spec))
webpath = env.quote(write_pattern_xlsx(x))
return entire_url(f'/idfile?path={webpath}')