ソースを参照

更新 导出文件名

wzh 3 年 前
コミット
1a62514dbc
2 ファイル変更4 行追加3 行削除
  1. 3 3
      src/views/voyage/voyageDetail.vue
  2. 1 0
      src/views/voyage/voyageList.vue

+ 3 - 3
src/views/voyage/voyageDetail.vue

@@ -1428,7 +1428,7 @@ async function downloadExcel() {
   let res = await downloadBlobFile(
     `${url.baseurl}/voyage/exportExcel`,
     { voyageId: route.query.id },
-    "船舶跟踪表",
+    `${voyage.value.voyageName}-船舶跟踪表`,
     "post",
     "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"
   );
@@ -1442,7 +1442,7 @@ async function exportDischargeExcel() {
   let res = await downloadBlobFile(
     `${url.baseurl}/voyage/exportDischargeExcel`,
     { voyageId: route.query.id },
-    "卸货记录表",
+    `${voyage.value.voyageName}-卸货记录表`,
     "post",
     "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=utf-8"
   );
@@ -1497,7 +1497,7 @@ async function downloadBillZip() {
   let res = await downloadBlobFile(
     `${url.baseurl}/voyage/exportBillZip`,
     { voyageId: route.query.id },
-    "单据文件",
+    `${voyage.value.voyageName}-单据文件`,
     "post",
     "application/zip"
   );

+ 1 - 0
src/views/voyage/voyageList.vue

@@ -113,6 +113,7 @@
       v-model="exportModalVisable"
       :title="exportModalTitle"
       :close-on-click-modal="false"
+      @close="isLoadingZip = false"
       width="200px"
     >
       <div class="df aic jcsb">