From fd3b56c28551b1fa16bb735c5e0fa73107036908 Mon Sep 17 00:00:00 2001 From: xiaoshi <2272816786@qq.com> Date: Tue, 10 Dec 2024 17:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B6=E5=85=A5=E5=90=88=E5=90=8C=E8=AE=A1?= =?UTF-8?q?=E9=87=8F=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pr/plugin/form/InContractMeasurementBillEditPlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;