[update] - 确认来款日期默认显示当天
This commit is contained in:
@@ -101,7 +101,9 @@ export default {
|
|||||||
if(this.isEdit) {
|
if(this.isEdit) {
|
||||||
this.edit(res.result[0])
|
this.edit(res.result[0])
|
||||||
} else {
|
} else {
|
||||||
this.edit({})
|
let currentDate = new Date()
|
||||||
|
let text = currentDate.getFullYear() + '-' + (currentDate.getMonth() + 1) + '-' + currentDate.getDate()
|
||||||
|
this.edit({paymentDate: text})
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.isEdit = false
|
this.isEdit = false
|
||||||
|
|||||||
Reference in New Issue
Block a user