From 4f2c8ee38607730ed7561cd814e26b91c6dd53f5 Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期二, 17 六月 2025 09:07:19 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/dev' into dev --- src/views/procurementManagement/invoiceEntry/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/procurementManagement/invoiceEntry/index.vue b/src/views/procurementManagement/invoiceEntry/index.vue index cce56ca..88ff50c 100644 --- a/src/views/procurementManagement/invoiceEntry/index.vue +++ b/src/views/procurementManagement/invoiceEntry/index.vue @@ -165,14 +165,14 @@ const tableLoading = ref(false) const page = reactive({ current: 1, - size: 10, + size: 100, }) const total = ref(0) const fileList = ref([]) import { addOrUpdateRegistration, delRegistration, - gePurchaseList, + gePurchaseListPage, getInfo, getProduct, getPurchaseNoById, @@ -213,16 +213,16 @@ page.current = 1 getList() } -const paginationChange = ({ current, limit }) => { - page.current = current; - page.size = limit; +const paginationChange = (obj) => { + page.current = obj.page; + page.size = obj.limit; getList() } const getList = () => { tableLoading.value = true - gePurchaseList({ ...searchForm.value, ...page }).then(res => { + gePurchaseListPage({ ...searchForm.value, ...page }).then(res => { tableLoading.value = false - tableData.value = res.rows + tableData.value = res.records; tableData.value.map(item => { item.children = [] }) -- Gitblit v1.9.3