ludc
2023-12-08 c892580371ef4679c858e2da98f71a9345aa3d80
Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -253,7 +253,7 @@
    openDialog() {
      //新增和修改共同调用(有改动 不需要在使用edit,方法没什么影响)
      this.getFormTemplate();
      if (this.type === "add" || (this.type !== "add" && this.status === "amend")) {
      if (this.type === "add") {
        this.getCodeRule();
        return;
      }
@@ -359,7 +359,7 @@
        }
      })
      if (this.$refs.CodeApply) { // 添加一个判断语句,检查对象是否为undefined
        this.$refs.CodeApply.changeChildItem(this.secVOList, this.TreeValue, this.type);
        this.$refs.CodeApply.changeStatusItem(this.secVOList, this.TreeValue, this.type);
      }
    },
    //年代号
@@ -375,7 +375,7 @@
      });
      if (this.$refs.CodeApply) {
        this.$refs.CodeApply.changeChildItem(this.secVOList, this.TreeValue, this.type);
        this.$refs.CodeApply.changeStatusItem(this.secVOList, this.TreeValue, this.type);
      }
    },
    //属性码段赋值