From 7bc2b875448f9e5311bcc987691b5475a06dfbcb Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期三, 24 四月 2024 12:43:51 +0800
Subject: [PATCH] 1、集团码返码接口下标越界bug。 2、集团返码,需要修改我们系统中的属性,修改时需要判断每一个字段,确定哪些有修改,然后用oldBusinessData字段记录下修改前旧的业务数据。 3、同步型号代号,记录下对方的创建时间和修改时间。

---
 Source/UBCS-WEB/src/views/code/codeApply.vue |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Source/UBCS-WEB/src/views/code/codeApply.vue b/Source/UBCS-WEB/src/views/code/codeApply.vue
index 32ce26e..30bf0f2 100644
--- a/Source/UBCS-WEB/src/views/code/codeApply.vue
+++ b/Source/UBCS-WEB/src/views/code/codeApply.vue
@@ -53,7 +53,7 @@
 
 <script>
 import {getAuthTree,getUsedTemplateByClassifyOid,getCodeRule,addSaveCode} from '@/api/code/codeApply.js'
-
+import func from '@/util/func';
 export default {
   name: "codeApply",
   components: { FormTemplate: () => import('@/components/FormTemplate/FormTemplate') },
@@ -217,7 +217,10 @@
       resForm.codeRuleOid = this.codeRuleOid;
       resForm.templateOid = this.templateOid;
       // this.$emit("submit", resForm);
-      resForm.ts = resForm.ts.toISOString().replace("Z", "");
+      if(func.notEmpty(resForm.ts)) {
+        resForm.ts = func.formattedDateTime(resForm.ts);
+        // resForm.ts = resForm.ts.toISOString().replace("Z", "");
+      }
       addSaveCode(resForm).then(res => {
         this.$nextTick(() => {
           this.addvisible = false;

--
Gitblit v1.9.3