diff --git a/src/views/financialManagement/arriveAndInvoicing/modules/PreComeModule.vue b/src/views/financialManagement/arriveAndInvoicing/modules/PreComeModule.vue index bd823ae..5b1a5d6 100644 --- a/src/views/financialManagement/arriveAndInvoicing/modules/PreComeModule.vue +++ b/src/views/financialManagement/arriveAndInvoicing/modules/PreComeModule.vue @@ -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