Compare commits
No commits in common. "bd16e4e28452b548528df78b6a045f0580b7d315" and "912eb13cd753f56fd6ed3305c78bdd3a36522c26" have entirely different histories.
bd16e4e284
...
912eb13cd7
|
|
@ -21,7 +21,7 @@ import java.util.EventObject;
|
|||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* ”资源清单“动态表单扩展系统插件
|
||||
* 资源清单动态表单扩展系统插件
|
||||
*/
|
||||
public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
||||
@Override
|
||||
|
|
@ -36,8 +36,8 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
|||
this.getPageCache().put("firstOpen", "false");
|
||||
|
||||
Object originFormId = customParams.get("originFormId");//源表单ID
|
||||
if (originFormId != null && (originFormId.equals("ecma_purchaseapply") || originFormId.equals("ecma_materialinbill"))) {
|
||||
//采购申请单或入库单
|
||||
if (originFormId != null && originFormId.equals("ecma_purchaseapply")) {
|
||||
//采购申请单
|
||||
this.setResourceTypeStyle("material");
|
||||
this.afterSelectedTag("material");
|
||||
}
|
||||
|
|
@ -89,7 +89,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
|
|||
}
|
||||
}
|
||||
Object originFormId = customParams.get("originFormId");//源表单ID
|
||||
if (originFormId != null && (originFormId.equals("ecma_purchaseapply") || originFormId.equals("ecma_materialinbill"))) {
|
||||
if (originFormId != null && originFormId.equals("ecma_purchaseapply")) {
|
||||
//采购申请单
|
||||
this.getView().setVisible(true, new String[]{"flexpanelmaterial"});
|
||||
this.getView().setVisible(false, new String[]{"flexpanelequipment", "flexpanellabour", "flexpanelcomposite", "flexpanelturnover", "flexpanelother", "flexpanelsub"});
|
||||
|
|
|
|||
Loading…
Reference in New Issue