Browse Source

行李详情页-报文来源判断修改

zhongxiaoyu 1 year ago
parent
commit
59c1a5e996
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/newBagDetails/components/baggageMessage.vue

+ 2 - 2
src/views/newBagDetails/components/baggageMessage.vue

@@ -78,8 +78,8 @@ export default {
           messageDatas.map(item => {
             const { dataObjectId } = item
             const len = dataObjectId.length
-            const popNums = [206, 207, 208, 209, 210, 211, 212, 213].map(item => item.toString())
-            const target = dataObjectId.substr(len - 3, len)
+            const popNums = [206, 207, 208, 209, 210, 211, 212, 213, 214].map(item => item.toString())
+            const target = dataObjectId.substring(len - 3, len)
             const place = popNums.includes(target) ? '(广州)' : '(国航)'
             item.readTime = item.readTime.replace('T', ' ') + place
           })