From 48f35180ccc8ff5934882e1e4f8f8adde379fb21 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 25 Mar 2026 13:37:01 +0800 Subject: [PATCH] bugfix --- pricing/pricing.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pricing/pricing.py b/pricing/pricing.py index 557d52d..8756870 100644 --- a/pricing/pricing.py +++ b/pricing/pricing.py @@ -350,6 +350,8 @@ where a.id = b.ppid times = 1 unit = 1 for k,spec_value in p.items(): + if k == 'price': + continue f = d.fields.get(k) if not f: e = f'定价项({i})中的{k}在fields中没有定义'