[update] 修改企标评审会记录和企标详情总分计算,企标制修订流程-部所联络人下发节点截止日期可以等于计划日期当天

This commit is contained in:
lideqin
2024-01-16 15:17:33 +08:00
parent 424e49aa92
commit 7c014955ee
3 changed files with 28 additions and 117 deletions
@@ -116,12 +116,12 @@ 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 {