合同登记打开登记列表测回
This commit is contained in:
parent
07988ee7df
commit
9cb6ac3cec
|
@ -50,7 +50,7 @@ public class ContractbillFromPlugin extends AbstractFormPlugin implements Before
|
|||
if (edit != null){
|
||||
edit.addBeforeF7SelectListener(this);
|
||||
}
|
||||
this.addClickListeners("shkd_look");
|
||||
// this.addClickListeners("shkd_look");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -77,23 +77,23 @@ public class ContractbillFromPlugin extends AbstractFormPlugin implements Before
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void click(EventObject evt) {
|
||||
super.click(evt);
|
||||
Control source = (Control) evt.getSource();
|
||||
String key = source.getKey();
|
||||
if ("shkd_look".equals(key)){
|
||||
ListShowParameter lsp = new ListShowParameter();
|
||||
lsp.setBillFormId("er_contractbill");
|
||||
String billno = (String) this.getModel().getValue("billno");
|
||||
QFilter numberQF = new QFilter("billno", QCP.equals, billno);
|
||||
ListFilterParameter listFilterParameter = new ListFilterParameter();
|
||||
listFilterParameter.setFilter(numberQF);
|
||||
lsp.setListFilterParameter(listFilterParameter);
|
||||
lsp.getOpenStyle().setShowType(ShowType.MainNewTabPage);
|
||||
this.getView().showForm(lsp);
|
||||
}
|
||||
}
|
||||
// @Override
|
||||
// public void click(EventObject evt) {
|
||||
// super.click(evt);
|
||||
// Control source = (Control) evt.getSource();
|
||||
// String key = source.getKey();
|
||||
// if ("shkd_look".equals(key)){
|
||||
// ListShowParameter lsp = new ListShowParameter();
|
||||
// lsp.setBillFormId("er_contractbill");
|
||||
// String billno = (String) this.getModel().getValue("billno");
|
||||
// QFilter numberQF = new QFilter("billno", QCP.equals, billno);
|
||||
// ListFilterParameter listFilterParameter = new ListFilterParameter();
|
||||
// listFilterParameter.setFilter(numberQF);
|
||||
// lsp.setListFilterParameter(listFilterParameter);
|
||||
// lsp.getOpenStyle().setShowType(ShowType.MainNewTabPage);
|
||||
// this.getView().showForm(lsp);
|
||||
// }
|
||||
// }
|
||||
|
||||
@Override
|
||||
public void propertyChanged(PropertyChangedArgs e) {
|
||||
|
|
Loading…
Reference in New Issue