|
@@ -22,7 +22,7 @@
|
|
|
<div class="card_search">
|
|
|
<div class="card_logistics_tab">
|
|
|
<div class="title_logist center_in" :class="item.flag ? 'activate_card' :''"
|
|
|
- v-for="(item,index) in logisticsList" :key="index" @click="selective(item)">
|
|
|
+ v-for="(item,index) in logisticsData" :key="index" @click="selective(item)">
|
|
|
{{item.title}}
|
|
|
</div>
|
|
|
</div>
|
|
@@ -155,10 +155,20 @@
|
|
|
deviceType: false,
|
|
|
waybillBasic: {},
|
|
|
logisticsFlag: true,
|
|
|
+ logisticsData:[],
|
|
|
logisticsList: [{
|
|
|
id: 1,
|
|
|
flag: true,
|
|
|
title: '基本信息'
|
|
|
+ },{
|
|
|
+ id: 3,
|
|
|
+ flag: false,
|
|
|
+ title: '轨迹查询'
|
|
|
+ }],
|
|
|
+ logisticsList1: [{
|
|
|
+ id: 1,
|
|
|
+ flag: true,
|
|
|
+ title: '基本信息'
|
|
|
}, {
|
|
|
id: 2,
|
|
|
flag: false,
|
|
@@ -417,7 +427,7 @@
|
|
|
await this.getTaskLocus()
|
|
|
}
|
|
|
}
|
|
|
- this.logisticsList.forEach(item => {
|
|
|
+ this.logisticsData.forEach(item => {
|
|
|
if (event.id == item.id) {
|
|
|
item.flag = true
|
|
|
this.currentId = event.id
|