优化代码

This commit is contained in:
xiaoshi 2024-12-17 14:33:58 +08:00
parent 5af47982cd
commit 050dcde6c8
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
// contractType="ck";
if (contractType != null) {
if (contractType.toString().equals("wzcg")) {//物资采购
if (contractType.toString().equals("wzcg01")) {//物资采购
this.setResourceTypeStyle("material");
this.afterSelectedTag("material");
} else if (contractType.toString().equals("sbcg")) {//设备采购
@ -59,7 +59,7 @@ public class ResourceFilterExtPlugin extends ResourceItemListPlugin {
// contractType = "ck";
// this.getPageCache().remove("firstOpen");
if (contractType != null) {
if (contractType.toString().equals("wzcg")) {//物资采购
if (contractType.toString().equals("wzcg01")) {//物资采购
this.getView().setVisible(true, new String[]{"flexpanelmaterial"});
this.getView().setVisible(false, new String[]{"flexpanelsub", "flexpanellabour", "flexpanelcomposite", "flexpanelequipment", "flexpanelturnover","flexpanelother"});
} else if (contractType.toString().equals("sbcg")) {//设备采购