From 60977504246152d12e2b08640fb63545090d2054 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 12 二月 2026 13:28:55 +0800
Subject: [PATCH] 进销存升级 1.选择台账时,若未来票金额为0时,来票登记按钮置灰,来票结束的采购限制不能继续来票操作)还有台账存在多个产品,若其中一个产品不能继续来票操作,这种情况也需要让有关来票的输入框置灰
---
src/views/fileManagement/return/index.vue | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/views/fileManagement/return/index.vue b/src/views/fileManagement/return/index.vue
index cf21d5b..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"
@@ -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