Browse Source

日期

hella_online_20240829
wangyufei 4 months ago
parent
commit
40fb18c5b3
  1. 5
      src/components/TableFormAdjustment/src/TableFormAdjustment.vue

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

Loading…
Cancel
Save