From 14f37814a441d795ae7a15dfe4b7be05aa49f96f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 23 一月 2025 16:30:28 +0800
Subject: [PATCH] 最新版本541200007

---
 admin/src/views/platform/LogisticsRecord/operation.vue |   20 +++++++++++++-------
 1 files changed, 13 insertions(+), 7 deletions(-)

diff --git a/admin/src/views/platform/LogisticsRecord/operation.vue b/admin/src/views/platform/LogisticsRecord/operation.vue
index 0c2d7f0..ebb64e6 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,8 @@
       <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 prop="createDate" label="鍒涘缓鏃堕棿" min-width="150" 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 +56,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,
@@ -82,7 +85,7 @@
       queryFormConfig: {
         formItems: [
         {
-            filed: 'code',
+            filed: 'billCode',
             type: 'input',
             label: '杩愬崟鍙�'
           },
@@ -105,7 +108,7 @@
           {
             type: 'slot',
             filed: 'fastdate',
-            label: ''
+            label: '浣滀笟鏃堕棿'
           }
         ],
         online: true
@@ -135,9 +138,10 @@
         model: {
           ...filters,
           jobType: '0',
-          beginWorkDateStart: filters.selDate && filters.selDate.length > 0 ? filters.selDate[0] : null,
-          beginWorkDateEnd: filters.selDate && filters.selDate.length > 0 ? filters.selDate[1] : null,
+          createDateStart: filters.selDate && filters.selDate.length > 0 ? filters.selDate[0] : null,
+          createDateEnd: filters.selDate && filters.selDate.length > 0 ? filters.selDate[1] : null,
         },
+        sorts: [{ direction: 'DESC', property: 'create_date' }],
         capacity: pagination.pageSize,
         page: page || pagination.page,
       }).then(res => {
@@ -146,6 +150,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
       }, () => {
@@ -200,6 +205,7 @@
     },
     handleSizeChange(capacity) {
       this.pagination.pageSize = capacity
+      this.getList()
     }
   }
 }
@@ -211,4 +217,4 @@
   color: #000000;
   margin-bottom: 15px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3