|
|
|
@ -5825,7 +5825,18 @@ export default { |
|
|
|
} |
|
|
|
return 'delay' |
|
|
|
}, |
|
|
|
isProofingFinishedForTrackingStatus (row) { |
|
|
|
if (!row || this.isBlankValue(row.proofingStatus)) { |
|
|
|
return false |
|
|
|
} |
|
|
|
const proofingStatus = String(row.proofingStatus).trim() |
|
|
|
// 打样已结束时,Tracking Status 统一收敛为灰色 Complete,避免继续显示进度预警。 |
|
|
|
return proofingStatus === '打样完成' || proofingStatus === '打样结束' |
|
|
|
}, |
|
|
|
getTrackingStatusText (row) { |
|
|
|
if (this.isProofingFinishedForTrackingStatus(row)) { |
|
|
|
return 'Complete' |
|
|
|
} |
|
|
|
const statusType = this.getTrackingStatusType(row) |
|
|
|
if (!statusType) { |
|
|
|
return '-' |
|
|
|
@ -5834,6 +5845,9 @@ export default { |
|
|
|
return `${statusPrefix}-${this.getFirstPendingProcessLabel(row)}` |
|
|
|
}, |
|
|
|
getTrackingStatusClass (row) { |
|
|
|
if (this.isProofingFinishedForTrackingStatus(row)) { |
|
|
|
return 'tracking-status tracking-status--complete' |
|
|
|
} |
|
|
|
const statusType = this.getTrackingStatusType(row) |
|
|
|
if (statusType === 'onSchedule') { |
|
|
|
return 'tracking-status tracking-status--on-schedule' |
|
|
|
@ -6156,6 +6170,11 @@ export default { |
|
|
|
background: #f4f4f5; |
|
|
|
} |
|
|
|
|
|
|
|
.tracking-status--complete { |
|
|
|
background: #f4f4f5; |
|
|
|
color: #909399; |
|
|
|
} |
|
|
|
|
|
|
|
.process-cell { |
|
|
|
background: #fff; |
|
|
|
min-height: 44px; |
|
|
|
|