| | |
| | | <text class="label">总运输量</text>
|
| | | <text class="value">{{ item.totalNum }}万支</text>
|
| | | </view>
|
| | | <view class="line" v-if="item.type != 4">
|
| | | <view class="line" v-if="item.carrierName">
|
| | | <text class="label">运输公司</text>
|
| | | <text class="value">{{ item.carrierName }}</text>
|
| | | </view>
|
| | |
| | | <text class="label">总运输量</text>
|
| | | <text class="value">{{ item.totalNum }}万支</text>
|
| | | </view>
|
| | | <view class="line" v-if="item.type != 4">
|
| | | <view class="line" v-if="item.carrierName">
|
| | | <text class="label">运输公司</text>
|
| | | <text class="value">{{ item.carrierName }}</text>
|
| | | </view>
|
| | |
| | | <view class="TransformModal">
|
| | | <view class="title">转移月台</view>
|
| | | <view class="transform_list">
|
| | | <view class="line" @click="transformPlatClick(item)" v-for="item in activePlatformGroup.platformList"
|
| | | <view class="line" @click="transformPlatClick(item)" v-for="item in TransferList"
|
| | | :key="item.id">
|
| | | <view class="name">{{ item.name }}</view>
|
| | | <view class="status" :class="{ green: item.workStatus == 1 }">({{ item.workStatus == 0 ? "空闲" : "作业中" }})
|
| | |
| | | callType: 1,
|
| | |
|
| | | transformPlatId: '', // 转移记录月台id
|
| | | transformId: '', // 转移记录任务id
|
| | | transformId: '', // 转移记录任务id |
| | | TransferList: [],
|
| | | wmsInfo: {}, |
| | | timer: null
|
| | | }
|
| | |
| | | // this.getPlatformGroup()
|
| | | // }, 1000 * 30)
|
| | | },
|
| | | methods: {
|
| | | methods: { |
| | | getTransferList() { |
| | | getPlatformWorkData({ |
| | | platformId: this.activePlatform.id |
| | | }).then(res => { |
| | | console.log('res.data', res.data); |
| | | if(res.data && res.data.platformJobList){ |
| | | this.TransferList = res.data.platformJobList |
| | | } |
| | | }) |
| | | },
|
| | | getPlatformGroup() {
|
| | | getPlatformGroupList({
|
| | | queryData: 1,
|
| | |
| | | }
|
| | | })
|
| | | },
|
| | | getPlatformTask() {
|
| | | getPlatformTask() { |
| | | uni.showLoading({title:"加载中..."})
|
| | | getPlatformWorkData({
|
| | | platformId: this.activePlatform.id
|
| | | }).then(res => {
|
| | | }).then(res => { |
| | | uni.hideLoading()
|
| | | this.platformTaskInfo = res.data
|
| | | this.circulInitTaskList()
|
| | | setInterval(() => {
|
| | | this.circulInitTaskList()
|
| | | }, 1000)
|
| | | }, () => { |
| | | uni.hideLoading() |
| | | })
|
| | | },
|
| | | circulInitTaskList() {
|
| | |
| | | activePlatform
|
| | | } = this
|
| | | this.transformId = item.id
|
| | | this.transformPlatId = activePlatform.id
|
| | | this.transformPlatId = activePlatform.id |
| | | this.getTransferList()
|
| | | this.showTransform = true
|
| | | },
|
| | | handleErr(item) {
|