采购申请单中点击资源编码后弹出的资源清单面板添加过滤
This commit is contained in:
parent
515b9157e3
commit
e9f1227c1e
|
@ -21,9 +21,11 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
||||||
// this.getPageCache().put("firstOpen", "false");
|
// this.getPageCache().put("firstOpen", "false");
|
||||||
this.getPageCache().put("firstOpen","false");
|
this.getPageCache().put("firstOpen","false");
|
||||||
|
|
||||||
|
Object originFormId = customParams.get("originFormId");//源表单ID
|
||||||
|
if (originFormId != null && originFormId.equals("ecma_purchaseapply")) {
|
||||||
// this.setResourceTypeStyle("material");
|
//采购申请单
|
||||||
|
this.setResourceTypeStyle("material");
|
||||||
|
}
|
||||||
// this.afterSelectedTag("material");
|
// this.afterSelectedTag("material");
|
||||||
|
|
||||||
// contractType="ck";
|
// contractType="ck";
|
||||||
|
@ -71,6 +73,12 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Object originFormId = customParams.get("originFormId");//源表单ID
|
||||||
|
if (originFormId != null && originFormId.equals("ecma_purchaseapply")) {
|
||||||
|
//采购申请单
|
||||||
|
this.getView().setVisible(true, new String[]{"flexpanelmaterial"});
|
||||||
|
this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelturnover", "flexpanelother"});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in New Issue