소스 검색

中转航班视图节点修改

zhongxiaoyu 2 년 전
부모
커밋
457d522117
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/views/realTime/components/FlightView/ContainerWaybillDialog.vue

+ 5 - 1
src/views/realTime/components/FlightView/ContainerWaybillDialog.vue

@@ -182,7 +182,11 @@ const formatter: CommonTableFormatter = (row, column, cellValue, index) => {
     return datetimeToTime(value, flightDate.value)
   }
   if (column.property === 'nodeCode') {
-    if (props.name.includes('InternationalDeparture') && value === 'LS_CARGO') {
+    if (
+      props.name.includes('International') &&
+      props.name.includes('Departure') &&
+      value === 'LS_CARGO'
+    ) {
       return '实配'
     }
     return NODE_CODE[value] ?? value