From 612c77e7b76e803b7604e260c41f8843694315b1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 27 三月 2026 15:55:47 +0800
Subject: [PATCH] 军泰伟业 1.已发货数量等于总数量时,状态为已发货。已发货数量小于总数量时,状态建议新增发货中 2.产品清除工艺路线点击确定后,仍然回显绑定的工艺路线

---
 src/views/fileManagement/return/index.vue |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/views/fileManagement/return/index.vue b/src/views/fileManagement/return/index.vue
index 3c14dc5..34e733f 100644
--- a/src/views/fileManagement/return/index.vue
+++ b/src/views/fileManagement/return/index.vue
@@ -52,6 +52,9 @@
             <el-icon><Plus /></el-icon>
             鏂板褰掕繕
           </el-button>
+          <el-button @click="handleOut">
+            瀵煎嚭
+          </el-button>
           <el-button
             type="danger"
             @click="handleBatchDelete"
@@ -211,7 +214,7 @@
 const selectedRows = ref([]);
 const documentList = ref([]); // 鏂囨。鍒楄〃
 const borrowInfoList = ref([]); // 鍊熼槄淇℃伅鍒楄〃
-const scanContent = ref(''); // 鎵爜鍐呭
+const scanContent = ref(); // 鎵爜鍐呭
 
 // 鍒嗛〉鐩稿叧
 const pagination = reactive({
@@ -529,6 +532,21 @@
   });
 };
 
+// 瀵煎嚭
+const handleOut = () => {
+  ElMessageBox.confirm("閫変腑鐨勫唴瀹瑰皢琚鍑猴紝鏄惁纭瀵煎嚭锛�", "瀵煎嚭", {
+    confirmButtonText: "纭",
+    cancelButtonText: "鍙栨秷",
+    type: "warning",
+  })
+    .then(() => {
+      proxy.download("/documentationBorrowManagement/exportrevent", {}, "褰掕繕鐧昏.xlsx");
+    })
+    .catch(() => {
+      ElMessage.info("宸插彇娑�");
+    });
+};
+
 // 閫夋嫨鍙樺寲浜嬩欢
 const handleSelectionChange = (selection) => {
   selectedRows.value = selection;

--
Gitblit v1.9.3