合同登记打开登记列表测回

This commit is contained in:
zengweihai 2024-07-18 18:32:53 +08:00
parent 07988ee7df
commit 9cb6ac3cec
1 changed files with 18 additions and 18 deletions

View File

@ -50,7 +50,7 @@ public class ContractbillFromPlugin extends AbstractFormPlugin implements Before
if (edit != null){ if (edit != null){
edit.addBeforeF7SelectListener(this); edit.addBeforeF7SelectListener(this);
} }
this.addClickListeners("shkd_look"); // this.addClickListeners("shkd_look");
} }
@Override @Override
@ -77,23 +77,23 @@ public class ContractbillFromPlugin extends AbstractFormPlugin implements Before
} }
} }
@Override // @Override
public void click(EventObject evt) { // public void click(EventObject evt) {
super.click(evt); // super.click(evt);
Control source = (Control) evt.getSource(); // Control source = (Control) evt.getSource();
String key = source.getKey(); // String key = source.getKey();
if ("shkd_look".equals(key)){ // if ("shkd_look".equals(key)){
ListShowParameter lsp = new ListShowParameter(); // ListShowParameter lsp = new ListShowParameter();
lsp.setBillFormId("er_contractbill"); // lsp.setBillFormId("er_contractbill");
String billno = (String) this.getModel().getValue("billno"); // String billno = (String) this.getModel().getValue("billno");
QFilter numberQF = new QFilter("billno", QCP.equals, billno); // QFilter numberQF = new QFilter("billno", QCP.equals, billno);
ListFilterParameter listFilterParameter = new ListFilterParameter(); // ListFilterParameter listFilterParameter = new ListFilterParameter();
listFilterParameter.setFilter(numberQF); // listFilterParameter.setFilter(numberQF);
lsp.setListFilterParameter(listFilterParameter); // lsp.setListFilterParameter(listFilterParameter);
lsp.getOpenStyle().setShowType(ShowType.MainNewTabPage); // lsp.getOpenStyle().setShowType(ShowType.MainNewTabPage);
this.getView().showForm(lsp); // this.getView().showForm(lsp);
} // }
} // }
@Override @Override
public void propertyChanged(PropertyChangedArgs e) { public void propertyChanged(PropertyChangedArgs e) {