From 07aa9ae043338bd331a2bba7f974ac54cc0fb6be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=B0=8F=E4=BC=9F?= Date: Fri, 9 May 2025 15:16:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=98=E6=AC=BE=E7=94=B3=E8=AF=B7=E5=8D=95?= =?UTF-8?q?=20=E5=80=99=E8=A1=A5=E5=8F=91=E7=A5=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../form/SupplementInvoiceBillPlugin.java | 21 ++++++++++--------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/SupplementInvoiceBillPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/SupplementInvoiceBillPlugin.java index 0c36277..fbf054d 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/SupplementInvoiceBillPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/SupplementInvoiceBillPlugin.java @@ -59,18 +59,19 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI { public void propertyChanged(PropertyChangedArgs e) { log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+e.getProperty().getName()); String billId = this.getModel().getDataEntity().getPkValue().toString(); - log.info("SupplementInvoiceBillPlugin:主键值:"+billId); - if (!billId.equals("0") && "A".equals(this.getModel().getValue("billstatus"))){ - super.propertyChanged(e); - } else if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){ - String key = e.getProperty().getName(); +// log.info("SupplementInvoiceBillPlugin:主键值:"+billId); +// if (!billId.equals("0") && "A".equals(this.getModel().getValue("billstatus"))){ +// super.propertyChanged(e); +// } else + if (!billId.equals("0") &&"C".equals(this.getModel().getValue("billstatus"))){ + String key = e.getProperty().getName(); // int rowIndex = e.getChangeSet()[0].getRowIndex(); - log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+key); - if(StringUtil.equals("applyinvoftaxamt", key)) { - log.info("SupplementInvoiceBillPlugin:发票申请金额发生变动,与合同的申请金额进行比较"); - this.compareApplyInvoftaxamt1(); - } + log.info("SupplementInvoiceBillPlugin:发生变动的字段:"+key); + if(StringUtil.equals("applyinvoftaxamt", key)) { + log.info("SupplementInvoiceBillPlugin:发票申请金额发生变动,与合同的申请金额进行比较"); + this.compareApplyInvoftaxamt1(); } + } }