diff --git a/src/common/lang/workCenter/zh.js b/src/common/lang/workCenter/zh.js
index 553ad286..8312a496 100644
--- a/src/common/lang/workCenter/zh.js
+++ b/src/common/lang/workCenter/zh.js
@@ -154,7 +154,7 @@ module.exports = {
releaseDate: '发布日期',
implementationDate: '实施日期',
esPlan: '企标计划',
- deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期早'
+ deadlineNeedGreaterThan: '征求意见截止日期需要比征求意见稿计划完成日期晚'
},
// 企标更改流程
enStandardChange: {
diff --git a/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue b/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue
index e7bd7e74..e7ef3036 100644
--- a/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue
+++ b/src/views/workCenter/enterpriseStandardRevision/modules/DepartLiaisonIssueBaseInfo.vue
@@ -18,7 +18,7 @@
-
+
*
@@ -116,12 +116,13 @@ export default {
let data = {}
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) {
- // 截止日期比完成日期早
+ if (deadlineDate > planDate) {
+ // 截止日期比完成日期晚
data = Object.assign({}, this.formInline)
} else {
this.$message.warning(this.$t('workCenter.enStandardRevision.deadlineNeedGreaterThan'))
@@ -146,10 +147,6 @@ export default {