fix display check out time
This commit is contained in:
parent
46850a1fb5
commit
c0d26d9cf7
1 changed files with 6 additions and 0 deletions
|
|
@ -104,6 +104,9 @@ const columns = ref<QTableProps['columns']>(
|
|||
field: 'checkOutTime',
|
||||
headerStyle: 'font-size: 14px',
|
||||
style: 'font-size: 14px; width:15%;',
|
||||
format: (val: string, row: DataCheckIn) => {
|
||||
return row.checkOutStatus != '-' && val ? val : '-'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'checkOutLocation',
|
||||
|
|
@ -160,6 +163,9 @@ const columns = ref<QTableProps['columns']>(
|
|||
field: 'checkOutTime',
|
||||
headerStyle: 'font-size: 14px',
|
||||
style: 'font-size: 14px; width:15%;',
|
||||
format: (val: string, row: DataCheckIn) => {
|
||||
return row.checkOutStatus != '-' && val ? val : '-'
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'checkOutLocation',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue