Browse Source

临时修改

zhongxiaoyu 2 years ago
parent
commit
044520659d

+ 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)