瀏覽代碼

采购意向预算金额修复

znj 2 年之前
父節點
當前提交
81869da644
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      BiddingKG/dl/interface/predictor.py

+ 1 - 1
BiddingKG/dl/interface/predictor.py

@@ -2391,7 +2391,7 @@ class ProductAttributesPredictor():
                                 re_price = re.findall("[零壹贰叁肆伍陆柒捌玖拾佰仟萬億圆十百千万亿元角分]{3,}|\d[\d,]*(?:\.\d+)?万?", budget)
                                 if re_price:
                                     budget = re_price[0]
-                                    if '万元' in header_list[2] and '万' not in budget:
+                                    if '万元' in header_list2[2] and '万' not in budget:
                                         budget += '万元'
                                     budget = str(getUnifyMoney(budget))
                                 else: