From 66b9623cf5ec6029ad45ff50c0fc20891af2ce64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A8=8B=E5=B0=8F=E4=BC=9F?= Date: Mon, 12 May 2025 16:46:16 +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 --- .../zcdev/pr/plugin/form/SupplementInvoiceBillPlugin.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 5e619a5..b50fd4a 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 @@ -55,9 +55,9 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI { } private void unapplyInvoftaxamtRevise(BeforeDoOperationEventArgs args) { - int Count = this.getModel().getEntryRowCount("subentryentity"); - log.info("SupplementInvoiceBillPlugin:子单据体行数:"+Count); - if (Count <= 0) { + int rowCount = this.getModel().getEntryRowCount("subentryentity"); + log.info("SupplementInvoiceBillPlugin:子单据体行数:"+rowCount); + if (rowCount <= 0) { this.getView().showTipNotification("请先后补发票"); args.setCancel(true); return; @@ -72,7 +72,7 @@ public class SupplementInvoiceBillPlugin extends PaymentApplyEditUI { " 不等于 合同进项发票的 本次申请金额总和 ,请重写填写合同进项发票的申请金额",10000); args.setCancel(true); }else { - int rowCount = this.getModel().getEntryRowCount("sentimentality");//获取子单据体分录行数 +// int rowCount = this.getModel().getEntryRowCount("subentryentity");//获取子单据体分录行数 DynamicObject[] invArr = new DynamicObject[rowCount];//用于存储发票 DynamicObjectCollection subentryentitys = rowEntity.getDynamicObjectCollection("subentryentity");