bugfix: 修复日期为空时的问题
This commit is contained in:
parent
0e400727ec
commit
2c0203c7e8
@ -119,7 +119,7 @@ const showDataConfig = ref({
|
||||
{
|
||||
"label": "购置日期", "name": "gzrq",
|
||||
"value": (item) => {
|
||||
return formatDate(item.gzrq)
|
||||
return item.gzrq ? formatDate(item.gzrq) : ''
|
||||
}
|
||||
},
|
||||
{ "label": "购买费用(万元)", "name": "gmfy" },
|
||||
@ -143,7 +143,7 @@ const showDataConfig = ref({
|
||||
{
|
||||
"label": "上报时间",
|
||||
"value": (item) => {
|
||||
return formatDate(item.reportTime)
|
||||
return item.reportTime ? formatDate(item.reportTime) : ''
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user