Browse Source

REPORT-18955 填报属性配置,提交条件的删除按钮没有灰色化

bugfix/10.0
Hades 5 years ago
parent
commit
cb3f74bc8a
  1. 7
      designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java

7
designer-base/src/main/java/com/fr/design/write/submit/DBManipulationPane.java

@ -279,7 +279,12 @@ public class DBManipulationPane extends BasicBeanPane<DBManipulation> {
addSubmitConditionButton.addActionListener(new ActionListener() { addSubmitConditionButton.addActionListener(new ActionListener() {
@Override @Override
public void actionPerformed(ActionEvent e) { public void actionPerformed(ActionEvent e) {
final DSColumnLiteConditionPane conditionPane = new DSColumnLiteConditionPane(); final DSColumnLiteConditionPane conditionPane = new DSColumnLiteConditionPane() {
@Override
protected boolean isNeedDoWithCondition(Condition liteCondition) {
return liteCondition != null;
}
};
String[] columns = chooseTable.currentColumnNames(); String[] columns = chooseTable.currentColumnNames();
if (columns != null && columns.length > 0) { if (columns != null && columns.length > 0) {
conditionPane.populateColumns(chooseTable.currentColumnNames()); conditionPane.populateColumns(chooseTable.currentColumnNames());

Loading…
Cancel
Save