From d5e1369e85d43b8f5f2d12fe1c40ee41710e6269 Mon Sep 17 00:00:00 2001 From: "tanfengling@x-ri.com" <123456> Date: Mon, 24 Nov 2025 17:06:40 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=95=86=E5=93=81=E6=B3=A8=E5=86=8C?= =?UTF-8?q?=E8=AF=81=E3=80=91=E6=B8=85=E7=A9=BA=E9=80=89=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cloud/app/plugin/form/sys/RegistBillFactoryPlugin.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lc123/cloud/app/plugin/form/sys/RegistBillFactoryPlugin.java b/lc123/cloud/app/plugin/form/sys/RegistBillFactoryPlugin.java index e1399c1..bc153b6 100644 --- a/lc123/cloud/app/plugin/form/sys/RegistBillFactoryPlugin.java +++ b/lc123/cloud/app/plugin/form/sys/RegistBillFactoryPlugin.java @@ -48,12 +48,16 @@ public class RegistBillFactoryPlugin extends AbstractBillPlugIn { String name = e.getProperty().getName(); if("tqq9_supplier".equals(name)){ //动态添加厂商的许可证号 + this.getModel().setValue("tqq9_supno", null); ComboEdit comboEdit = this.getControl("tqq9_supno"); + comboEdit.setComboItems(new ArrayList<>()); DynamicObject tqq9_supplier = (DynamicObject) this.getModel().getValue("tqq9_supplier");//生产厂家 setProxyField(tqq9_supplier, "tqq9_supno", comboEdit); }else if("tqq9_proxy".equals(name)){ //动态添加总代的许可证号 + this.getModel().setValue("tqq9_proxyno", null); ComboEdit comboEdit = this.getControl("tqq9_proxyno"); + comboEdit.setComboItems(new ArrayList<>()); DynamicObject tqq9_supplier = (DynamicObject) this.getModel().getValue("tqq9_proxy");//生产厂家 setProxyField(tqq9_supplier, "tqq9_proxyno", comboEdit); } @@ -123,6 +127,8 @@ public class RegistBillFactoryPlugin extends AbstractBillPlugIn { this.getModel().setValue("tqq9_supplier", null); ComboEdit comboEdit = this.getControl("tqq9_supno"); + comboEdit.setText(null); + comboEdit.setDefaultValue(null); comboEdit.setComboItems(null); this.getView().updateView("tqq9_entry"); this.getView().updateView();