From 158ac9bdc5d184a4dca8ff30755186f5ca2db771 Mon Sep 17 00:00:00 2001 From: 田源 <lastanimals@163.com> Date: 星期一, 30 十月 2023 11:58:06 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue index f7a0b3d..0658b01 100644 --- a/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue +++ b/Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue @@ -167,6 +167,7 @@ import {validatenull} from "@/util/validate"; import fileInHtml from "@/components/file/inHtml.vue"; import {getUserInfo} from "@/api/system/user"; +import func from "@/util/func"; export default { components: { @@ -328,7 +329,7 @@ oids.push(ele.oid); }); return oids; - } + }, }, created() { // const index = this.$route.query.id.indexOf('@name=') + '@name='.length; @@ -881,8 +882,11 @@ }, //澧炲姞淇濆瓨 AddSumbit(val) { - console.log(val) - val.ts = val.ts.toISOString().replace("Z", ""); + //console.log(val) + if(func.notEmpty(val.ts)) { + val.ts = func.formattedDateTime(val.ts); + //console.log(val.ts); + } addSaveCode(val).then(res => { this.$nextTick(() => { this.addvisible = false; -- Gitblit v1.9.3