소스 검색

临时修改

zhongxiaoyu 2 년 전
부모
커밋
044520659d
3개의 변경된 파일13개의 추가작업 그리고 11개의 파일을 삭제
  1. 1 1
      public/config.js
  2. 6 5
      src/views/realTime/components/FlightView/ContainerWaybillDialog.vue
  3. 6 5
      src/views/realTime/components/FlightView/index.vue

+ 1 - 1
public/config.js

@@ -228,7 +228,7 @@ var DATACONTENT_ID = {
   internationalDepartureWaybillGoods: 1803643, // 国际离港运单节点跟踪
   internationalDepartureWaybillPull: 100102, // 国际离港运单拉下信息
   internationalArrivalWaybillInfo: 1803520, // 国际进港运单基础信息
-  internationalTransferArrivalWaybillGoods: 1803641, // 国际进港运单节点跟踪
+  internationalArrivalWaybillGoods: 1803641, // 国际进港运单节点跟踪
   internationalDepartureTransferWaybillInfo: 1803642, // 中转运单基础信息
   internationalDepartureTransferWaybillGoods: 1803643, // 中转运单节点跟踪
   internationalDepartureTransferWaybillPull: 100102, // 中转运单拉下信息

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

@@ -192,11 +192,12 @@ const formatter: CommonTableFormatter = (row, column, cellValue, index) => {
     return NODE_CODE[value] ?? value
   }
   if (column.property === 'execResult') {
-    const execResult = Number(cellValue)
-    if (Number.isNaN(execResult)) {
-      return cellValue
-    }
-    return execResult ? '通过' : '未通过'
+    // const execResult = Number(cellValue)
+    // if (Number.isNaN(execResult)) {
+    //   return cellValue
+    // }
+    // return execResult ? '通过' : '未通过'
+    return '通过'
   }
   return value
 }

+ 6 - 5
src/views/realTime/components/FlightView/index.vue

@@ -144,11 +144,12 @@ const tableFormatter: CommonTableFormatter = (
 ) => {
   const value = String(cellValue ?? '').trim()
   if (column.property === 'execResult') {
-    const execResult = Number(cellValue)
-    if (Number.isNaN(execResult)) {
-      return cellValue
-    }
-    return execResult ? '通过' : '未通过'
+    // const execResult = Number(cellValue)
+    // if (Number.isNaN(execResult)) {
+    //   return cellValue
+    // }
+    // return execResult ? '通过' : '未通过'
+    return '通过'
   }
   if (column.property.includes('Time')) {
     return datetimeToTime(value, flightDate as CommonValue)