From 48b65b8e1618852345d37674042b9923e1549080 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期六, 25 一月 2025 09:31:44 +0800
Subject: [PATCH] 最新版本541200007

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

diff --git a/admin/src/views/platform/LogisticsRecord/operation.vue b/admin/src/views/platform/LogisticsRecord/operation.vue
index ebb64e6..4dca807 100644
--- a/admin/src/views/platform/LogisticsRecord/operation.vue
+++ b/admin/src/views/platform/LogisticsRecord/operation.vue
@@ -150,7 +150,11 @@
         this.list.forEach(item => {
           item.inTypeTemp = item.inType == 0 ? '鏁存墭鐩�' : '浠剁儫'
           item.taskOrigin = 'WMS鑾峰彇'
-          item.workTime = dayjs.duration(item.workTime, 'seconds').format('H鏃秏鍒唖绉�');
+          if(item.workTime && item.workTime>=24*60*60 ){
+            item.workTime = dayjs.duration(item.workTime, 'seconds').format('D澶〩鏃秏鍒唖绉�');
+          }else{
+            item.workTime = dayjs.duration(item.workTime, 'seconds').format('H鏃秏鍒唖绉�');
+          }
         })
         this.pagination.total = res.total || 0
       }, () => {
@@ -169,11 +173,17 @@
       this.$dialog.exportConfirm('纭瀵煎嚭鍚楋紵')
         .then(() => {
           this.exLoading = true
+          const { filters } = this
           platformJobExport({
-            page: this.pagination.page,
-            capacity: 1000000,
-            jobType: '0',
-            model: this.filters
+            model: {
+              ...filters,
+              jobType: 0,
+              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: 10000,
+            page: 1,
           })
             .then(response => {
               this.download(response)

--
Gitblit v1.9.3