【商品注册证】清空选中的值
This commit is contained in:
parent
ebb8063c68
commit
d5e1369e85
|
|
@ -48,12 +48,16 @@ public class RegistBillFactoryPlugin extends AbstractBillPlugIn {
|
||||||
String name = e.getProperty().getName();
|
String name = e.getProperty().getName();
|
||||||
if("tqq9_supplier".equals(name)){
|
if("tqq9_supplier".equals(name)){
|
||||||
//动态添加厂商的许可证号
|
//动态添加厂商的许可证号
|
||||||
|
this.getModel().setValue("tqq9_supno", null);
|
||||||
ComboEdit comboEdit = this.getControl("tqq9_supno");
|
ComboEdit comboEdit = this.getControl("tqq9_supno");
|
||||||
|
comboEdit.setComboItems(new ArrayList<>());
|
||||||
DynamicObject tqq9_supplier = (DynamicObject) this.getModel().getValue("tqq9_supplier");//生产厂家
|
DynamicObject tqq9_supplier = (DynamicObject) this.getModel().getValue("tqq9_supplier");//生产厂家
|
||||||
setProxyField(tqq9_supplier, "tqq9_supno", comboEdit);
|
setProxyField(tqq9_supplier, "tqq9_supno", comboEdit);
|
||||||
}else if("tqq9_proxy".equals(name)){
|
}else if("tqq9_proxy".equals(name)){
|
||||||
//动态添加总代的许可证号
|
//动态添加总代的许可证号
|
||||||
|
this.getModel().setValue("tqq9_proxyno", null);
|
||||||
ComboEdit comboEdit = this.getControl("tqq9_proxyno");
|
ComboEdit comboEdit = this.getControl("tqq9_proxyno");
|
||||||
|
comboEdit.setComboItems(new ArrayList<>());
|
||||||
DynamicObject tqq9_supplier = (DynamicObject) this.getModel().getValue("tqq9_proxy");//生产厂家
|
DynamicObject tqq9_supplier = (DynamicObject) this.getModel().getValue("tqq9_proxy");//生产厂家
|
||||||
setProxyField(tqq9_supplier, "tqq9_proxyno", comboEdit);
|
setProxyField(tqq9_supplier, "tqq9_proxyno", comboEdit);
|
||||||
}
|
}
|
||||||
|
|
@ -123,6 +127,8 @@ public class RegistBillFactoryPlugin extends AbstractBillPlugIn {
|
||||||
|
|
||||||
this.getModel().setValue("tqq9_supplier", null);
|
this.getModel().setValue("tqq9_supplier", null);
|
||||||
ComboEdit comboEdit = this.getControl("tqq9_supno");
|
ComboEdit comboEdit = this.getControl("tqq9_supno");
|
||||||
|
comboEdit.setText(null);
|
||||||
|
comboEdit.setDefaultValue(null);
|
||||||
comboEdit.setComboItems(null);
|
comboEdit.setComboItems(null);
|
||||||
this.getView().updateView("tqq9_entry");
|
this.getView().updateView("tqq9_entry");
|
||||||
this.getView().updateView();
|
this.getView().updateView();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue