From ce69b7922039e974186e83151937e58a51cd6c0e Mon Sep 17 00:00:00 2001 From: pengm <674192343@qq.com> Date: Wed, 18 Mar 2026 11:52:18 +0800 Subject: [PATCH] 1.运费对账单单据选了税码后,运费金额,不含税金额,税额都变0了 需要修改下 --- src/components/Common/commonBusiness.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Common/commonBusiness.js b/src/components/Common/commonBusiness.js index a873601..8c4c1da 100644 --- a/src/components/Common/commonBusiness.js +++ b/src/components/Common/commonBusiness.js @@ -458,7 +458,7 @@ export function getCalculateByPrice(app, type, masterData, tableDataRow, sFieldN if(sFieldName !== `d${type}Price`) { /* 输入数量等 */ dProductPrice = commonUtils.convertFixNum(dCurrencyRate !== 0 ? dProductForeignPrice * dCurrencyRate : 0, dNetPrice); /* 本位币单价 */ } - } else { + } else if(sFieldName !== 'sTaxName' && sFieldName !== 'sTaxId') { dProductMoney = commonUtils.convertFixNum(dProductQty * dProductPrice, dNetMoney); /* 金额 */ dProductForeignMoney = commonUtils.convertFixNum(dCurrencyRate !== 0 ? dProductMoney / dCurrencyRate : 0, dNetMoney); /* 外币金额 */ } -- libgit2 0.22.2