【付款申请单】调用产品手工结算界面
This commit is contained in:
parent
a1d10b0d07
commit
80b8efa554
|
@ -4,44 +4,24 @@ import com.alibaba.fastjson.JSONObject;
|
||||||
import kd.bos.dataentity.entity.DynamicObject;
|
import kd.bos.dataentity.entity.DynamicObject;
|
||||||
import kd.bos.form.FormShowParameter;
|
import kd.bos.form.FormShowParameter;
|
||||||
import kd.bos.form.control.Button;
|
import kd.bos.form.control.Button;
|
||||||
import kd.bos.form.control.Control;
|
|
||||||
import kd.bos.form.events.PreOpenFormEventArgs;
|
|
||||||
import kd.bos.form.events.TimerElapsedArgs;
|
|
||||||
import kd.bos.form.plugin.AbstractFormPlugin;
|
|
||||||
import kd.bos.logging.Log;
|
import kd.bos.logging.Log;
|
||||||
import kd.bos.logging.LogFactory;
|
import kd.bos.logging.LogFactory;
|
||||||
import kd.bos.orm.query.QCP;
|
import kd.bos.orm.query.QCP;
|
||||||
import kd.bos.orm.query.QFilter;
|
import kd.bos.orm.query.QFilter;
|
||||||
import kd.bos.report.filter.ReportFilter;
|
|
||||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||||
import kd.sdk.plugin.Plugin;
|
import kd.fi.arapcommon.form.ManualSettleBasePlugin;
|
||||||
|
import kd.fi.arapcommon.service.IManualSettleService;
|
||||||
|
|
||||||
import java.util.EventObject;
|
import java.util.EventObject;
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 动态表单插件
|
* 动态表单插件
|
||||||
*/
|
*/
|
||||||
public class ApHandSettleFormPlugin extends AbstractFormPlugin implements Plugin {
|
public class ApHandSettleFormPlugin extends ManualSettleBasePlugin {
|
||||||
private final static Log logger = LogFactory.getLog(ApHandSettleFormPlugin.class);
|
private final static Log logger = LogFactory.getLog(ApHandSettleFormPlugin.class);
|
||||||
|
|
||||||
@Override
|
|
||||||
public void registerListener(EventObject e) {
|
|
||||||
super.registerListener(e);
|
|
||||||
Button button = this.getView().getControl("btnquery");
|
|
||||||
button.addClickListener(this);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public void preOpenForm(PreOpenFormEventArgs e) {
|
|
||||||
super.preOpenForm(e);
|
|
||||||
// 要求触发TimerElapsed事件
|
|
||||||
((FormShowParameter)e.getSource()).setListentimerElapsed(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void afterCreateNewData(EventObject e) {
|
public void afterCreateNewData(EventObject e) {
|
||||||
|
@ -74,21 +54,20 @@ public class ApHandSettleFormPlugin extends AbstractFormPlugin implements Plugin
|
||||||
button.click();
|
button.click();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void click(EventObject evt) {
|
protected List<Long> getOrgIdList() {
|
||||||
super.click(evt);
|
return null;
|
||||||
Control control = (Control) evt.getSource();
|
|
||||||
String key = control.getKey();
|
|
||||||
if (key.equalsIgnoreCase("btnquery")) {
|
|
||||||
this.getView().showMessage("点击了查询按钮");
|
|
||||||
// this.getView().setVisible(true,"settleitempanel");
|
|
||||||
// this.getView().setVisible(true,"adv_mainbill");
|
|
||||||
// this.getView().setVisible(true,"adv_asstbill");
|
|
||||||
// ReportFilter querypanel = this.getView().getControl("querypanel");
|
|
||||||
// querypanel.setCollapse(true);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected String getSettleRecordEntity() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
protected IManualSettleService getService() {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue