From a75ed7b2ec701afa546895653903e9c1f35db2b1 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期四, 26 十月 2023 12:09:51 +0800
Subject: [PATCH] 主数据添加 编码申请添加-ts时间戳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