ludc
2023-07-11 9d8be8e7580ef577def96c852288a5a95eab4ea3
Source/UBCS-WEB/src/components/BatchImport/ShowImportData.vue
@@ -302,10 +302,7 @@
    },
    async treeNodeClick(data, first) {
      if (this.type === "batchApplyCode") {
        if (
          first === true ||
          this.localCodeClassifyOid === data.codeClassifyOid
        ) {
        if (first === true) {
          this.codeRuleOid = data.codeRuleOid;
          // 第一次打开直接赋值不校验
          this.batchApplyCodeTableData[data.codeRuleOid] = {
@@ -316,6 +313,8 @@
            codeRuleOid: data.codeRuleOid,
          };
          // 不是第一次打开需要优先校验
        } else if (this.localCodeClassifyOid === data.codeClassifyOid) {
          console.log("重复点击");
        } else {
          if (this.$refs.CodeApply) {
            if (!(await this.$refs.CodeApply.validate())) {
@@ -326,7 +325,6 @@
            }
          }
        }
        // 第一次打开直接赋值不校验
        if (!this.batchApplyCodeTableData[data.codeRuleOid]) {
          this.batchApplyCodeTableData[data.codeRuleOid] = {
            name: data.name,