|
|
@@ -140,7 +140,7 @@
|
|
|
inquiry.enUU = this.user.data.enterprise.uu
|
|
|
}
|
|
|
let date = new Date()
|
|
|
- let endDate = this.baseUtils.formatDate(this.applyObj.deadline, 'yyyy-MM-dd hh:mm:ss')
|
|
|
+ let endDate = this.baseUtils.formatDate(this.baseUtils.getFullDay(new Date(this.baseUtils.getClearDay(new Date(this.applyObj.deadline)))), 'yyyy-MM-dd hh:mm:ss')
|
|
|
// let currency = this.applyObj.currency === '不限' ? null : this.applyObj.currency
|
|
|
let currency = null
|
|
|
inquiry.recorderUU = this.user.data.userUU
|
|
|
@@ -200,7 +200,7 @@
|
|
|
return !time || (time >= now && time <= now + 1000 * 60 * 60 * 24 * 90)
|
|
|
},
|
|
|
deadlineChange: function () {
|
|
|
- this.applyObj.deadline = this.baseUtils.formatDate(this.baseUtils.getFullDay(new Date(this.baseUtils.getClearDay(new Date(this.applyObj.deadline)))), 'yyyy-MM-dd hh:mm:ss')
|
|
|
+// this.applyObj.deadline = this.baseUtils.formatDate(this.baseUtils.getFullDay(new Date(this.baseUtils.getClearDay(new Date(this.applyObj.deadline)))), 'yyyy-MM-dd hh:mm:ss')
|
|
|
if (!this.isValidDate(this.applyObj.deadline)) {
|
|
|
this.setRemindText('日期需不小于今天且在90天以内')
|
|
|
this.applyObj.deadline = ''
|