master #3

Merged
bichangxiong merged 19 commits from master into prod 2025-08-29 18:46:27 +08:00
Showing only changes of commit 7db1f717e9 - Show all commits

View File

@@ -328,6 +328,9 @@ export const workforceDayDetailColumns: VxeGridProps['columns'] = [
width: 'auto', width: 'auto',
slots: { slots: {
default: ({ row }) => { default: ({ row }) => {
if (!row.shift) {
return '/';
}
if (row.shift.startTime && row.shift.endTime) { if (row.shift.startTime && row.shift.endTime) {
if (row.shift.restEndTime && row.shift.restStartTime) { if (row.shift.restEndTime && row.shift.restStartTime) {
return `${row.shift.startTime}${row.shift.endTime} ${row.shift.restStartTime}${row.shift.restEndTime}`; return `${row.shift.startTime}${row.shift.endTime} ${row.shift.restStartTime}${row.shift.restEndTime}`;