设备维修信息分录显示和超链接点击事件处理插件废弃
This commit is contained in:
parent
49c83a2a74
commit
8fc7c0678d
|
|
@ -2,6 +2,7 @@ package zcgj.zcdev.zcdev.fs.plugin.form;
|
|||
|
||||
import kd.bos.bill.AbstractBillPlugIn;
|
||||
import kd.bos.bill.BillShowParameter;
|
||||
import kd.bos.dataentity.entity.DynamicObjectCollection;
|
||||
import kd.bos.entity.datamodel.ListSelectedRow;
|
||||
import kd.bos.entity.filter.FilterParameter;
|
||||
import kd.bos.form.container.Tab;
|
||||
|
|
@ -22,10 +23,12 @@ import java.util.List;
|
|||
/**
|
||||
* 设备详情表单插件
|
||||
* 说明:设备维修信息分录显示和超链接点击事件处理插件
|
||||
* 迁移至ps项目
|
||||
*/
|
||||
|
||||
public class EquipInfoFormPlugin extends AbstractBillPlugIn implements TabSelectListener, HyperLinkClickListener, CreateListDataProviderListener {
|
||||
public void registerListener(EventObject e) {
|
||||
@Deprecated
|
||||
public class EquipInfoFormPlugin {
|
||||
/*public void registerListener(EventObject e) {
|
||||
super.registerListener(e);
|
||||
Tab tab = (Tab) this.getControl("tabap");
|
||||
if (tab != null) {
|
||||
|
|
@ -40,6 +43,13 @@ public class EquipInfoFormPlugin extends AbstractBillPlugIn implements TabSelect
|
|||
public void afterBindData(EventObject e) {
|
||||
super.afterBindData(e);
|
||||
this.onSetMaintenanceAck();
|
||||
this.getView().setEnable(false,"fs_baseinfo1","fieldsetpanelap1","attachmentpanel");
|
||||
DynamicObjectCollection dynamicObjectCollection = this.getModel().getDataEntity(true).getDynamicObjectCollection("zcgj_entryentity");
|
||||
for (int i = 0; i < dynamicObjectCollection.size(); i++) {
|
||||
this.getView().setEnable(false, i, "zcgj_assperiod","zcgj_headusedept","zcgj_entrybillno",
|
||||
"zcgj_entryname","zcgj_costcenter","zcgj_shareamount");
|
||||
}
|
||||
this.getView().updateView("zcgj_entryentity");
|
||||
}
|
||||
|
||||
public void hyperLinkClick(HyperLinkClickEvent hyperLinkClickEvent) {
|
||||
|
|
@ -87,5 +97,6 @@ public class EquipInfoFormPlugin extends AbstractBillPlugIn implements TabSelect
|
|||
@Override
|
||||
public void createListDataProvider(BeforeCreateListDataProviderArgs beforeCreateListDataProviderArgs) {
|
||||
|
||||
}
|
||||
}*/
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue