From 40fb18c5b3e679dee78b4124b20ac3933d1ecead Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Thu, 18 Jul 2024 11:58:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E6=9C=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TableFormAdjustment/src/TableFormAdjustment.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/TableFormAdjustment/src/TableFormAdjustment.vue b/src/components/TableFormAdjustment/src/TableFormAdjustment.vue index 0a9c01fbe..54b098584 100644 --- a/src/components/TableFormAdjustment/src/TableFormAdjustment.vue +++ b/src/components/TableFormAdjustment/src/TableFormAdjustment.vue @@ -177,8 +177,11 @@ const setTopHeaderData = ()=>{ width:100 }] + let year = dayjs(myData?.ttGenerateTime).year() + let month = dayjs(myData?.ttGenerateTime).month()+1 + let day = new Date(year,month,0).getDate() topTableData.value = [{ - name1:`截止${dayjs(myData?.ttGenerateTime).year()}年${dayjs(myData?.ttGenerateTime).month()}月${dayjs(myData?.ttGenerateTime).day()}日账面金额如下`, + name1:`截止${year}年${month}月${day}日账面金额如下`, price1:Number(myData?.ttAccountAp)+Number(myData?.ttAccountOthap), remark1:myData?.remark, name2:'截止年月日账面金额如下',