From ddd7b9af964842f308530907dc009a289fdf9ce6 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期一, 09 六月 2025 17:22:06 +0800 Subject: [PATCH] 开票台账删除 --- src/views/procurementManagement/procurementLedger/index.vue | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/views/procurementManagement/procurementLedger/index.vue b/src/views/procurementManagement/procurementLedger/index.vue index 3431afd..86e9e86 100644 --- a/src/views/procurementManagement/procurementLedger/index.vue +++ b/src/views/procurementManagement/procurementLedger/index.vue @@ -280,7 +280,7 @@ addOrEditPurchase, delPurchase, getSalesNo, - purchaseList, + purchaseListPage, productList, getPurchaseById, getOptions } from "@/api/procurementManagement/procurementLedger.js"; const { proxy } = getCurrentInstance() @@ -296,7 +296,7 @@ const tableLoading = ref(false) const page = reactive({ current: 1, - size: 10, + size: 100, }) const total = ref(0) const fileList = ref([]) @@ -384,16 +384,16 @@ futureTickets: { noDecimal: true }, // 涓嶄繚鐣欏皬鏁� }); }; -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 - purchaseList({...searchForm.value, ...page}).then(res => { + purchaseListPage({...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