From b35a46c502f4bcc22c75e9e3c7fd29af5b98d84b Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 05 三月 2025 16:06:54 +0800
Subject: [PATCH] 代码初始化

---
 admin/src/views/platform/LogisticsRecord/waybill.vue |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/admin/src/views/platform/LogisticsRecord/waybill.vue b/admin/src/views/platform/LogisticsRecord/waybill.vue
index c4d2c55..8888613 100644
--- a/admin/src/views/platform/LogisticsRecord/waybill.vue
+++ b/admin/src/views/platform/LogisticsRecord/waybill.vue
@@ -190,7 +190,7 @@
       })
     },
     handleDel(row) {
-      this.$dialog.exportConfirm('纭鍒犻櫎鍚楋紵').then(() => {
+      this.$dialog.deleteConfirm('纭鍒犻櫎鍚楋紵').then(() => {
         platformJobDel(row.id).then(res => {
           Message.success('鍒犻櫎鎴愬姛')
           this.getList()
@@ -201,11 +201,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,
+            }
           })
             .then(response => {
               this.download(response)
@@ -222,9 +228,9 @@
       this.pagination.page = 1
       this.filters = {
         selDate: [],
-        fastdate: 0
       }
-      this.changeRadio('0')
+      this.getList()
+      // this.changeRadio('0')
     },
     handleDetail(row) {
       this.isShowDetail = true

--
Gitblit v1.9.3