收入合同计量报错

This commit is contained in:
xiaoshi 2024-12-10 17:21:53 +08:00
parent aef7266a65
commit fd3b56c285
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ public class InContractMeasurementBillEditPlugin extends InContractMeasureBillEd
BigDecimal qty = BigDecimal.ZERO;//数量
BigDecimal entrytaxrate = BigDecimal.ZERO;//税率
BigDecimal taxrate = entrytaxrate.divide(new BigDecimal(100));
if (parentRowIndex+rowIndex>=0){
if (parentRowIndex+rowIndex>0){
Object curtaxpriceobj = this.getModel().getValue("curtaxprice", rowIndex, parentRowIndex);
if (curtaxpriceobj != null) {
curtaxprice = (BigDecimal) curtaxpriceobj;