From e188621f5ec1fb944a33fc2289d1ff3e210c93ad Mon Sep 17 00:00:00 2001 From: fengchenchen Date: Fri, 10 Jun 2022 16:47:37 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20-=20=E7=A1=AE=E8=AE=A4=E6=9D=A5?= =?UTF-8?q?=E6=AC=BE=E6=97=A5=E6=9C=9F=E9=BB=98=E8=AE=A4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=BD=93=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../arriveAndInvoicing/modules/PreComeModule.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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