Browse Source

REPORT-116327 条码增强插件,新建条码,条码的默认配置会跟随上一个设置的条码变化

【问题原因】单元格为空时,未刷新插件面板,导致插件面板中配置没有被重置
【改动思路】重置所有面板
release/11.0
Leo.Qin 8 months ago
parent
commit
9baa4f112e
  1. 7
      designer-realize/src/main/java/com/fr/design/present/PresentPane.java

7
designer-realize/src/main/java/com/fr/design/present/PresentPane.java

@ -52,10 +52,9 @@ public class PresentPane extends UIComboBoxPane<Present> {
@Override @Override
public void populateBean(Present ob) { public void populateBean(Present ob) {
if(ob == null) { if(ob == null) {
dictPresentPane.reset(); for (FurtherBasicBeanPane<?> pane : cards) {
formulaPresentPane.reset(); pane.reset();
barCodePane.reset(); }
currencyLinePane.reset();
} }
super.populateBean(ob); super.populateBean(ob);
} }

Loading…
Cancel
Save