From a0a964a5aedf9e8296d999895b0afd831b21817e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E9=9C=84?= Date: Thu, 21 Dec 2023 17:31:24 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=A0=87=E5=87=86=E5=BE=81=E6=B1=82?= =?UTF-8?q?=E6=84=8F=E8=A7=81=E6=B5=81=E7=A8=8B-=E5=BE=81=E6=B1=82?= =?UTF-8?q?=E6=84=8F=E8=A7=81=E7=BB=93=E6=9D=9F=E6=97=A5=E6=9C=9F=E9=99=90?= =?UTF-8?q?=E5=88=B6=E4=B8=8D=E8=83=BD=E9=80=89=E4=BB=8A=E5=A4=A9=E4=B9=8B?= =?UTF-8?q?=E5=89=8D=E7=9A=84=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../StandardConsultationProcess.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue index 521cd231..4616f279 100644 --- a/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue +++ b/src/views/workCenter/standardConsultationProcess/StandardConsultationProcess.vue @@ -110,7 +110,8 @@ + :disabled="basicServiceInfoDisabled" + :disabled-date="consultationDueDateDisabledDate" /> @@ -323,6 +324,7 @@ import { import UserSelectModal from '../../../components/selection/UserSelectModal' import { getFileInfo } from '../../../api/api' import TextContentModal from '../../businessSupport/askForAdvice/modules/TextContentModal' +import moment from 'moment' export default { name: 'StandardConsultationProcess', @@ -1198,6 +1200,12 @@ export default { }, showContent (text) { this.$refs.textContentModal.open(text) + }, + /** + * 征求意见截至日期不可选今天之前的日期 + */ + consultationDueDateDisabledDate (current) { + return current && current < moment().subtract(1, 'days').endOf('day') } } }