[update] - 确认来款日期默认显示当天

This commit is contained in:
fengchenchen
2022-06-10 16:47:37 +08:00
parent 4a609b9602
commit e188621f5e
@@ -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