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:'截止年月日账面金额如下',