设备维修信息分录显示和超链接点击事件处理插件废弃

This commit is contained in:
zhangzhiguo 2025-11-24 17:24:48 +08:00
parent 49c83a2a74
commit 8fc7c0678d
1 changed files with 14 additions and 3 deletions

View File

@ -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) {
}
}*/
}