|
@@ -155,8 +155,10 @@ const tableFormatter: CommonTableFormatter = (
|
|
|
return execResult ? '通过' : '未通过'
|
|
|
}
|
|
|
const value = String(cellValue ?? '').trim()
|
|
|
+ if (column.property.includes('Time')) {
|
|
|
+ return datetimeToTime(value, flightDate as CommonValue)
|
|
|
+ }
|
|
|
if (
|
|
|
- column.property.includes('Time') ||
|
|
|
[
|
|
|
'tally',
|
|
|
'pull',
|
|
@@ -169,7 +171,13 @@ const tableFormatter: CommonTableFormatter = (
|
|
|
'pullSure',
|
|
|
].includes(column.property)
|
|
|
) {
|
|
|
- return datetimeToTime(value, flightDate as CommonValue)
|
|
|
+ const splitValue = value.split('_')
|
|
|
+ if (splitValue.length === 2) {
|
|
|
+ const [count, datetime] = splitValue
|
|
|
+ return `${count}\n${datetimeToTime(datetime, flightDate as CommonValue)}`
|
|
|
+ } else {
|
|
|
+ return datetimeToTime(value, flightDate as CommonValue)
|
|
|
+ }
|
|
|
}
|
|
|
if (column.property === 'nodeCode') {
|
|
|
if (props.name.includes('InternationalDeparture') && value === 'LS_CARGO') {
|