From ba63f77170127701d4badde5e08cfc67647e92c6 Mon Sep 17 00:00:00 2001 From: weiyunlong Date: Tue, 7 Jan 2025 20:00:59 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=8D=B0=E7=AB=A0=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96(=E5=8F=96=E6=B6=88?= =?UTF-8?q?=E7=94=B2=E6=96=B9=E7=B1=BB=E5=9E=8B=E6=9D=A1=E4=BB=B6)=202.?= =?UTF-8?q?=E5=BE=85=E5=8A=9E=E9=80=BB=E8=BE=91=E4=BC=98=E5=8C=96(?= =?UTF-8?q?=E5=A4=84=E7=90=86=E6=96=B9=E6=B3=95=E5=8F=98=E6=9B=B4=E4=B8=BA?= =?UTF-8?q?=E5=B7=B2=E5=8A=9E)=203.=E5=AE=9A=E6=A0=87=E7=94=9F=E6=88=90?= =?UTF-8?q?=E5=90=88=E5=90=8C=E6=90=BA=E5=B8=A6=E9=87=87=E8=B4=AD=E6=96=B9?= =?UTF-8?q?=E5=BC=8F,=E7=A8=8E=E7=8E=87null,=E7=94=B2=E6=96=B9,=E4=B8=9A?= =?UTF-8?q?=E5=8A=A1=E4=BD=93=E7=B3=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit S --- .../repc/recon/formplugin/ContractProjectFormPlugin.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main/java/shkd/repc/recon/formplugin/ContractProjectFormPlugin.java b/main/java/shkd/repc/recon/formplugin/ContractProjectFormPlugin.java index 9802c2d..cae8694 100644 --- a/main/java/shkd/repc/recon/formplugin/ContractProjectFormPlugin.java +++ b/main/java/shkd/repc/recon/formplugin/ContractProjectFormPlugin.java @@ -7,16 +7,21 @@ import kd.bos.dataentity.metadata.IDataEntityType; import kd.bos.entity.datamodel.IDataModel; import kd.bos.entity.datamodel.events.PropertyChangedArgs; import kd.bos.form.IFormView; +import kd.bos.logging.Log; +import kd.bos.logging.LogFactory; import kd.bos.orm.query.QCP; import kd.bos.orm.query.QFilter; import kd.bos.servicehelper.BusinessDataServiceHelper; import kd.bos.servicehelper.operation.SaveServiceHelper; +import shkd.repc.rebm.formplugin.ImportPurchaseApplyBillPlugin; import java.util.EventObject; import java.util.List; public class ContractProjectFormPlugin extends AbstractBillPlugIn { + private static final Log logger = LogFactory.getLog(ContractProjectFormPlugin.class); + @Override public void afterCreateNewData(EventObject e) { super.afterCreateNewData(e); @@ -56,6 +61,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn { if (null != bidproject) { DynamicObject bidmode = bidproject.getDynamicObject("bidmode");//采购方式 if (null != bidmode) { + logger.info("88"); contractbill.set("qeug_bidmode",bidmode); } } @@ -64,6 +70,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn { this.getView().invokeOperation("refresh"); DynamicObject qeugBidmode = contractbill.getDynamicObject("qeug_bidmode"); if (null == qeugBidmode) { + logger.info("99"); this.getView().updateView("qeug_bidmode"); } } @@ -77,7 +84,7 @@ public class ContractProjectFormPlugin extends AbstractBillPlugIn { super.afterBindData(e); //根据组织携带项目 updateRenovationProject(); - + //转换规则 IFormView parentView = this.getView().getParentView(); if (null != parentView) { parentView = parentView.getParentView();