|
|
@@ -146,7 +146,7 @@
|
|
|
},
|
|
|
emptyForm: function () {
|
|
|
for (let attr in this.applyObj) {
|
|
|
- this.applyObj[attr] = attr === 'currency' ? 'RMB' : ''
|
|
|
+ this.applyObj[attr] = attr === 'currency' ? '不限' : ''
|
|
|
}
|
|
|
},
|
|
|
setRemindText: function (str) {
|
|
|
@@ -216,7 +216,7 @@
|
|
|
this.showCurrencyList = false
|
|
|
},
|
|
|
isValidDate: function (date) {
|
|
|
- let now = new Date().getTime()
|
|
|
+ let now = new Date(formatDate(new Date(), 'yyyy-MM-dd')).getTime()
|
|
|
let time = new Date(date).getTime()
|
|
|
return !time || (time >= now && time <= now + 1000 * 60 * 60 * 24 * 91)
|
|
|
},
|