소스 검색

采购意向预算金额修复

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: