fix(appointments): unify calendar layout and cabinet numbers
This commit is contained in:
@@ -313,7 +313,7 @@ function localDateTimeValue() {
|
||||
return now.toISOString().slice(0, 19)
|
||||
}
|
||||
function containerViewLabel(row: ContainerBookingResource) {
|
||||
const reference = [row.cabinetNo, row.containerNo, row.bookingNo]
|
||||
const reference = [row.cabinetNo, row.containerNo]
|
||||
.find((value) => typeof value === 'string' && value.trim())
|
||||
return reference ? `查看 ${reference}` : '查看货柜详情'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user