shudonghui 1 年之前
父节点
当前提交
5f00eef350
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/work-hours/work-hours-manage/work-attendance/detail-dialog.vue

+ 2 - 2
src/views/work-hours/work-hours-manage/work-attendance/detail-dialog.vue

@@ -115,10 +115,10 @@
         }"
       >
         <template #signIn="{ col, row }">
-          {{ row.signInTime ? timestampFilter(row[col.colKey], 'tt') + row.signInAddress : '异常' }}
+          {{ row.signInTime ? timestampFilter(row[col.colKey], 'tt') + (row.signInAddress?row.signInAddress:'') : '异常' }}
         </template>
         <template #signOut="{ col, row }">
-          {{ row.signOutTime ? timestampFilter(row[col.colKey], 'tt') + row.signOutAddress : '异常' }}
+          {{ row.signOutTime ? timestampFilter(row[col.colKey], 'tt') + (row.signOutAddress?row.signOutAddress:'') : '异常' }}
         </template>
         <template #workHours="{ col, row }">
           {{ row.signOutTime && row.signInTime ? ((row.signOutTime - row.signInTime) / 1000 / 60 / 60).toFixed(2) : '' }}