c8a6639d by 周伟奇

fix bug

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