ll
liukangdong
2024-10-21 884eb00837d43c0954f45ffb63a5d262b90179a0
pda/pages/index/center.vue
@@ -32,9 +32,9 @@
               <view class="status" v-if="item.status == 4">叫号中 {{ item.callDateTemp }}</view>
               <view class="status scs" v-if="item.status == 5">已作业 {{ item.startDateTemp }}</view>
            </view>
            <view class="line" v-if="item.code">
            <view class="line" v-if="item.billCode">
               <text class="label">运输单号</text>
               <text class="value">{{ item.code }}</text>
               <text class="value">{{ item.billCode }}</text>
               <text class="primaryColor" @click="handleDetail(item)">运单详情</text>
            </view>
            <view class="line" v-else>
@@ -270,7 +270,7 @@
                     this.getPlatformTask()
                     this.timer = setInterval(() => {   
                        this.getPlatformTask()
                     },60 * 1000)
                     }, 60 * 1000)
                  }
               }
            })
@@ -312,13 +312,12 @@
            }
         },
         platConfirm(e) {
            const index = e.indexs[0]
            console.log(index);
            console.log(this.activePlatformGroup);
            const index = e.indexs[0]
            this.activePlatformGroup = this.platformGroupList[index]
            if (this.activePlatformGroup.platformList && this.activePlatformGroup.platformList.length > 0) {
               this.activePlatform = this.activePlatformGroup.platformList[0]
               this.getPlatformTask()
               clearInterval(this.timer)
               this.timer = setInterval(() => {
                  this.getPlatformTask()
               }, 60 * 1000)