diff --git a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ResourceFilterExtPlugin.java b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ResourceFilterExtPlugin.java index 1c15e2f..2a8cf2b 100644 --- a/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ResourceFilterExtPlugin.java +++ b/code/zcdev/zcgj-zcdev-zcdev-pr/src/main/java/zcgj/zcdev/zcdev/pr/plugin/form/ResourceFilterExtPlugin.java @@ -20,17 +20,12 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin { if (contractType != null) { if (contractType.toString().equals("wzcg")) {//物资采购 - this.setResourceTypeStyle("material"); - this.afterSelectedTag("material"); } else if (contractType.toString().equals("sbcg")) {//设备采购 this.setResourceTypeStyle("equipment"); this.afterSelectedTag("equipment"); }else if (contractType.toString().equals("qtcc") || contractType.toString().equals("lwlcc")) {//产出物 this.setResourceTypeStyle("turnover"); this.afterSelectedTag("turnover"); - }else{ - this.setResourceTypeStyle("material"); - this.afterSelectedTag("material"); } } }else{ @@ -59,8 +54,6 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin { }else if (contractType.toString().equals("qtcc") || contractType.toString().equals("lwlcc")) {//产出物 this.getView().setVisible(true, new String[]{"flexpanelturnover"}); this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"}); - }else{ - this.getView().setVisible(true, new String[]{"flexpanelturnover","flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelmaterial","flexpanelother"}); } } }