From e508f0726a84b92af0b08c4ea03cf1ffb97ffc8a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期六, 28 三月 2026 15:25:25 +0800
Subject: [PATCH] fix(enterpriseInfo): 优化图片路径显示逻辑
---
src/views/salesManagement/invoiceRegistration/index.vue | 19 +++++++++++++++++++
1 files changed, 19 insertions(+), 0 deletions(-)
diff --git a/src/views/salesManagement/invoiceRegistration/index.vue b/src/views/salesManagement/invoiceRegistration/index.vue
index 9a2add4..7823098 100644
--- a/src/views/salesManagement/invoiceRegistration/index.vue
+++ b/src/views/salesManagement/invoiceRegistration/index.vue
@@ -36,15 +36,18 @@
<el-form-item>
<el-button type="primary" @click="handleQuery"> 鎼滅储 </el-button>
<el-button @click="resetForm"> 閲嶇疆 </el-button>
+ <el-button @click="handleExport" style="margin-right: 10px">瀵煎嚭</el-button>
</el-form-item>
</el-form>
</div>
<div class="table_list">
<div class="flex justify-between">
<div></div>
+ <div>
<el-button type="primary" @click="openForm" style="margin-bottom: 8px">
鏂板鐧昏
</el-button>
+ </div>
</div>
<el-table
:data="tableData"
@@ -434,6 +437,7 @@
searchForm: {
customerName: "",
status: false,
+ approvalStatus: 2,
customerContractNo: undefined, // 瀹㈡埛鍚堝悓鍙�
projectName: undefined, // 椤圭洰鍚嶇О
createUer: undefined, // 鐧昏浜�
@@ -599,6 +603,21 @@
});
};
+// 瀵煎嚭閿�鍞彴璐�
+const handleExport = () => {
+ ElMessageBox.confirm("閫変腑鐨勫唴瀹瑰皢琚鍑猴紝鏄惁纭瀵煎嚭锛�", "瀵煎嚭", {
+ confirmButtonText: "纭",
+ cancelButtonText: "鍙栨秷",
+ type: "warning",
+ })
+ .then(() => {
+ proxy.download("/sales/ledger/exportOne", { ...searchForm, ...page }, "寮�绁ㄧ櫥璁�.xlsx");
+ })
+ .catch(() => {
+ proxy.$modal.msg("宸插彇娑�");
+ });
+};
+
//鏈寮�绁ㄥけ鐒︽搷浣�
const invoiceNumBlur = (row) => {
if (!row.currentInvoiceNum) {
--
Gitblit v1.9.3