From 17efddc6a667670dca682bf36b51a43e99615e6d Mon Sep 17 00:00:00 2001 From: k94314517 <8417338+k94314517@user.noreply.gitee.com> Date: 星期三, 16 十月 2024 15:59:38 +0800 Subject: [PATCH] 代码初始化 --- admin/src/views/platform/LogisticsRecord/operation.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/admin/src/views/platform/LogisticsRecord/operation.vue b/admin/src/views/platform/LogisticsRecord/operation.vue index 0c2d7f0..95dd8c5 100644 --- a/admin/src/views/platform/LogisticsRecord/operation.vue +++ b/admin/src/views/platform/LogisticsRecord/operation.vue @@ -17,7 +17,7 @@ <el-button :loading="exLoading" @click="handleEx" v-permissions="['business:platformjob:exportExcel']">瀵煎嚭</el-button> </div> <el-table class="mb20" v-loading="loading" :data="list" stripe> - <el-table-column prop="code" label="杩愬崟鍙�" min-width="100" show-overflow-tooltip /> + <el-table-column prop="billCode" label="杩愬崟鍙�" min-width="100" show-overflow-tooltip /> <el-table-column prop="totalNum" label="鎬讳綔涓氶噺(涓囨敮)" min-width="100" show-overflow-tooltip /> <el-table-column prop="carCodeFront" label="杞︾墝鍓嶇収鍙�" min-width="100" show-overflow-tooltip /> <el-table-column prop="carCodeBack" label="杞︾墝鍚庣収鍙�" min-width="100" show-overflow-tooltip /> @@ -31,7 +31,7 @@ <el-table-column prop="startDate" label="浣滀笟寮�濮嬫椂闂�" min-width="150" show-overflow-tooltip /> <el-table-column prop="doneDate" label="浣滀笟瀹屾垚鏃堕棿" min-width="150" show-overflow-tooltip /> <el-table-column prop="workTime" label="浣滀笟鏃堕暱" min-width="100" show-overflow-tooltip /> - <el-table-column prop="platformName" label="鍙彿鏈堝彴" min-width="100" show-overflow-tooltip /> + <el-table-column prop="platformNames" label="鍙彿鏈堝彴" min-width="100" show-overflow-tooltip /> <el-table-column label="浣滀笟鎯呭喌" fixed="right" min-width="100" show-overflow-tooltip> <template v-slot="scope"> <span>{{ statusMap[scope.row.status] }}</span> @@ -55,6 +55,8 @@ import UploadFaceImg from '@/components/common/UploadFaceImg' import { Message } from 'element-ui' import dayjs from 'dayjs' +import duration from 'dayjs/plugin/duration' +dayjs.extend(duration); export default { components: { Pagination, @@ -146,6 +148,7 @@ this.list.forEach(item => { item.inTypeTemp = item.inType == 0 ? '鏁存墭鐩�' : '浠剁儫' item.taskOrigin = 'WMS鑾峰彇' + item.workTime = dayjs.duration(item.workTime, 'seconds').format('H鏃秏鍒唖绉�'); }) this.pagination.total = res.total || 0 }, () => { -- Gitblit v1.9.3