diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue index 3e95a16f..c4b46557 100644 --- a/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue +++ b/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue @@ -123,20 +123,21 @@ export default { await this.$refs.ruleForm.validate(valid => { if (valid) { // 有征求意见稿计划完成日期和征求意见截止日期,需要征求意见截止日期比计划完成日期早可以等于 - if (JSON.parse(this.formInline.businessJson).solicitationDraftPlanCompleteDate && this.formInline.adviceDeadline) { - console.log('征求意见稿计划完成日期', JSON.parse(this.formInline.businessJson).solicitationDraftPlanCompleteDate) - const planDate = new Date(Date.parse(JSON.parse(this.formInline.businessJson).solicitationDraftPlanCompleteDate)) - const deadlineDate = new Date(Date.parse(this.formInline.adviceDeadline)) - if (deadlineDate <= planDate) { - // 截止日期比完成日期早 - data = Object.assign({}, this.formInline) - } else { - this.$message.warning(this.$t('workCenter.enStandardRevision.deadlineNeedGreaterThan')) - data = false - } - } else { - data = Object.assign({}, this.formInline) - } + // if (JSON.parse(this.formInline.businessJson).solicitationDraftPlanCompleteDate && this.formInline.adviceDeadline) { + // console.log('征求意见稿计划完成日期', JSON.parse(this.formInline.businessJson).solicitationDraftPlanCompleteDate) + // const planDate = new Date(Date.parse(JSON.parse(this.formInline.businessJson).solicitationDraftPlanCompleteDate)) + // const deadlineDate = new Date(Date.parse(this.formInline.adviceDeadline)) + // if (deadlineDate <= planDate) { + // // 截止日期比完成日期早 + // data = Object.assign({}, this.formInline) + // } else { + // this.$message.warning(this.$t('workCenter.enStandardRevision.deadlineNeedGreaterThan')) + // data = false + // } + // } else { + // data = Object.assign({}, this.formInline) + // } + data = Object.assign({}, this.formInline) } else { data = false }