浏览代码

广东导入,一般计税 简易计税

vian 5 年之前
父节点
当前提交
82cb30188a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/over_write/js/guangdong_2018_import.js

+ 1 - 1
web/over_write/js/guangdong_2018_import.js

@@ -712,7 +712,7 @@ const importXML = (() => {
         }
         // 根据计税方式获取价格,一般计税对应不含税,简易对应含税
         function getPriceByTaxType(gljSrc, taxType) {
-            return taxType === TaxType.NORMAL
+            return +taxType === TaxType.NORMAL
                 ? {
                     base_price: getValue(gljSrc, ['_NoTaxOrgPrice']),
                     market_price: getValue(gljSrc, ['_NoTaxPrice'])