From 400bc044160b8f0761b38559ab2c785c297c2f9b Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 30 十月 2023 11:58:02 +0800 Subject: [PATCH] 主题库添加单选框校验bug --- Source/UBCS-WEB/src/views/code/codeApply.vue | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/Source/UBCS-WEB/src/views/code/codeApply.vue b/Source/UBCS-WEB/src/views/code/codeApply.vue index c9df49d..32ce26e 100644 --- a/Source/UBCS-WEB/src/views/code/codeApply.vue +++ b/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 = {}; -- Gitblit v1.9.3