From e03b2546f020327bf9fd414d8869a9ccd2270c2d Mon Sep 17 00:00:00 2001
From: 曹睿 <360930172@qq.com>
Date: 星期二, 17 六月 2025 17:31:14 +0800
Subject: [PATCH] Merge branch 'dev' of http://114.132.189.42:9002/r/product-inventory-management into dev

---
 src/views/procurementManagement/paymentHistory/index.vue |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/views/procurementManagement/paymentHistory/index.vue b/src/views/procurementManagement/paymentHistory/index.vue
index 842cace..13b5100 100644
--- a/src/views/procurementManagement/paymentHistory/index.vue
+++ b/src/views/procurementManagement/paymentHistory/index.vue
@@ -22,7 +22,7 @@
 import { ref } from 'vue'
 import { Search } from "@element-plus/icons-vue";
 import {
-  paymentHistoryList
+  paymentHistoryListPage
 } from "@/api/procurementManagement/paymentEntry.js";
 const { proxy } = getCurrentInstance()
 const isShowSummarySon = ref(true);
@@ -60,7 +60,7 @@
 const tableLoading = ref(false)
 const page = reactive({
   current: 1,
-  size: 10,
+  size: 100,
 })
 const total = ref(0)
 const data = reactive({
@@ -76,16 +76,16 @@
   page.current = 1
   getList()
 }
-const pagination = ({ current, limit }) => {
-  page.current = current;
-  page.size = limit;
+const pagination = (obj) => {
+  page.current = obj.page;
+  page.size = obj.limit;
   getList()
 }
 const getList = () => {
   tableLoading.value = true
-  paymentHistoryList({ ...searchForm.value, ...page }).then(res => {
+  paymentHistoryListPage({ ...searchForm.value, ...page }).then(res => {
     tableLoading.value = false
-    tableData.value = res.rows
+    tableData.value = res.records
     total.value = res.total
   })
 }

--
Gitblit v1.9.3