From 0186e6b9cc2e411ec16b7b56cfda9c822146a0f3 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期三, 21 五月 2025 16:33:16 +0800
Subject: [PATCH] 采购台账,来票登记折叠展示
---
src/views/procurementManagement/invoiceEntry/index.vue | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/views/procurementManagement/invoiceEntry/index.vue b/src/views/procurementManagement/invoiceEntry/index.vue
index 62aba8c..937dd54 100644
--- a/src/views/procurementManagement/invoiceEntry/index.vue
+++ b/src/views/procurementManagement/invoiceEntry/index.vue
@@ -240,10 +240,10 @@
if (expandedRows.length > 0) {
expandedRowKeys.value = []
try {
- productList({ salesLedgerId: row.purchaseLedgerId, type: 2 }).then(res => {
+ productList({ salesLedgerId: row.id, type: 2 }).then(res => {
const index = tableData.value.findIndex(item => item.id === row.id);
if (index > -1) {
- tableData.value[index].children = res.rows;
+ tableData.value[index].children = res;
}
expandedRowKeys.value.push(row.id)
})
--
Gitblit v1.9.3