c8a6639d by 周伟奇

fix bug

1 parent c57fc944
...@@ -614,7 +614,7 @@ class BSWorkbook(Workbook): ...@@ -614,7 +614,7 @@ class BSWorkbook(Workbook):
614 price_total_str = license_dict.get('价税合计小写') 614 price_total_str = license_dict.get('价税合计小写')
615 if rate_str is not None and price_total_str is not None: 615 if rate_str is not None and price_total_str is not None:
616 try: 616 try:
617 rate = int(rate_str) 617 rate = int(rate_str.rstrip('%'))
618 price_total = float(price_total_str) 618 price_total = float(price_total_str)
619 except Exception as e: 619 except Exception as e:
620 pass 620 pass
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!