fix 82956 财务管理--到账开票--审核后自动来款的项目--税率没有回显
This commit is contained in:
+1
@@ -219,6 +219,7 @@ public class PayPaymentRecordServiceImpl extends ServiceImpl<PayPaymentRecordMap
|
|||||||
BigDecimal amountReceived = payPaymentRecord.getAmountReceived();
|
BigDecimal amountReceived = payPaymentRecord.getAmountReceived();
|
||||||
BigDecimal noTaxAmount = amountReceived.divide(StaticConfig.TAX_RATE_CALCULATE, 2, RoundingMode.HALF_UP);
|
BigDecimal noTaxAmount = amountReceived.divide(StaticConfig.TAX_RATE_CALCULATE, 2, RoundingMode.HALF_UP);
|
||||||
BigDecimal tax = amountReceived.subtract(noTaxAmount);
|
BigDecimal tax = amountReceived.subtract(noTaxAmount);
|
||||||
|
payPaymentRecord.setTaxRate(StaticConfig.TAX_RATE);
|
||||||
payPaymentRecord.setNoTaxAmount(noTaxAmount);
|
payPaymentRecord.setNoTaxAmount(noTaxAmount);
|
||||||
payPaymentRecord.setTax(tax);
|
payPaymentRecord.setTax(tax);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user