From 3f15d0eef89e52f3fd6d1be13ff3af010b6f0ee9 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 05 十一月 2025 15:27:44 +0800
Subject: [PATCH] 录入日期改为可选择
---
src/views/procurementManagement/procurementInvoiceLedger/index.vue | 17 +++++++++--------
1 files changed, 9 insertions(+), 8 deletions(-)
diff --git a/src/views/procurementManagement/procurementInvoiceLedger/index.vue b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
index 3ac73e5..439837b 100644
--- a/src/views/procurementManagement/procurementInvoiceLedger/index.vue
+++ b/src/views/procurementManagement/procurementInvoiceLedger/index.vue
@@ -47,13 +47,13 @@
:tableLoading="loading"
:tableData="dataList"
:isSelection="true"
- height="calc(100vh - 15em)"
+ height="calc(100vh - 19.5em)"
:isShowSummary="true"
:summaryMethod="summarizeMainTable"
:page="{
current: pagination.currentPage,
size: pagination.pageSize,
- total: 0,
+ total: pagination.total,
}"
@selection-change="handleSelectionChange"
@pagination="changePage"
@@ -81,7 +81,7 @@
<el-button
type="primary"
text
- @click="openEdit(row.id)"
+ @click="openEdit(row)"
:disabled="row.issUerId !== userStore.id"
>
缂栬緫
@@ -162,8 +162,8 @@
width: 150,
},
{
- label: "瀹㈡埛鍚嶇О",
- prop: "customerName",
+ label: "椤圭洰鍚嶇О",
+ prop: "projectName",
width: 240,
},
{
@@ -289,8 +289,9 @@
});
};
-const changePage = ({ page }) => {
+const changePage = ({ page, limit }) => {
pagination.currentPage = page;
+ pagination.pageSize = limit;
onCurrentChange(page);
};
@@ -310,8 +311,8 @@
modalRef.value.handleImport(id);
};
-const openEdit = (id) => {
- editmodalRef.value.open(id);
+const openEdit = (row) => {
+ editmodalRef.value.open(row);
};
// 涓婁紶鎴愬姛鍚庡仛浠�涔�
--
Gitblit v1.9.3