diff --git a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/InContractMeasurementBillEditPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/InContractMeasurementBillEditPlugin.java index 6f93925..44d0925 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/InContractMeasurementBillEditPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/InContractMeasurementBillEditPlugin.java @@ -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;