| | |
| | | export function jobUrge (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/platformJob/jobUrge', data) |
| | | } |
| | | export function backToWatiSign (data) { |
| | | return request.post('/visitsAdmin/cloudService/business/platformJob/backToWatiSign', data) |
| | | } |
| | |
| | | <div class="content"> |
| | | <div class="item" v-for="item in info.wmsJobContractVOList"> |
| | | <div class="contract"> |
| | | <span>合同号:{{ item.contractCode }}</span> |
| | | <span>合同号:{{ item.contractCode || '-'}}</span> |
| | | <!-- <div> --> |
| | | <span class="scs" v-if="item.status == 1">WMS作业已完成</span> |
| | | <span class="pad" v-if="item.status == 0">WMS作业未完成</span> |
| | |
| | | <!-- </div> --> |
| | | </div> |
| | | <div class="placeholder6" v-if="info && info.type === 1">收货地:{{ item.address }}</div> |
| | | <div class="placeholder6" v-if="info && info.type !== 1 && item.platformWmsDetailList.length">发货地:{{ item.platformWmsDetailList[0].inRepertotyName || '' }}</div> |
| | | <div class="list"> |
| | | <div class="line" v-for="line in item.platformWmsDetailList"> |
| | | <div class="left"><span>物料名称:</span><span>{{ line.materialName }}</span></div> |
| | | <div class="right"><span>数量:</span><span>{{ line.ioQty }}万支</span></div> |
| | | <!-- |
| | | <div class="right" v-if="info && info.type === 0"><span>供应商:</span><span>{{ line.inRepertotyCode }} / {{ line.inRepertotyName }}</span></div> |
| | | --> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <span v-if="row.status == 7" class="primaryColor">转移中</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" align="center" width="200" fixed="right"> |
| | | <el-table-column label="操作" align="center" width="250" fixed="right"> |
| | | <template slot-scope="{ row }"> |
| | | <el-button v-if="row.billCode" type="text" @click="handleDetail(row)" |
| | | v-permissions="['business:company:update']">运单详情</el-button> |
| | | <el-button v-else type="text" @click="subDetail(row)">预约详情</el-button> |
| | | <el-button type="text" @click="jiaji(row.id)">加急</el-button> |
| | | <el-button type="text" class="red" @click="backSignin(row.id)">退回签到</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | |
| | | getPlatformGroupList, |
| | | platformLineUpPage, |
| | | getPlatformGroupWork, |
| | | jobUrge |
| | | jobUrge, |
| | | backToWatiSign |
| | | } from '@/api' |
| | | import { queryQueueUpConfig } from './config' |
| | | import WaybillDetail from './components/WaybillDetail.vue' |
| | |
| | | pagination: { |
| | | pageSize: 10, |
| | | page: 1, |
| | | total: 0, |
| | | total: 0 |
| | | }, |
| | | queryQueueUpConfig, |
| | | isShowDetail: false, // 运单详情 |
| | |
| | | }) |
| | | }).catch(() => { |
| | | |
| | | }); |
| | | // this.$dialog.exportConfirm('确认加急吗?', { |
| | | // confirmButtonText: '确定', |
| | | // cancelButtonText: '取消', |
| | | // }) |
| | | // .then(() => { |
| | | // jobUrge({ id }) |
| | | // .then(res => { |
| | | // this.getPlatGroupList() |
| | | // }) |
| | | // }) |
| | | // .catch(() => {}) |
| | | }) |
| | | }, |
| | | backSignin (id) { |
| | | this.$confirm('确认重新签到吗?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(() => { |
| | | backToWatiSign({ id }) |
| | | .then(res => { |
| | | this.getPlatGroupList() |
| | | }) |
| | | }).catch(() => { |
| | | }) |
| | | }, |
| | | getPlatGroupList() { |
| | | getPlatformGroupList({ |
| | |
| | | platformLineUpPage({ |
| | | model: { platformGroupId: activeGroup.id, ...filters, callType: 3 }, |
| | | capacity: pagination.pageSize, |
| | | page: pagination.page, |
| | | page: pagination.page |
| | | }).then(res => { |
| | | this.loading = false |
| | | this.dataList = res.records || [] |
| | |
| | | this.$refs.WaybillDetailRef.id = row.id |
| | | this.$refs.WaybillDetailRef.getDetail() |
| | | }) |
| | | }, |
| | | } |
| | | } |
| | | } |
| | | </script> |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | |
| | | .main_header { |
| | | .platgroup_tabs { |
| | |
| | | data |
| | | }) |
| | | } |
| | | |
| | | //加急 |
| | | export const jobUrge = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/web/pdaPlatform/jobUrge', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | //退回签到 |
| | | export const backToWatiSign = (data) => { |
| | | return http({ |
| | | url: 'visitsAdmin/cloudService/web/pdaPlatform/backToWatiSign', |
| | | method: 'post', |
| | | data |
| | | }) |
| | | } |
| | | |
| | | // 完成作业 |
| | | export const finishWork = (data) => { |
| | | return http({ |
| | |
| | | { |
| | | "name" : "月台调度", |
| | | "appid" : "__UNI__91B8BB7", |
| | | "appid" : "__UNI__5CB9224", |
| | | "description" : "", |
| | | "versionName" : "1.0.0", |
| | | "versionCode" : "100", |
| | |
| | | <template> |
| | | <view class="main_app"> |
| | | <view class="main_content"> |
| | | <view class="title" @click="showPlatformgroup = true" |
| | | >{{ platformGroup.name |
| | | }}<u-icon |
| | | <view class="title" @click="showPlatformgroup = true" >{{ platformGroup.name||''}} |
| | | <u-icon |
| | | name="arrow-down" |
| | | size="20" |
| | | class="ml12" |
| | | color="#999999" |
| | | ></u-icon |
| | | ></view> |
| | | ></u-icon> |
| | | </view> |
| | | <view class="input_wrap"> |
| | | <u-icon name="search" class="mr12" size="19" color="#999999" /> |
| | | <input |
| | |
| | | <text class="label primaryColor">签到时间</text> |
| | | <text class="value primaryColor" v-if="item.signDate">{{ item.signDate.slice(5, 16) }}</text> |
| | | </view> |
| | | <!-- <view class="btns"> |
| | | <view class="btn active">入园</view> |
| | | </view> --> |
| | | <view class="btns"> |
| | | <view class="btn active" @click="jiaji(item.id)">加急</view> |
| | | <view class="btn active1" @click="backSignin(item.id)">退回签到</view> |
| | | </view> |
| | | </view> |
| | | <view v-if="platformLineUpList.length == 0" class="empty_wrap"> |
| | | <image src="@/static/default_nodata@2x.png" /> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { platformLineUpPage, getPlatformGroupList, wmsJobDetail } from '@/api' |
| | | import { platformLineUpPage, getPlatformGroupList, wmsJobDetail,jobUrge,backToWatiSign } from '@/api' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | this.page = 1 |
| | | this.platformLineUpList = [] |
| | | this.getList() |
| | | }, |
| | | jiaji(id){ |
| | | uni.showModal({ |
| | | content: `确认加急吗?`, |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | jobUrge({ id:id }).then(res => { |
| | | this.showToast('加急成功') |
| | | this.handleQuery() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | backSignin(id){ |
| | | uni.showModal({ |
| | | content: `确认退回签到吗?该操作后司机需要重新签到!`, |
| | | success: (res) => { |
| | | if (res.confirm) { |
| | | backToWatiSign({ id:id }).then(res => { |
| | | this.showToast('退回签到成功') |
| | | this.handleQuery() |
| | | }) |
| | | } |
| | | } |
| | | }) |
| | | }, |
| | | platConfirm(e) { |
| | | const index = e.indexs[0] |
| | |
| | | border: 1rpx solid #999999; |
| | | margin-left: 20rpx; |
| | | } |
| | | .active1{ |
| | | width: 140rpx; |
| | | background-color: #cb0000; |
| | | color: #fff; |
| | | border-color: #cb0000; |
| | | } |
| | | .active { |
| | | background-color: $uni-color-primary; |
| | | color: #fff; |
| | |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("任务加急") |
| | | @PostMapping("/jobUrge") |
| | | @CloudRequiredPermission("business:platform:update") |
| | | public ApiResponse jobUrge (@RequestBody PlatformJob platformJob, @RequestHeader(Constants.HEADER_USER_TOKEN) String token){ |
| | | platformJobService.jobUrge(platformJob.getId(),getLoginUser(token)); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | |
| | | @ApiOperation("移除车辆排队队列(回到待签到)") |
| | | @PostMapping("/backToWatiSign") |
| | | @CloudRequiredPermission("business:platform:update") |
| | | public ApiResponse backToWatiSign (@RequestBody PlatformJob platformJob,@RequestHeader(Constants.HEADER_USER_TOKEN) String token) { |
| | | platformJobService.backToWatiSign(platformJob.getId(),getLoginUser(token)); |
| | | return ApiResponse.success("操作成功"); |
| | | } |
| | | @ApiOperation("转移月台") |
| | | @PostMapping("/platformMove") |
| | | @CloudRequiredPermission("business:platform:update") |