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, },