田源
2023-10-26 a75ed7b2ec701afa546895653903e9c1f35db2b1
Source/UBCS-WEB/src/views/code/codeApply.vue
@@ -157,15 +157,6 @@
      // 进行表单校验
      const formValidate = await this.$refs.FormTemplate.validate();
      if (!formValidate) return;
      let codeValidate = true;
      // 进行码值申请校验
      // if (this.showCodeApply) {
      //   codeValidate = await this.$refs.CodeApply.validate();
      //   if (!codeValidate) {
      //     this.activeName = "codeApply";
      //     return false;
      //   }
      // }
      let resembleQueryList = [];
      if (this.showResembleQuery && this.$refs.resembleQueryRef) {
        // 进行相似项查询
@@ -226,6 +217,7 @@
      resForm.codeRuleOid = this.codeRuleOid;
      resForm.templateOid = this.templateOid;
      // this.$emit("submit", resForm);
      resForm.ts = resForm.ts.toISOString().replace("Z", "");
      addSaveCode(resForm).then(res => {
        this.$nextTick(() => {
          this.addvisible = false;
@@ -233,7 +225,7 @@
          this.onLoad()
        })
      })
      console.log(resForm)
      // console.log(resForm)
    },
    getDefaultValueAndFormValues(form) {
      let defaultValue = {};