From a8ad498a60c7b171000d7338a40702704bdbe40b Mon Sep 17 00:00:00 2001 From: zhen <1173776308@qq.com> Date: Wed, 17 Jul 2024 09:21:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=9C=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/smart/operationticket.vue | 2 ++ src/views/smart/operationticketDetail.vue | 18 +++++++++--------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/views/smart/operationticket.vue b/src/views/smart/operationticket.vue index edc7786..6d0be57 100644 --- a/src/views/smart/operationticket.vue +++ b/src/views/smart/operationticket.vue @@ -254,6 +254,7 @@ import {getList, getDetail, add, update, remove, closeticket} from "@/api/smart/ { label: "计划结束时间", prop: "plannedEndTime", + type: "date", format: 'yyyy/MM/dd', valueFormat: "yyyyMMdd", rules: [{ @@ -265,6 +266,7 @@ import {getList, getDetail, add, update, remove, closeticket} from "@/api/smart/ { label: "签发时间", prop: "workIssuanceTime", + type: "date", format: 'yyyy/MM/dd', valueFormat: "yyyyMMdd", rules: [{ diff --git a/src/views/smart/operationticketDetail.vue b/src/views/smart/operationticketDetail.vue index 342fd10..941056d 100644 --- a/src/views/smart/operationticketDetail.vue +++ b/src/views/smart/operationticketDetail.vue @@ -340,9 +340,9 @@ export default { rules: [{ required: true, }], - type: "date", - format: 'yyyy/MM/dd', - valueFormat: "yyyyMMdd", + type: "datetime", + format: 'yyyy/MM/dd HH:mm:ss', + valueFormat: "yyyyMMddHH:mm:ss", span: 8, maxlength: 20, }, @@ -352,9 +352,9 @@ export default { rules: [{ required: true, }], - type: "date", - format: 'yyyy/MM/dd', - valueFormat: "yyyyMMdd", + type: "datetime", + format: 'yyyy/MM/dd HH:mm:ss', + valueFormat: "yyyyMMddHH:mm:ss", span: 8, maxlength: 20, }, @@ -364,9 +364,9 @@ export default { rules: [{ required: true, }], - type: "date", - format: 'yyyy/MM/dd', - valueFormat: "yyyyMMdd", + type: "datetime", + format: 'yyyy/MM/dd HH:mm:ss', + valueFormat: "yyyyMMddHH:mm:ss", span: 8, maxlength: 20, },