Commit ce69b7922039e974186e83151937e58a51cd6c0e
1 parent
11928c8a
1.运费对账单单据选了税码后,运费金额,不含税金额,税额都变0了 需要修改下
Showing
1 changed file
with
1 additions
and
1 deletions
src/components/Common/commonBusiness.js
| ... | ... | @@ -458,7 +458,7 @@ export function getCalculateByPrice(app, type, masterData, tableDataRow, sFieldN |
| 458 | 458 | if(sFieldName !== `d${type}Price`) { /* 输入数量等 */ |
| 459 | 459 | dProductPrice = commonUtils.convertFixNum(dCurrencyRate !== 0 ? dProductForeignPrice * dCurrencyRate : 0, dNetPrice); /* 本位币单价 */ |
| 460 | 460 | } |
| 461 | - } else { | |
| 461 | + } else if(sFieldName !== 'sTaxName' && sFieldName !== 'sTaxId') { | |
| 462 | 462 | dProductMoney = commonUtils.convertFixNum(dProductQty * dProductPrice, dNetMoney); /* 金额 */ |
| 463 | 463 | dProductForeignMoney = commonUtils.convertFixNum(dCurrencyRate !== 0 ? dProductMoney / dCurrencyRate : 0, dNetMoney); /* 外币金额 */ |
| 464 | 464 | } | ... | ... |