From 0333a9698ebb7c71ee29ea586d03a78a1e2f85e3 Mon Sep 17 00:00:00 2001 From: xiaoshi <2272816786@qq.com> Date: Sat, 14 Dec 2024 18:42:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../zcdev/pr/plugin/form/ResourceFilterExtPlugin.java | 7 ------- 1 file changed, 7 deletions(-) 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"}); } } }