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