From 7b55161a4e29e548fef5d92e19bf7c052cf59c5f Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 13 一月 2026 09:35:57 +0800
Subject: [PATCH] 双奇点 1.销售台账和仓储物理添加美元字段
---
src/views/inventoryManagement/receiptManagement/index.vue | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 16af5cd..2499e58 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -107,6 +107,7 @@
<el-table-column label="鍏ュ簱鏁伴噺/浠�" prop="inboundNum" width="100" show-overflow-tooltip />
<el-table-column label="姣忎欢鏁伴噺/鏀�" prop="boxNum" width="100" show-overflow-tooltip />
<el-table-column label="鍗曚环(鍏�)/浠�" prop="taxInclusiveUnitPrice" width="150"></el-table-column>
+ <el-table-column label="鍗曚环(缇庡厓)/浠�" prop="dollarPrice" width="150"></el-table-column>
<el-table-column label="绾哥瑙勬牸" prop="cartonSpecifications" width="150"></el-table-column>
<el-table-column label="鍏ュ簱浜�" prop="createBy" width="150" show-overflow-tooltip />
<el-table-column fixed="right" label="鎿嶄綔" width="100" align="center">
@@ -388,7 +389,13 @@
} else if (activeTab.value === 'manual') {
exportUrl = "/stockin/exportTwo"
}
- proxy.download(exportUrl, {}, '鍏ュ簱鍙拌处.xlsx')
+ // 濡傛灉鏈夐�変腑鏁版嵁锛屼紶閫掗�変腑鐨勬暟鎹瓧娈电敤receiptManagement锛屽惁鍒欎紶閫掔┖鏁扮粍
+ const customStorage = selectedRows.value.length > 0 ? selectedRows.value : []
+ // 浣跨敤 JSON 鏍煎紡浼犻�掓暟鎹�
+ proxy.download(exportUrl, customStorage, '鍏ュ簱鍙拌处.xlsx', {
+ headers: { 'Content-Type': 'application/json' },
+ transformRequest: [(data) => JSON.stringify(data)]
+ })
}).catch(() => {
proxy.$modal.msg("宸插彇娑�")
})
--
Gitblit v1.9.3